Repository navigation
SCA-343: make no-changelog-needed survive the merge boundary - #11797
Merged
Merged
Conversation
The PR label greened PRs and then reddened main because push runs cannot see labels. Require an in-repo kind:none fragment for internal production desktop edits so both lanes agree. Failure-Class: FC-changelog-exemption-lost-at-merge Co-authored-by: Cursor <[email protected]> Co-authored-by: multica-agent <[email protected]>
…starts A 0.5s sleep raced the second process on a loaded host, so the overlap contract passed or failed by scheduling luck. Co-authored-by: Cursor <[email protected]> Co-authored-by: multica-agent <[email protected]>
…r attaches The 0.5s sleep let both children finish before they overlapped, so the counter recorded two executions on a loaded host. Co-authored-by: Cursor <[email protected]> Co-authored-by: multica-agent <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes SCA-343.
The
no-changelog-neededPR label greened the desktop changelog gate and then reddened main's Release Eligibility run, because push has no PR context. That is a trap: a green PR can poison a main SHA and blockgcp_backend.ymldeploys. Live instance: #11778. Same class as #11373 and #11039.Approach taken: (2) + (3)
In-repo
{"kind": "none"}fragment as the durable internal exemption, and reject the label as an exemption for production desktop paths.{"kind": "none"}satisfies both the PR-run and the post-merge push-run. It lives in the diff, so both lanes see the same evidence.--skip/no-changelog-neededno longer passes when the diff touches production desktop paths. The PR-run and push-run therefore agree on the SCA-335: remove dead focus_sessions writer and PTT transcript cleanup #11778 shape (both fail without a fragment; both pass withkind: none).kind: nonefragments do not satisfy release-lane--accept-tree-fragments. That lane still requires real user-facing notes for the next release.kind: noneso it never becomes a user-facing changelog line.Why the others were rejected
make preflight/ pre-push.The invariant: a PR that is green on this gate cannot redden
mainon the same gate.Product invariants affected
none
Failure class (fixes)
Failure-Class: new
Registers
FC-changelog-exemption-lost-at-mergewith a reusable guard:evaluate_changelog_requirement()plus the #11778 regression in.github/scripts/test_desktop_changelog.py. Evidence PRs: #11039, #11373, #11778.Authors
Internal-only production desktop edits (for example dead-code deletion under
Desktop/Sources/) now need:{"kind": "none"}under
desktop/macos/changelog/unreleased/. Theno-changelog-neededlabel is not an exemption. Documented indesktop/macos/AGENTS.md.Test plan
python3 .github/scripts/test_desktop_changelog.py— 16 tests, including the SCA-335: remove dead focus_sessions writer and PTT transcript cleanup #11778 PR-vs-push agreement casespython3 .github/scripts/desktop-changelog.py validatepython3 scripts/test_failure_class.pyscripts/pr-preflight --pr-body-file pr-body.mddesktop-changelog-io-testsanddesktop-changelog-entryon this PR--accept-tree-fragments)