Skip to content

ci(py): add daily newest-deps canary and per-major Dependabot PRs - #152

Closed
huangjeff5 wants to merge 2 commits into
fix/py-dep-bounds-and-floorsfrom
chore/py-dep-hygiene
Closed

huangjeff5 wants to merge 2 commits into
fix/py-dep-bounds-and-floorsfrom
chore/py-dep-hygiene

Conversation

@huangjeff5

@huangjeff5 huangjeff5 commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Part 4 of 4 in the dependency hygiene stack: #153 -> #154 -> #156 -> #152.

Adds a daily canary workflow against the newest versions allowed by our published bounds and configures Dependabot to open one PR per major bump instead of ignoring majors.

# --- BEFORE (.github/dependabot.yml) ---
# Semver majors were ignored -> caps went stale (openai <3, mcp <2, google-genai <3)
# and uncapped upstream releases broke fresh `pip install` runs silently between lock bumps.

# --- AFTER ---
# 1. Dependabot opens one PR per major (grouping lockstep families like opentelemetry-* and boto3/botocore):
#    green PR = widen cap & ship; red PR = migration ticket while cap protects users.
# 2. Daily python-deps-canary workflow tests newest allowed versions and tracks failures in one issue.

Main Changes

  • One Dependabot PR per major bump (with lockstep family groups): Previously, dependabot.yml ignored version-update:semver-major, letting upper bounds go stale without visibility. Removing the ignore rule gives each major its own PR so one breaking major never blocks unrelated updates, while opentelemetry-* and boto3 + botocore stay grouped so coupled majors can resolve together.
  • Daily python-deps-canary workflow: PRs shouldn't fail randomly when an upstream dependency publishes a buggy release mid-day, yet we still need fast signal when fresh pip install resolutions break. python-deps-canary.yml runs daily against the newest versions our specifiers allow, opens or updates a single py-deps-canary issue while red, and auto-closes it once green.
  • Updated docs/dependencies.md triage playbook: Adds review checklists for floor-only vs. capped vs. contract major PRs and canary failure handling.

@huangjeff5 huangjeff5 changed the title chore(py): dependency bounds policy, floor/newest CI, Dependabot major grouping ci(py): add daily newest-deps canary and per-major Dependabot PRs Nov 19, 2026
@huangjeff5
huangjeff5 changed the base branch from main to fix/py-dep-bounds-and-floors November 19, 2026 01:20
@huangjeff5
huangjeff5 added this pull request to stack #155 November 19, 2026 01:35
@huangjeff5

Copy link
Copy Markdown
Collaborator Author

Split into a 4-PR stack for cleaner review: #153 -> #154 -> #156 -> #157.

@huangjeff5 huangjeff5 closed this Nov 19, 2026
@huangjeff5
huangjeff5 removed this pull request from stack #155 November 19, 2026 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant