Skip to content

fix: green socket-cli main 🔎 Check (script paths, citations, action port map, coverage badge)#1437

Merged
John-David Dalton (jdalton) merged 2 commits into
mainfrom
fix/check-green-script-paths
Jul 26, 2026
Merged

fix: green socket-cli main 🔎 Check (script paths, citations, action port map, coverage badge)#1437
John-David Dalton (jdalton) merged 2 commits into
mainfrom
fix/check-green-script-paths

Conversation

@jdalton

@jdalton John-David Dalton (jdalton) commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

What

main's 🔎 Check (pnpm run check --all) is red, blocking every PR. This folds the fixable residuals into one landing. After this branch, the only remaining 🔎 Check failure is lint (see "Remaining blocker" below).

Fixed here

  1. check-script-paths-resolvepackages/cli/package.json check/update pointed at the pre-migration ../../scripts/*.mts paths; repointed to ../../scripts/fleet/*.mts.
  2. check-pnpm-run-citations-resolve — added the missing root lockstep:emit-mirror-globs alias (the backing scripts/fleet/lockstep-emit-mirror-globs.mts shim and its lockstep:emit-schema sibling already existed; only the alias was missing).
  3. action-ports-are-lock-stepped — added the setup-go-toolchain port-map entry as Socket-original ([]). Its action.yml says it is "written inline so we don't depend on a third-party action"; it borrows only actions/setup-go's generic fallback ordering, porting neither its input surface nor its go.dev/dl download algorithm — so there is no upstream release to lock-step against.
  4. coverage-badge-is-current — the README carried a shields.io badge with a decimal percent (coverage-75.08%25) that the migrator's integer-only matcher couldn't recognize, tripping the unrecognized-form gate. Repointed to the canonical repo-local asset assets/repo/badges/coverage.svg (the generated placeholder SVG already exists and is tracked).

dispatch-table-is-current also drifts locally but does not fail in CI — the dispatch table / bundle are gitignored CI-prepare artifacts that CI regenerates during setup.

Remaining blocker (not fixed here — rule-tier decision)

lint still fails on the fleet oxlint rule socket/no-required-in-options-bag: 114 violations across 24 files, all legitimate "required config bag" interfaces (CreatePrOptions, DispatchSubcommandOptions, SocketBasicsOptions, BuildCacheKeyOptions, git provider, subcommand dispatch/help, spawn, reachability, pipeline cache/types, update subsystem…). These are a common mature-CLI idiom (a config object with some mandatory fields), flagged purely on the *Options name suffix. Complying means either hoisting required members to positionals, renaming *Options*Config + making the param required (both reshape APIs + all call sites), or a blanket bypass sweep. That's a large/high-blast-radius change and a fleet rule-tier decision (warn-vs-error fleet-wide) — deferred to a maintainer rather than forced here.

Do not merge until the lint decision lands and 🔎 Check is fully green.

…lobs

The scripts/repo migration moved check.mts and update.mts into
scripts/fleet/, but packages/cli/package.json still pointed its
"check" and "update" scripts at the old ../../scripts/*.mts paths,
failing check-script-paths-resolve.

The lockstep-emit-mirror-globs.mts script cascaded in (and its sibling
lockstep:emit-schema is wired), but the root package.json never got the
matching lockstep:emit-mirror-globs alias, so the updating-lockstep skill
docs cited a pnpm script that did not resolve, failing
check-pnpm-run-citations-resolve.

- packages/cli/package.json: check -> ../../scripts/fleet/check.mts
- packages/cli/package.json: update -> ../../scripts/fleet/update.mts
- package.json: add lockstep:emit-mirror-globs pointing at the existing
  scripts/fleet/lockstep-emit-mirror-globs.mts shim
…dge)

Two fleet-drift 🔎 Check failures on main, independent of the
script-path/citation fix:

- action-ports-are-lock-stepped: the setup-go-toolchain composite had
  no port-map entry. Its action.yml states it is "written inline so we
  don't depend on a third-party action" and only borrows actions/setup-go's
  generic fallback ordering, porting neither its input surface nor its
  go.dev/dl download algorithm — so it is Socket-original (`[]`), not a
  lock-stepped port.

- coverage-badge-is-current: the README carried a shields.io badge with a
  decimal percent (coverage-75.08%25) that the migrator's integer-only
  matcher could not recognize, tripping the unrecognized-form gate.
  Repointed to the canonical repo-local asset badges/coverage.svg (the
  generated placeholder SVG already exists and is tracked).
@jdalton John-David Dalton (jdalton) changed the title fix: green 🔎 Check — repoint moved fleet script paths + wire lockstep:emit-mirror-globs fix: green socket-cli main 🔎 Check (script paths, citations, action port map, coverage badge) Jul 26, 2026
@jdalton
John-David Dalton (jdalton) merged commit fbba883 into main Jul 26, 2026
5 of 6 checks passed
@jdalton
John-David Dalton (jdalton) deleted the fix/check-green-script-paths branch July 26, 2026 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant