Repository navigation
feat: implement issue #1297 — Synced stubs in ring repos carry a header naming v1-stable above a uses: line pinned to their ring — bots flag it and agents edit the stub to match #1298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
don-petry
wants to merge
87
commits into
main
Choose a base branch
from
dev-lead/issue-1297-20261011-0422
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
87 commits
Select commit
Hold shift + click to select a range
4f880bf
feat: implement issue #1297 — Synced stubs in ring repos carry a head…
don-petry 83a1175
fix(reviews): sweep treats stale stable-channel header as drift
don-petry 70ed8af
fix(reviews): migrate stale stable headers in place, stable-tier exem…
don-petry b6f3d24
test: validate sweep flags and fixes stale stable-channel headers in …
don-petry 4bb767a
fix(reviews): replace whole legacy stub header; exempt idea engines f…
don-petry 3fbd2c9
test: verify sweep processes all ring-managed stubs with stale headers
don-petry 506ded3
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 4b57d18
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 4c421b5
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 0f414c9
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 572180f
fix: stub_has_stale_stable_header must be tier-aware to prevent contr…
don-petry c638177
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 1f70096
fix(reviews): strip stale stable-channel comment blocks in stub body,…
don-petry 03b5dd3
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 3f0de8a
fix(reviews): exempt present-only callers from repo-template full-bod…
don-petry f47c49c
fix(bot): revert stub header changes — templates are read-only synced…
don-petry d6d2d69
fix(reviews): render ring headers tier-neutral from stable-wording te…
don-petry 666b6d9
test(reviews): render ring fixtures via ring_repin_uses so headers ar…
don-petry a294cb9
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry d7ec4f4
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 1eea28d
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry ec25264
Merge main (org renamed to combsmith) into dev-lead/issue-1297-202610…
don-petry 348aae4
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 01f4602
fix: remove outer quotes from neutral array expansion in ring_repin_uses
don-petry 63444b5
fix(reviews): pass only the ref token to ring_repin_uses in dry-run s…
don-petry 4708ee3
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 9842d6f
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 9051276
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 8e71eb3
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 3ed50a2
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry dd65220
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 2269059
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 767380b
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 9bee24c
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry b2366d9
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry ad33b1b
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 49d3107
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 97df195
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry a7e67e7
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry e6653a6
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 8411623
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry b150f8d
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 1cbfb3a
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 226791d
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 23a89c7
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 59ad365
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 614897d
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry c569f00
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 15401e4
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 2fd8350
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 42d5aea
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 251e8d4
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry d350b82
fix(bot): address CodeRabbit pre-merge check findings for issue #1297
don-petry 9687135
fix(reviews): drop tests for the removed present-only idea-workflow f…
don-petry 33e11de
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry cc34cdd
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 19a0d27
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 2d310e8
fix(reviews): require guarded-surface compliance before preserving ex…
don-petry ecc885f
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 5b6441a
fix(reviews): require inherited secrets before preserving a stale-hea…
don-petry 9fb6c47
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 896d6b1
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 7397320
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry daeb3f0
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 2b7fbc3
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 6e6ec52
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 5aa7eb8
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 1d901df
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 733dee0
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry bf5db64
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 34de3ae
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry d6f03b6
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 2ec585c
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry ec622f6
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 624075c
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry ffa191c
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 5380df9
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 883850e
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry d253e02
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry da25d6e
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 6bf01d1
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry fe15121
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 2905eda
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry ff92d2c
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 559f713
fix(reviews): test stale-header migration keeps customized body
don-petry 0c7fb3b
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry 5bdb7c6
Merge branch 'main' into dev-lead/issue-1297-20261011-0422
don-petry File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
strip_stale_stable_headerdeletes body comment blocks instead of rendering them tier-neutral likering_repin_usesWhen
strip_stale_stable_headerruns with a<template>, theBEGINblock rewrites<base>/(v[0-9]+-)?stableand<base> stable channelto<base>/<tier>in the header (matchingring_repin_uses), but line 666 (body && /^[[:space:]]*#/) marks the entire consecutive comment block asstale = 1and drops all of its lines (if (!stale) printf "%s", blk).For example, in
standards/workflows/dev-lead.yml(lines 59–63), the 5-line explanation block underjobs.dev-leadstarts with# Pinned to the moving dev-lead stable channel tag, not @main...: a fresh/template deploy viaring_repin_usespreserves that comment block withdev-lead/<tier> channel, whereas an in-place header migration viastrip_stale_stable_headerdeletes the entire 5-line block. Applying the same twogsub(...)replacements to body comment lines instead of droppingblkkeeps in-place migrations consistent withring_repin_uses.Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not applied: rendering body comment lines tier-neutral (as
ring_repin_usesdoes) conflicts with the existing bats test "strip_stale_stable_header with a template also drops a stale comment block under jobs" (test/scripts/deploy-standard-workflows/stub-header-tier-neutral.bats). That test deliberately asserts the legacy block (cannot gate) is dropped, and a bot suggestion is not grounds to rewrite it. I prototyped the change instrip_stale_stable_headerand that test was the only one that failed, so I reverted it. Leaving this open for a maintainer to decide whether the intended behavior is drop or rewrite. If rewrite, the test needs aTest-Change-Justification.