Repository navigation
fix(autonomy): keep the lane-stop-gate arm record for 31 days from one constant - #18130
melodic-automation-lanes[bot] merged 3 commits into
Conversation
Lane-Activity: work-resolve-issue/resolve-issue
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues found. This review covers only what changed since What changed and what I checked:
critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only): PR #18130,
|
|
Unattended merge: native auto-merge leaves this pull request unarmed at head |
Lane run report
Run 44996953966, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane-Activity: pr-unblock/address-feedback Lane-Thread: PRRT_kwDOTCGFQM66gl6p Lane-Thread: PRRT_kwDOTCGFQM66gl6q
Lane run report
Run 44996953966, attempt 1
Failed GitHub API calls
|
|
pr-unblock / address-feedback finished round 1 of max 4 on b852616. |
Lane run report
Run 44996953966, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44989936952, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44993965374, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
Lane run report
Run 44993965374, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18130 -f activity=fix-ci |
Lane run report
Run 44996953966, attempt 1
Failed GitHub API callsNo failed call recorded by the run job's scripts. |
…table date stamping The plugin contract validator bars the org name anywhere under the autonomy plugin, so the two comments that linked the plugin README now link the upstream 30-day /loop expiry (Claude Code 2.1.330 changelog) that the 31-day TTL outlasts. The test's file-aging helper formats its touch -t stamp with the bash printf %()T builtin in place of GNU date -d, which the shell portability lint rejects. No test count changes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtUnz4WHB5auUnwQYq7
|
The unattended merge path is about to arm native auto-merge at head |
|
Merge-Risk: max=MEDIUM demote=false head=e5b5ab47a13ee4dde58178c8e2c38223b0903d8f rubric=10.7.0 rater=claude-opus-5-5 checker=claude-opus-5-5 |
|
pr-unblock / address-feedback finished round 2 of max 4 on e5b5ab4. |
|
The pr-unblock lane stopped
When a retry on this head can change the outcome, the lane runs one on its own, up to its per-head cap, and edits this comment if it stops again; a run that does not stop clears the status. When no retry can (a review thread the lane does not take or settle, or a failing check after the retries are spent), a person resolves the threads or gets the checks green, then dispatches the workflow below: that run finds the cause gone and clears the status. On a pull request the lanes App opened, the dispatchers start that run once per stop; on any other, a person does. A new commit to the branch starts clean. To run it again on this head now, dispatch the gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=18130 -f activity=address-feedback |
Post-merge mutation testingKilled 2, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Surviving mutants
The run's summary has the full report. |
Closes #17834
Summary
Opened by the work-resolve-issue lane. The run's own summary:
Not verified
_LANE_STOP_GATE_LIB_LOADEDfrom the environment. A repo env block that sets it would make the lib return early, and the gate would then abort under set -u and allow the stop. The gate is…Fix
readonly GATE_ARM_TTL_DAYS=31besideGATE_ARM_ID_RE, with a SC2034 shellcheck directive because only the two sourcing scripts read it. A comment above it gives the 31-day lifetime, names both readers (the gate's TTL check and the arm helper'sfind -mtimesweep), and links the README lane-stop-gate section.GATE_ARM_TTL_SECONDS=$((GATE_ARM_TTL_DAYS * 86400))replaces the literal7 * 86400. The header comment now says the arm record is retired by its 31-day TTL, namesGATE_ARM_TTL_DAYSin lane-stop-gate-lib.sh, and links the same README section.find "$DIR" -type f -mtime +"$GATE_ARM_TTL_DAYS" -delete, replacing-mtime +7touch -twith GNUdate -dor BSDdate -r. It then runs the arm helper and asserts that the 8-day file is kept and the 32-day file is deleted. Reverting the sweep to-mtime +7, or dropping it, now fails the suite.Verification
The runner ran each check from the base copy against 8484f08:
The run reports:
Left out: the items under Not verified. The review round has since added the 31-day header comment and the mtime sweep test that two of those items name.
Related
#17834