Skip to content

e2e: seed the checkout from the live release bundle, not the stale canonical config - #921

Merged
VijitSingh97 merged 1 commit into
developfrom
fix/880-e2e-seed-live
Aug 13, 2026
Merged

e2e: seed the checkout from the live release bundle, not the stale canonical config#921
VijitSingh97 merged 1 commit into
developfrom
fix/880-e2e-seed-live

Conversation

@VijitSingh97

Copy link
Copy Markdown
Collaborator

Closes #880.

The e2e checkout was seeded from the canonical checkout's config.json/.env, which drifts months behind the live bundle's — a --keep deploy silently dropped dashboard.energy, the view key, telegram, healthchecks, stratum TLS, control.enabled, tor.auto_heal and the LAN flags, twice, with no warning anywhere.

Now: seed from the current symlink sibling of CANONICAL_DIR when its config.json/.env exist, with a cheap top-level-key drift warning against canonical (deliberately not a config differ, per the issue); fall back to canonical with a loud warning when there is no live bundle. Canonical stays read-only — the never-git-touched invariant holds.

Coverage at the harness's own tier: selftest cases pin the live-preferred/fallback decision (selftest: 148 passed → new cases included, 0 failed). The seeding runs on gouda over ssh, so the next release-cycle e2e run is the live proof.

Ponytail: one −4-line shrink declined — it would merge the seeded-from-live message with the stale-fallback warning, and the distinct diagnoses are the point.

🤖 Generated with Claude Code

…onical checkout

The canonical checkout's config.json/.env can drift far behind what's actually
deployed (a release bumps config in the bundle dir, not in CANONICAL_DIR), so
seeding the e2e checkout from canonical silently exercised and deployed a
months-old config. Prefer the live bundle at the "current" symlink sibling of
CANONICAL_DIR when it resolves, fall back to canonical when there's no live
bundle, and warn loudly on either the fallback or a top-level-key mismatch
between the two.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VijitSingh97
VijitSingh97 merged commit f274a77 into develop Aug 13, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

e2e harness seeds from a stale canonical config — seed from the live bundle instead

1 participant