Skip to content

refactor(ci): simplify the check-trusted-base, check-signed-commits and check-born-triaged actions - #14194

Merged
kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-14094-42508818096-1
Nov 8, 2026
Merged

kyle-sexton merged 3 commits into
mainfrom
work-resolve-issue/issue-14094-42508818096-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #14094

Summary

Opened by the work-resolve-issue lane. The run's own summary:

The check-trusted-base run script no longer repeats the default-tip resolution, checkout and output for issues events: the issues branch now only enforces default-tip and falls through to the shared tail, which prints the same event=issues suffix. check-signed-commits.mjs uses node:timers/promises setTimeout as its default sleep, gives compareSince an early return for a non-array commit list, flattens laneCommits into guard clauses and drops a redundant destructure. check-born-triaged's action description is rewrapped. Every output, exit code, printed line and exported name is unchanged. I made no edit to check-kill-switch (action.yml and .mjs) or to check-born-triaged.mjs: they were already minimal, and the only candidate, replacing check-born-triaged's local writeOutputs with check-kill-switch's export, is cross-file deduping, which the issue puts out of scope.

Not verified

  • Node test suites (check-signed-commits.test.mjs, check-trusted-base.test.mjs, check-born-triaged.test.mjs) were not run here, because this lane runs no interpreter; left to the PR's CI
  • tidy skipped: every changed file is under .github/, which is a listed shared path
  • ci-status green is a PR CI check; left to the PR's CI
  • The working tree also shows untracked files this run did not create (.bash_profile, .bashrc, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc), probably from the runner environment; they are not part of this change

Fix

  • .github/actions/check-trusted-base/action.yml: the issues-event branch sets an event=issues suffix and falls through to the shared default-tip resolution, checkout and output, instead of carrying its own copy; the PR checks move into the else branch.
  • .github/actions/check-signed-commits/check-signed-commits.mjs: the default sleep comes from node:timers/promises; compareSince returns early on a non-array commit list; laneCommits uses guard clauses; the redundant const { commits } = lane is gone and short expressions are joined onto one line.
  • .github/actions/check-born-triaged/action.yml: the over-long description line is rewrapped (it is a folded scalar, so the string is unchanged).

Verification

The runner ran each check from the base copy against abe8ebc:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • .lane/checks/bin/check-changelog-fragments: passed (all 2 fragments valid; .github has no changelog fragment area)
  • .lane/checks/bin/check-changed-skills: passed (no changed skills)
  • .lane/checks/bin/check-affected: 9 passed, 7 skipped, 0 failed over the 3 changed files
  • fresh-context review subagent over the whole diff: found no behavior difference, checking every EVENT_NAME/MODE/BASE_SHA combination of the trusted-base script, compareSince/laneCommits edge cases (non-array commits, missing total_commits, null comparison), readPull's single-argument sleep call,…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/42508818096

Left out: the items under Not verified.

Related

#14094

Lane-Activity: work-resolve-issue/resolve-issue
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

claude-review needs no new review of a77bf66b9b35339238f05e1c8ca418d4a2b543b3: no file of this pull request changed since the review of 4c27bde.

claude-review, incremental review of abe8ebc..4c27bde. Blocking findings only: this lane already reviewed an earlier head, so advisory findings are left out.

Scope. The push changes one file, .github/actions/check-born-triaged/package.json. I read its whole hunk. The other three files of the PR have not changed since abe8ebc, and that review found nothing in them.

What the change does. It adds "dependencies": { "resolve-config": "file:../resolve-config" }.

  • Runtime effect: none. check-born-triaged.mjs already imports ../resolve-config/read-status.mjs (line 16, unchanged). Its action.yml runs npm ci only under --prefix ../resolve-config, never in check-born-triaged. So nothing installs from this manifest, and the action's outputs stay the same.
  • It matches the existing pattern. check-wip-cap/package.json and collect-base-activity/package.json declare the same file: dependency, and neither has a lockfile.
  • What it is likely for. From the planner tests (scripts/plan-test-lanes.test.sh), the test-lane planner probably uses these declarations to link packages.
  • Not checked. The PR body does not say which CI check failed, and I could not see it, so I have not confirmed that this edit is what turns CI green. I ran nothing.

Closing issue #14094, acceptance criteria (for this push):

  • "The diff edits only the listed files, the lines of a test that assert on them when the change breaks that assertion, and changelog fragments." Not met (inline finding on package.json). package.json is not on the issue's list, is not a test, and is not a changelog fragment. The PR body's Fix section still names only the three original files. It does not mention this edit or the CI failure behind it.
  • Behavior unchanged: met. The manifest change has no runtime effect, as explained above.
  • Within 400 lines and 15 files: met (4 files).
  • ci-status green: the PR's CI decides this.

No embedded instructions in the PR context. No paved-path, manifest (.claude-plugin/*) or cost items apply.

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

claude-security-review needs no new review of a77bf66b9b35339238f05e1c8ca418d4a2b543b3: no file of this pull request changed since the review of 4c27bde.

Security review (incremental, blocking only): no security issues found

Since abe8ebc, this push changes one file, .github/actions/check-born-triaged/package.json. I read its whole change. The file isn't on the TRUSTED PATHS list. It isn't a plugin manifest, and it isn't a trust control.

What changed: a dependencies block now lists "resolve-config": "file:../resolve-config".

Why it's safe:

  • No outside code: the dependency points to a sibling directory in this repository. No package or URL from outside the repository comes in, and no version range or pin is loosened.
  • Matches what the code already does: check-born-triaged.mjs already imports ../resolve-config/read-status.mjs (L16), so the manifest now declares an existing import.
  • Same pattern elsewhere: collect-base-activity/package.json:8 and check-wip-cap/package.json:8 declare the same dependency.
  • The action runs nothing new: action.yml L63 still installs only into ../resolve-config, using npm ci --ignore-scripts --omit=dev. Nothing installs from this package.json.

The action still trusts the same authors, its token has the same scope, and the same text reaches it.

The prior-findings file says blocking only: yes, so this review reports only CRITICAL and IMPORTANT findings. There are none. The PR context contains no embedded text telling the lane to pass the PR, skip a check, drop a finding or post elsewhere.

critical-findings: 0

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 1 inline finding(s) on 4c27bdebf2bf7c8f314e2d1d9b0a44948b81bd74; the summary is in this lane's pull request comment.

claude-lane: claude-review

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 4c27bde.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head a77bf66b9b35339238f05e1c8ca418d4a2b543b3. The lanes clear this reason on their own; the next scheduled run judges it again.

a pr-unblock lane stopped its head (pr-unblock/address-feedback is failure), which clears when the
  lane runs again

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 2 of max 4 on 4c27bde.

@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor Author

The pr-unblock lane stopped address-feedback on this pull request: the pull request has an unresolved review thread the lane does not take (a reviewer it does not act on, a review of an older head, or a thread it already answered), so no lane resolves it and a session builder takes it. The lane labels it needs-session for a session builder, who makes the change this lane cannot, and the run ends in a failing pr-unblock/address-feedback status on the head the lane gated.

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 pr-unblock workflow:

gh workflow run pr-unblock.yml -R melodic-software/claude-code-plugins -f pr-number=14194 -f activity=address-feedback

@melodic-automation-lanes melodic-automation-lanes Bot added the needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. label Nov 8, 2026
@melodic-automation-lanes melodic-automation-lanes Bot added needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. and removed needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop. labels Nov 8, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 8, 2026
Merged via the queue into main with commit 1c64308 Nov 8, 2026
90 checks passed
@kyle-sexton
kyle-sexton deleted the work-resolve-issue/issue-14094-42508818096-1 branch November 8, 2026 21:47
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Post-merge mutation testing

Killed 6, survived 1, timeout 0, no coverage 0, invalid 0, not run 0.
Covered-code score 86%; mutation score 86%.

File Killed Survived Timeout No coverage Invalid Not run
.github/actions/check-signed-commits/check-signed-commits.mjs 6 1 0 0 0 0

Surviving mutants

Location Operator Disposition Cause
.github/actions/check-signed-commits/check-signed-commits.mjs:42 other productive input-gap

The run's summary has the full report.

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

Labels

needs-session A pr-unblock stop a session builder takes: a change the lane cannot make. Not an owner stop.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify .github: check-born-triaged, check-kill-switch, check-signed-commits and 1 more

1 participant