Repository navigation
fix(sbx-verify): rename verify=sportsmeet to generic verify=app - #5
Merged
Merged
Conversation
ICBreakerLA
added a commit
that referenced
this pull request
Oct 6, 2026
…hot.test.sh that broke "Behavior portable serial 7". Rule that was broken: each test must start from a clean remote-ledger fixture, whatever tests ran before it. Cause: call #5 (test_remote_ledgers_share_one_concurrent_budget_and_fall_back_to_cache) leaves $TMP_ROOT/remote-ledger-home-1/state/slow-ledger-read behind, and only call #6 removes it. Slice 1of2 runs #5 but skips #6, so in call #25 (test_landed_preserves_kindless_v1_summary_reports) the fake ssh sleeps 30s against the 15s budget and collection times out. Fix: one line in make_remote_ledger_fleet (line 258), the single place every test builds these homes. After mkdir -p "$remote_home/state" it runs rm -f on slow-ledger-read, unbounded-ledger-read and home-summary.json; write_remote_home_summary then rewrites the summary. All other uses of these marker files are per-test create/remove pairs. The 15s budget and all assertions are unchanged. Verification: (1) a copy of the script calling only #5 then #25 (slice 1of2 order) fails without the line ("structured home ledger collection timed out and no valid cached copy is available") and passes with it; the copy and the leftover untracked tests/_verify-fix.test.sh were deleted. (2) bin/fm-lint.sh exits 0 (ShellCheck 0.11.0, actionlint 1.7.12). A direct shellcheck run shows one SC2034 at line 271 that predates this fix and is not flagged by the project lint. (3) bin/fm-test-run.sh --lane portable-serial-7of12 still exits 1 locally with 4 failures, each from sandbox gaps (no tmux, no tasks-axi, curl 403 fetching the pinned action verifier). The remote-ledger tests in it pass, but the bearings script stops at the tasks-axi requirement before call #25, so only check (1) exercises #25. Nothing was committed
ICBreakerLA
added a commit
that referenced
this pull request
Oct 6, 2026
* ci: split long serial suites into slices, add lint partitions, run parallel lanes 4-wide
The serial lane's longest shard carried 30 minutes of one-runner work and was
cancelled at its cap. Slice the independent test_* calls of ten long suites
across twelve shards, partition lint eight ways, and run the proven-isolated
parallel lanes at their proven --jobs 4. No test, check, or threshold is
removed or loosened.
* test: drop the unused dups local from the serial shard partition test
* no-mistakes(document): Update CONTRIBUTING.md required-check list for 8 lint and 12 serial shards
* no-mistakes(lint): Add missing shellcheck shell=bash directive to sourced test slice gate
* no-mistakes(ci): Fixed the real defect behind "Lint 4": bin/fm-test-run.sh:907 (`portable_serial_lane_weight()`) was dead code — its only call site had been replaced by `portable_serial_assignments | awk ...` earlier in the same diff, and ShellCheck's SC2329 ("function is never invoked") correctly flags it, which fails the lint step by default severity. Confirmed by reproducing locally: `FM_LINT_JOBS=1 bin/fm-lint.sh --partition 4of8` reported `bin/fm-test-run.sh ... reason=findings rc=1` with the SC2329 hit before the fix, and exits clean (rc=0, no SC2329) after deleting the unused function. Grepped the whole tree to confirm nothing else calls it, so removal (not suppression) is correct per the removal-first rule. This was the only genuine lint finding in the diff; a second PR-noted dead-code item (an unreachable `uniq -d` duplicate check inside `run_coverage_guard`, PR body line ~130) is real but belongs to the separate "Test coverage guard" job, which is not among the failing checks, is not flagged by any tool, and is out of scope for this round's two selected findings — left untouched. For "Behavior portable serial 7" I could not confirm a code-caused defect. I verified the new 12-shard/slice mechanism directly: `bin/fm-test-run.sh --check-coverage` passes cleanly (exact-once coverage, no dup/missing units across all 12 shards), the full `tests/fm-test-run.test.sh` self-test suite passes every case about the new slicing/packing logic ("slice gate runs every call exactly once...", "portable serial shards are a deterministic disjoint cover...", etc.), and a direct manual run of slice 1of8 of the longest split script (tests/fm-watch-triage.test.sh) dispatched exactly 18 of its 141 top-level test_* calls (the expected ~1/8), confirming the slice gate works correctly. Running the actual portable-serial-7of12 lane locally produced only 4 script failures, and each traces unambiguously to this sandbox's missing tooling rather than to the change: no tmux binary (blocks the afk/tmux-dependent fm-supervision-host assertions), no tasks-axi binary and a blocked npm registry (`fail "tasks-axi is required for ..."` in fm-bearings-snapshot and fm-teardown-sandbox), and blocked outbound network (curl 403 fetching a pinned GitHub Action verifier in fm-no-mistakes-required, a pre-existing test untouched by this PR). I could not fetch the actual GitHub Actions job log for shard 7 either — the Actions log-blob endpoint returned 403/"approval required" in this sandbox, matching the task's own "log retrieval incomplete" note. Per the task rules, since every concrete signal I could obtain points at sandbox-only tooling/network gaps rather than the PR's sharding/slicing code (which I verified behaves correctly), I did not invent a speculative fix for this check
* no-mistakes(ci): Fixed a test fixture leak in tests/fm-bearings-snapshot.test.sh that broke "Behavior portable serial 7". Rule that was broken: each test must start from a clean remote-ledger fixture, whatever tests ran before it. Cause: call #5 (test_remote_ledgers_share_one_concurrent_budget_and_fall_back_to_cache) leaves $TMP_ROOT/remote-ledger-home-1/state/slow-ledger-read behind, and only call #6 removes it. Slice 1of2 runs #5 but skips #6, so in call #25 (test_landed_preserves_kindless_v1_summary_reports) the fake ssh sleeps 30s against the 15s budget and collection times out. Fix: one line in make_remote_ledger_fleet (line 258), the single place every test builds these homes. After mkdir -p "$remote_home/state" it runs rm -f on slow-ledger-read, unbounded-ledger-read and home-summary.json; write_remote_home_summary then rewrites the summary. All other uses of these marker files are per-test create/remove pairs. The 15s budget and all assertions are unchanged. Verification: (1) a copy of the script calling only #5 then #25 (slice 1of2 order) fails without the line ("structured home ledger collection timed out and no valid cached copy is available") and passes with it; the copy and the leftover untracked tests/_verify-fix.test.sh were deleted. (2) bin/fm-lint.sh exits 0 (ShellCheck 0.11.0, actionlint 1.7.12). A direct shellcheck run shows one SC2034 at line 271 that predates this fix and is not flagged by the project lint. (3) bin/fm-test-run.sh --lane portable-serial-7of12 still exits 1 locally with 4 failures, each from sandbox gaps (no tmux, no tasks-axi, curl 403 fetching the pinned action verifier). The remote-ledger tests in it pass, but the bearings script stops at the tasks-axi requirement before call #25, so only check (1) exercises #25. Nothing was committed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Intent
Remove every SportsMeet mention from the ICBreakerLA/firstmate fork's sandbox verification feature by renaming it to something generic. The feature (host-side verification broker for sandboxed workers) is currently switched on with the option
verify=sportsmeetin config/worker-sandbox, and has the default app idcom.sportsmeet.appand an Expo manifest named "SportsMeet"/"sportsmeet". The fork stays public, so no SportsMeet name or app id may remain in tracked files. Do not rewrite or rename any existing commit or history.What Changed
verify=sportsmeettoverify=appacrossconfig/worker-sandboxparsing, the--verifyflag, andbin/fm-spawn.sh's pass-through (bin/fm-sbx-lib.sh,bin/fm-sbx-run.sh,bin/fm-sbx-verify-broker.sh,bin/fm-spawn.sh), updating error messages and comments to match.com.sportsmeet.appdefault forapp-idinconfig/sbx-verify;app-idis now a required key thatfm_sbxv_load_configrefuses to start without (bin/fm-sbx-verify-lib.sh).name/slugfromSportsMeet/sportsmeettoApp/app(bin/fm-sbx-verify-io.py).docs/configuration.mdanddocs/sbx-verify-broker.mdto describe the genericverify=apptoken and requiredapp-id.tests/fm-sbx-lib.test.sh,tests/fm-sbx-run.test.sh, andtests/fm-sbx-verify-broker.test.shto useverify=appand an explicitapp-id, including new cases covering a missing or malformedapp-id.🤖 Generated with Claude Code
Risk Assessment
✅ Low: A straightforward, mechanical rename of verify=sportsmeet to verify=app and the default app-id to a required app-id=ID field; no SportsMeet references remain in tracked files, tests were updated to match, and the app-id validation/threading is correct end-to-end.
Testing
Drove the actual shell/python scripts live (not just the pre-existing test suite): confirmed config/worker-sandbox now accepts verify=app and refuses the old verify=sportsmeet token, confirmed config/sbx-verify requires app-id (missing or malformed app-id is refused with an error naming app-id), and curled a live instance of fm-sbx-verify-io.py's manifest server to see the Expo manifest now reports name "App"/slug "app" instead of SportsMeet. All three directly-touched test files (fm-sbx-lib, fm-sbx-run, fm-sbx-verify-broker) pass as real subprocess-driven behavior tests, including new broker tests for missing/malformed app-id and the renamed appId assertion (appId: com.example.app). git grep confirms no "sportsmeet" string remains in any tracked file. All scenarios passed; no findings.
git grep -ilE 'sportsmeet' -- .returned no matches (exit 1)Evidence: Live Expo manifest response after rename
Evidence: Live rejection of old verify=sportsmeet token and app-id requirement
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
git grep -ilE 'sportsmeet' -- .returned no matches (exit 1)git grep -ilE 'sportsmeet' -- . (confirms zero tracked-file mentions remain)bash tests/fm-sbx-lib.test.sh (worker-sandbox verify=app parsing/rejection, real script)bash tests/fm-sbx-run.test.sh (fm-sbx-run.sh --verify app end-to-end wiring, real script/process)bash tests/fm-sbx-verify-broker.test.sh (real broker process, appId=com.example.app in generated Maestro YAML, HTTP manifest serving)Manually invokedpython3 bin/fm-sbx-verify-io.py serveand curled its real manifest endpoint to confirm expoClient name/slug are now 'App'/'app'Manually sourced bin/fm-sbx-lib.sh and bin/fm-sbx-verify-lib.sh to live-drive: verify=sportsmeet rejection, missing app-id rejection, malformed app-id rejection✅ **Document** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.