Skip to content

ci(release): hint at crates left out of a proposal affected by its major bumps - #2391

Draft
iunanua wants to merge 1 commit into
igor/versioning/proposal-wf-cleanupfrom
igor/versioning/proposal-wf-hints
Draft

ci(release): hint at crates left out of a proposal affected by its major bumps#2391
iunanua wants to merge 1 commit into
igor/versioning/proposal-wf-cleanupfrom
igor/versioning/proposal-wf-hints

Conversation

@iunanua

@iunanua iunanua commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

Release candidates only come from publication-order.sh, which walks downward: the selected crates plus the libdd-* crates they depend on. Dependents outside that closure are never candidates, yet cargo release version still rewrites their dependency requirement to the new major. Their published version keeps requiring the old major, and their next proposal is force-bumped to major by major-bumps-level.sh with nothing having said so at the time.

Report those crates, grouped by the major-bumped dependency, in the job log, the step summary and the proposal PR body. A crate is reported when it has a direct (non-dev, non-build) dependency on a crate released here at level major whose requirement now names the new major, which is the same extraction rule major-bumps-level.sh applies, so a hint cannot disagree with the audit that runs next time.

The step is informational.

…jor bumps

Release candidates only come from publication-order.sh, which walks downward:
the selected crates plus the libdd-* crates they depend on. Dependents outside
that closure are never candidates, yet `cargo release version` still rewrites
their dependency requirement to the new major. Their published version keeps
requiring the old major, and their next proposal is force-bumped to major by
major-bumps-level.sh with nothing having said so at the time.

Report those crates, grouped by the major-bumped dependency, in the job log,
the step summary and the proposal PR body. A crate is reported when it has a
direct (non-dev, non-build) dependency on a crate released here at level major
whose requirement now names the new major, which is the same extraction rule
major-bumps-level.sh applies, so a hint cannot disagree with the audit that
runs next time.

The step is informational: it never touches the tree, always exits 0, and
carries continue-on-error so a bug in the hints cannot fail a run whose
version bumps are already committed. When nothing is affected the markdown
file is empty and the PR body is unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@datadog-official

datadog-official Bot commented Aug 21, 2026

Copy link
Copy Markdown

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 76.50% (+0.00%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 51600cc | Docs | View more details | Give us feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant