Skip to content

1.12.3: deploy without standby when declared, PROVE IT reference-run keys, smoke-secret rollback fix - #52

Merged
desiorac merged 3 commits into
mainfrom
proveit-jumeau
Sep 25, 2026
Merged

desiorac merged 3 commits into
mainfrom
proveit-jumeau

Conversation

@desiorac

Copy link
Copy Markdown
Member

What

  • Deploy without standby when the node declares it. deploy_trust_layer_prod.sh reads \"standby\": \"none\" from the local failover state and then skips phase 2a, the standby rollbacks and the standby topology read. VPS1 carries no such key: behaviour unchanged there. Roles are read from state, never inferred from a variable or a missing answer.
  • Reference-run keys. provision_challenge_key.py gains reference_soigneux, reference_presse, reference_sans_verification (internal plan, no email): one key and one DID per PROVE IT season reference run.
  • Fix: silent death at phase 2.5. With a smoke-test secret missing from the settings file, SMOKE_INTERNAL_SECRET=$(grep … | cut …) exited the script under set -e, after the primary had restarted on the new code: no rollback, no tag, and callers believed the old code was still running. The reads now tolerate an empty result; the smoke test fails on it, which rolls back.

How it was found and exercised

A local twin of PROVE IT (QEMU VM provisioned by the same Ansible roles as VPS1) ran this script end to end: --close then --open of a short season, all gates, phase 2b, smoke test PASSED, tag pushed; one run also exercised the automatic rollback. The twin surfaced the silent-death path.

Checks

  • pytest tests: 920 passed.
  • bash -n scripts/deploy_trust_layer_prod.sh.
  • Version 1.12.3 with its CHANGELOG entry.

🤖 Generated with Claude Code

desiorac and others added 3 commits September 25, 2026 15:32
Le jumeau local de PROVE IT (VM, D156 côté prove-it) n'a pas de VPS2. Le fichier
d'état local porte "standby": "none" ; la phase 2a, les rollbacks et la lecture
de topologie du standby sont alors sautés. Sans cette clé (VPS1 aujourd'hui),
comportement inchangé.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…E IT (D153)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…etour arrière), plus le script en silence ; 1.12.3

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@desiorac
desiorac merged commit 970082b into main Sep 25, 2026
9 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.

1 participant