Repository navigation
Closed
Labels
app/t3code-seed-providersPackage/app: t3code-seed-providers (pkgs/ or apps/ in this repo)Package/app: t3code-seed-providers (pkgs/ or apps/ in this repo)design/ci-programDesign: ci-program - all issues of this effort carry itDesign: ci-program - all issues of this effort carry iteffort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workepic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)Epic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted teststask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Milestone
Description
ci(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.pycontains 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-553defines thet3code-seed-providerssystemd user service whose ExecStart is the inlineseed.sh— the seeder runs on the host, its regression tests run nowhere. - Verified by hand on the laptop @ ec2ac0e:
python3 -m unittest test_seed -vinpkgs/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) runspkgs/t3code-seed-providers/test_seed.pyand 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.
Metadata
Metadata
Assignees
Labels
app/t3code-seed-providersPackage/app: t3code-seed-providers (pkgs/ or apps/ in this repo)Package/app: t3code-seed-providers (pkgs/ or apps/ in this repo)design/ci-programDesign: ci-program - all issues of this effort carry itDesign: ci-program - all issues of this effort carry iteffort/sSmall: expected under 2 hours of workSmall: expected under 2 hours of workepic/github-dynamic-computeEpic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)Epic: epic/github-dynamic-compute (fleet reprioritization 2026-11-12)kind/ciCI/CD pipelines, workflows, and build automationCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)Ordinary priority (the default)source/creatorFiled by the new-issue-creator jobFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testsQueue packet kind: bounded fix with reproduction and targeted teststask/triageQueue packet kind: verify, reproduce, and route this itemQueue packet kind: verify, reproduce, and route this item
Activity
developing-today commentedon Nov 5, 2026
CODE-1658
dezren39 commentedon Nov 5, 2026
🤖 Agent note · filed
dezren39 commentedon Nov 5, 2026
🤖 Agent note · handed off
60 remaining items
Merge pull request #9948 from developing-today/queue/15200-5992-seed-…
dezren39 commentedon 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: