You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
id: build hygiene — build-variants as a cargo artifact, justfile formatting in CI, just ci duplicated test blocks #1797
just ci runs duplicated test blocks (the TODO observed the 237-test block repeating, possibly also the smaller 54/14 groups): audit the justfile CI recipe and de-duplicate without losing coverage; check whether subcomponent test recipes need --all-features.
Acceptance criteria
Each sub-item is resolved or explicitly dropped with a reason on this issue.
CI stays green; no test coverage is silently dropped by the de-duplication.
Still live: filed this hour as a split from rollup id: TODO.md backlog rollup — small ideas not yet covered elsewhere #1294 (queue triage task 2544, judged at main HEAD e561ab5); no merged PR or commit since then addresses justfile formatting, the just ci duplicated test blocks, or build-variants-as-artifact. Confirmed live.
Notes: three independent sub-items (cargo-artifact build variants, justfile formatter + CI --check, just ci de-duplication). Each can land separately; the issue's own acceptance criteria allow resolving or explicitly dropping each with a reason.
Risks: de-duplicating just ci must not silently drop coverage — the 237-test block repeating may be recipe composition rather than waste; audit before removing. Justfile formatting in CI will flag every existing justfile on first run.
Suggested approach: start with the formatter (mechanical, CI-gated), then audit just ci recipe composition against actual test counts, then evaluate the build-variants artifact question last (most design content).
🤖 Agent note · filed
Agent: fleet monitor
Session / ID: repo-fleet-monitor run 2026-10-28 15:19 CDT
Found via: monitor reconciliation
Task: Intake enrichment — labels normalized, live status verified
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
Sub-item 1 (justfile formatting in treefmt/CI): IMPLEMENTED — PR #5071. [formatter.just] added to pkgs/id/treefmt.toml (just was already in fmtBins, so the fix path and treefmt-check cover it), a dedicated justfmt-check flake derivation added and listed in .github/scripts/id-pr-checks.txt, and the justfile reformatted with just --fmt (16 lines of interpolation spacing/indent, no recipe changes). Verified on the laptop before push: just --fmt --check pass, treefmt --ci on the justfile pass (0 changed), just --list parses.
Sub-item 2a (build-variant marker as a cargo artifact): DROPPED, with reason.
The marker's contract is post-success state: scripts/build.sh writes target/.build-variant[-release] only AFTER cargo build succeeds, and reads it to detect that the last successful build was the other variant. A build.rs cannot express that: it runs before the link, on every fingerprint change (including a feature-only switch with no source edits). If that build then fails, the marker would claim the new variant while the binary is still the old one — and since no source mtimes changed, build.sh's timestamp scan would find nothing newer and wrongly report "up to date", skipping the rebuild. Cargo has no post-build-success hook; the shell wrapper is the only correct writer. The idea is dropped rather than implemented with a known correctness hole. (The assets variant is moot either way: it exits before cargo and never reads or writes the marker.)
Sub-item 2b (build.sh dedupe): ALREADY DONE — no change needed. pkgs/id/build.sh is a symlink to scripts/build.sh (git mode 120000, verified at current main d51d7be); the justfile invokes ./scripts/build.sh. There is exactly one copy of the script. The triage evidence "diff is clean (identical)" was the symlink being followed.
Agent: queue worker (repo-worker-code), lane code-c shift (resumed task 8130 at awaiting_ci; implementation by lane code-h)
Session / ID: task 8130
Found via: queue claim · resume per the parked checkpoint (claim recovered after a fabricated display hid it; see sweep record)
Task: Residual fix for this issue's three sub-items — all now disposed, so this issue closes:
Justfile formatting — DONE: PR feat(id): enforce justfile formatting in treefmt + CI (#1797) #5071 merged (squash 7657b97): [formatter.just] in treefmt.toml, justfmt-check flake check added to the id-pr-checks matrix, justfile reformatted. Verified before push: just --fmt --check passes after the reformat (failed before), treefmt --ci clean, just --list parses. Codex review on the PR completed with zero findings.
Build-variants as a cargo artifact — DROPPED with reason: build.rs runs before the link and cannot express the marker's post-success semantics; a failed build would leave the marker claiming the new variant and the next build.sh run could skip a needed rebuild (reason recorded here and in PR feat(id): enforce justfile formatting in treefmt + CI (#1797) #5071).
just ci duplicated test blocks — DROPPED with evidence by triage task 7725 (verdict comment 6607031729 on this issue).
build.sh dedupe (part of the residual packet): already done — pkgs/id/build.sh is a symlink (git mode 120000) to scripts/build.sh; one copy exists.
Expectation: met — acceptance ("each sub-item resolved or explicitly dropped with a reason on this issue") is satisfied for all three.
Activity
developing-today commentedon Oct 28, 2026
CODE-737
dezren39 commentedon Oct 28, 2026
Intake review
just ciduplicated test blocks, or build-variants-as-artifact. Confirmed live.--check,just cide-duplication). Each can land separately; the issue's own acceptance criteria allow resolving or explicitly dropping each with a reason.just cimust not silently drop coverage — the 237-test block repeating may be recipe composition rather than waste; audit before removing. Justfile formatting in CI will flag every existing justfile on first run.just cirecipe composition against actual test counts, then evaluate the build-variants artifact question last (most design content).🤖 Agent note · filed
dezren39 commentedon Nov 3, 2026
agent-note:v1
state: triaged (coverage pass)
Coverage pass 2026-11-03: reviewed in the fleet-wide per-issue pass (drift / overlap / already-handled / stale / blockers / ordering). Verdict: still live; queued in repo-health-code-pilot as triage at priority 40 (priority/normal). If this is already handled at current main, the triage closes it with evidence; if it needs splitting, the triage files the split.
Found via: coverage pass 2026-11-03
13 remaining items
dezren39 commentedon Nov 3, 2026
🤖 Agent note · picked up
dezren39 commentedon Nov 3, 2026
🤖 Agent note · done (implementation) — task 8130 terminal state follows CI on PR #5071
Sub-item 1 (justfile formatting in treefmt/CI): IMPLEMENTED — PR #5071.
[formatter.just]added to pkgs/id/treefmt.toml (just was already in fmtBins, so the fix path and treefmt-check cover it), a dedicatedjustfmt-checkflake derivation added and listed in .github/scripts/id-pr-checks.txt, and the justfile reformatted withjust --fmt(16 lines of interpolation spacing/indent, no recipe changes). Verified on the laptop before push:just --fmt --checkpass, treefmt --ci on the justfile pass (0 changed),just --listparses.Sub-item 2a (build-variant marker as a cargo artifact): DROPPED, with reason.
The marker's contract is post-success state: scripts/build.sh writes target/.build-variant[-release] only AFTER
cargo buildsucceeds, and reads it to detect that the last successful build was the other variant. A build.rs cannot express that: it runs before the link, on every fingerprint change (including a feature-only switch with no source edits). If that build then fails, the marker would claim the new variant while the binary is still the old one — and since no source mtimes changed, build.sh's timestamp scan would find nothing newer and wrongly report "up to date", skipping the rebuild. Cargo has no post-build-success hook; the shell wrapper is the only correct writer. The idea is dropped rather than implemented with a known correctness hole. (The assets variant is moot either way: it exits before cargo and never reads or writes the marker.)Sub-item 2b (build.sh dedupe): ALREADY DONE — no change needed.
pkgs/id/build.shis a symlink toscripts/build.sh(git mode 120000, verified at current main d51d7be); the justfile invokes ./scripts/build.sh. There is exactly one copy of the script. The triage evidence "diff is clean (identical)" was the symlink being followed.dezren39 commentedon Nov 3, 2026
🤖 Agent note · parked
feat(id): enforce justfile formatting in treefmt + CI (#1797) (#5071)
dezren39 commentedon Nov 3, 2026
🤖 Agent note · done
awaiting_ci; implementation by lane code-h)[formatter.just]in treefmt.toml,justfmt-checkflake check added to the id-pr-checks matrix, justfile reformatted. Verified before push:just --fmt --checkpasses after the reformat (failed before), treefmt --ci clean,just --listparses. Codex review on the PR completed with zero findings.just ciduplicated test blocks — DROPPED with evidence by triage task 7725 (verdict comment 6607031729 on this issue).pkgs/id/build.shis a symlink (git mode 120000) toscripts/build.sh; one copy exists.