Skip to content

fix(ci): recognize the release child reuse command - #200526

Merged
vincentkoc merged 1 commit into
mainfrom
fix/ci-release-child-knip-entry-20261117
Nov 17, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/ci-release-child-knip-entry-20261117

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Main-tier CI reports scripts/find-reusable-release-child.mjs as unused even though full release validation executes it through a shell variable. The false positive fails the dependency check.

User Impact

No user-visible behavior changes. This keeps the dependency audit aligned with the release workflow's existing executable entry point.

Why This Change Was Made

Declare the exact script in repositoryScriptEntries, following the existing convention for workflow-invoked commands. The script and release workflow are unchanged; no ignore or wildcard is added.

Evidence

  • Observed the unused-file finding in CI job 133937133071.
  • Verified the current workflow invokes this script and the full-tree/script audit configurations inherit the entry list.
  • git diff --check passed. Fresh local autoreview found no P0–P3 findings; normal commit hook passed using the qualified tooling dependency owner.
  • Exact native checkout with frozen dependencies: base full-tree unused-file scan failed solely on this script; candidate script and full-tree scans both passed.
  • Focused deadcode configuration tests: 34/34 passed. Tooling typecheck, typed lint and formatting passed.
  • pnpm deadcode:exports: script and full-tree phases passed; production export phase retains the three existing findings described below.

The production export scan retains the two obsolete transcript-path exports covered separately by #200509, plus the unchanged isSwitchedGitRelease export in src/cli/update-cli/update-command-convergence.ts. These baseline findings are investigated separately; this change does not suppress or absorb them.

@vincentkoc vincentkoc self-assigned this Nov 17, 2026
@clawsweeper

clawsweeper Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review ended

ClawSweeper stopped reviewing this revision because the pull request closed.

View the workflow run.

@vincentkoc
vincentkoc marked this pull request as ready for review November 17, 2026 09:34
@vincentkoc
vincentkoc enabled auto-merge (squash) November 17, 2026 09:36
@vincentkoc
vincentkoc merged commit e58cd22 into main Nov 17, 2026
149 checks passed
@vincentkoc
vincentkoc deleted the fix/ci-release-child-knip-entry-20261117 branch November 17, 2026 09:45
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

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