GeezerVison is showing github.com — ci(t3code-seed-providers): test_seed.py (6 tests, #2738/#3170 regression pins) run by no workflow — systemd service runs seed.sh, never its tests · Issue #5992 · developing-today/code
ci(t3code-seed-providers): test_seed.py (6 tests, #2738/#3170 regression pins) run by no workflow — systemd service runs seed.sh, never its tests #5992Descriptionci(t3code-seed-providers): test_seed.py (6 tests) is run by no workflow — the systemd service runs seed.sh, never its tests
Evidence (verified this run, laptop primary @ ec2ac0e)
pkgs/t3code-seed-providers/test_seed.py contains 6 tests (SeedTest): well-formed output matches the original script, malformed fleet entries are preserved (t3code-seed-providers: seed script crashes on parseable-but-wrong-shaped settings.json — one bad shape disables all seeding and the OpenCode-1.x safety disable #2738), invalid document left unchanged, existing file mode preserved (t3code-seed-providers: the seed write does not preserve settings.json's file mode — a 0600 settings file becomes umask-default (0660/0644), and a symlinked settings.json is silently replaced by a regular file #3170), new file keeps umask mode, symlinked settings.json refused unchanged (t3code-seed-providers: the seed write does not preserve settings.json's file mode — a 0600 settings file becomes umask-default (0660/0644), and a symlinked settings.json is silently replaced by a regular file #3170).
- Zero references:
grep -rn "test_seed|t3code-seed" .github/workflows/ .github/scripts/ justfile flake.nix scripts/ infra/ pm-stack/ nixos/ on the laptop primary returns nothing outside the package itself. No workflow, justfile target, flake check, or script runs the suite.
- The thing it tests runs in production:
home/common/default.nix:545-553 defines the t3code-seed-providers systemd user service whose ExecStart is the inline seed.sh — the seeder runs on the host, its regression tests run nowhere.
- Verified by hand on the laptop @ ec2ac0e:
python3 -m unittest test_seed -v in pkgs/t3code-seed-providers → Ran 6 tests in 1.136s, OK (offline, stdlib only). Since t3code-seed-providers: test_seed.py steals sys.argv[1] at import — the suite fails under every standard test runner #5943 the suite also passes under standard unittest discovery, so wiring it is unblocked.
- Distinct from closed t3code-seed-providers: test_seed.py steals sys.argv[1] at import — the suite fails under every standard test runner #5943 (the suite's own
sys.argv[1] theft at import, fixed) and from t3code-seed-providers: seed script crashes on parseable-but-wrong-shaped settings.json — one bad shape disables all seeding and the OpenCode-1.x safety disable #2738/t3code-seed-providers: the seed write does not preserve settings.json's file mode — a 0600 settings file becomes umask-default (0660/0644), and a symlinked settings.json is silently replaced by a regular file #3170 (the seed.sh defects these tests pin — both closed; the pins are exactly what CI should keep green).
Why it matters
The suite is the only regression net for two already-shipped defect classes in a script that rewrites the user's settings.json: silently changing a 0600 file's mode and severing a symlinked settings file (#3170), and one malformed entry disabling all seeding (#2738). If a future seed.sh edit reintroduces either, nothing in CI notices — the failure mode is a host config file quietly rewritten wrong.
Acceptance criteria
- A CI step (new small workflow or an existing tests workflow, per
.github/ci-policy.md) runs pkgs/t3code-seed-providers/test_seed.py and fails when a test fails (no continue-on-error).
- The wiring names the test file/discovery directory explicitly and asserts the suite exists first, so a green run cannot be a silently skipped suite.
- The full suite (6 tests) passes under the new wiring on a Linux runner.
- No behaviour change to
seed.sh.
Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · filed
- Agent: new-issue-creator job (lane A, new-issue-creator-code-a)
- Session / ID: cron new-issue-creator-code-a, run 2026-11-04 23:05 CST
- Found via: filed this run
- Task: Wire pkgs/t3code-seed-providers/test_seed.py (6 tests) into CI; it is currently run by no workflow while the systemd service runs seed.sh itself.
- Expectation: effort s — done when a workflow step runs the suite with failure propagation and the 6 tests pass under it.
- Links: evidence and acceptance criteria in the issue body; queue packet enqueued this run.
dezren39 commented on Nov 5, 2026 🤖 Agent note · handed off
dezren39 commented on Nov 14, 2026 agent-note:v1
state: done
lane: code-d
task: 15200
issue: #5992
Fixed and merged (2026-11-14, lane code-d, task 15200 — triage and fix in one session).
Triage: REAL-AND-CURRENT. The prior packet_defect block (task 9863) rested on design #6185 requiring a registry-named, active/dispatchable venue selected by Phase 1 (#6186). Both #6185 and #6186 are now CLOSED, and the registry at .github/test-suite-registry.json records this suite (id t3code.seed-providers) as uncovered with Phase 2 follow-up = this issue. The venue pattern is established by sibling suites: the active, dispatchable scripts-test workflow.
Fix: PR #9948, merged 0f95933.
Verification:
- Exact wired command run on the laptop at the PR branch: Ran 6 tests, OK.
- Codex review on PR ci(scripts-test): run t3code-seed-providers test_seed suite (#5992) #9948 produced no findings (0 inline comments); the review run itself failed on Codex usage limits, as Codex's own comment on the PR states — nothing to disposition.
- Post-merge CI: scripts-test run 43590819922 at merge SHA 0f95933 was still queued (runner backlog) at completion time; its two scripts-test jobs include the new step. Task 15200 completes as fixed_merged with ci=pending naming that run rather than holding the claim on the runner queue.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|