status(1e): E2/HC1 CLAIMED — chaos-version==head_ref proven on hedgedoc
upgrade→PR-head: head_ref=09bf4d54 chaos-version=09bf4d54 version=3.0.9+1.10.7→3.0.10+1.10.8 deploy-count = 1; install/upgrade=pass; clean teardown. E1/HC3 + E0/HC2 both Adversary PASS. Awaiting Adversary cold-verify HC1 + HC4 for ## DONE. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@ -18,6 +18,8 @@ Three corrections, each Adversary cold-verified, no test weakened:
|
||||
|
||||
## Definition of Done (Phase 1e) — HC1–HC4, each Adversary cold-verified in REVIEW-1e
|
||||
- [ ] **HC1** — PR-head upgrade proven to deploy PR-head; deploy-count guard reconciled (==1).
|
||||
Builder CLAIM @2026-05-28 (commit 7472561): hedgedoc `head_ref=09bf4d54 == chaos-version=09bf4d54`,
|
||||
version 3.0.9→3.0.10, deploy-count=1, clean. Awaiting Adversary cold-verify.
|
||||
- [x] **HC2** — repo-local ignored for a non-approved recipe, run for an approved one.
|
||||
Adversary PASS @2026-05-28 (hostile-code probe, no finding; commit c7ae296).
|
||||
- [x] **HC3** — generic runs alongside an overlay by default; skipped only with the opt-out set.
|
||||
@ -32,12 +34,42 @@ Three corrections, each Adversary cold-verified, no test weakened:
|
||||
- **E3** — HC4 cold re-verification + docs → DONE.
|
||||
|
||||
## In flight
|
||||
E2 (HC1) — upgrade tier upgrades to the PR-head code under test via `abra app deploy --chaos`
|
||||
(re-checkout PR head after the prev-tag base deploy; chaos label proves PR-head deployed); reconcile
|
||||
the DG4.1 deploy-count guard with the in-place chaos redeploy.
|
||||
E3 (HC4) — docs (DONE: docs/testing.md + docs/enroll-recipe.md updated for HC1/HC2/HC3 +
|
||||
ops.py/allowlist/opt-out/chaos-PR-head); DECISIONS settled at phase start; awaiting Adversary
|
||||
cold-verify of HC1–HC4 to flip STATUS-1e → ## DONE.
|
||||
|
||||
## Gate
|
||||
**Gate: E1/HC3 — RE-CLAIMED, awaiting Adversary @2026-05-28 (F1e-1 fixed, commit 6eabfdc).**
|
||||
**Gate: E2/HC1 — CLAIMED, awaiting Adversary @2026-05-28 (commit 7472561).** The upgrade tier now
|
||||
upgrades to the PR-HEAD code under test via `abra app deploy --chaos`, not a published tag. After
|
||||
`fetch_recipe` the orchestrator captures `head_ref` (preferring `$REF` — the PR head sha; falls back
|
||||
to the recipe checkout HEAD for non-PR `!testme`). On the upgrade tier: re-checkout the recipe to
|
||||
`head_ref`, capture pre-upgrade identity, then `abra.deploy(chaos=True)` redeploys in place. The op
|
||||
calls abra.deploy directly (NOT deploy_app), so `_record_deploy()` does not fire — **deploy-count
|
||||
stays 1** (HC1/DG4.1 reconciled). `generic.assert_upgraded`, when head_ref is known, REQUIRES the
|
||||
deployed `coop-cloud.<stack>.chaos-version` commit to MATCH head_ref — direct, non-vacuous proof the
|
||||
code under test was deployed (a stale prev-checkout chaos redeploy would stamp prev's commit ≠
|
||||
head_ref → FAIL). Fallback to version/image/chaos move check when head_ref is unknown.
|
||||
|
||||
**Cold-verifiable evidence on cc-ci** (hedgedoc, log `/root/ccci-1e-hc1-hed4.log`):
|
||||
```
|
||||
== cc-ci run: recipe=hedgedoc ref=None pr=0 stages=['install', 'upgrade']
|
||||
===== TIER: upgrade (generic=run, overlay=none) =====
|
||||
upgrade→PR-head: head_ref=09bf4d54 chaos-version=09bf4d54 version=3.0.9+1.10.7→3.0.10+1.10.8
|
||||
PASSED tests/_generic/test_upgrade.py::test_upgrade_reconverges
|
||||
===== RUN SUMMARY =====
|
||||
deploy-count = 1 (expect 1)
|
||||
install : pass
|
||||
upgrade : pass
|
||||
```
|
||||
`head_ref == chaos-version` (09bf4d54) — deterministic proof of PR-head deploy. Plus a real version
|
||||
move (3.0.9→3.0.10). deploy-count=1; clean teardown. The HC1 path also covers F1e-1's exec hardening
|
||||
(used by the data-continuity overlays' exec_in_app reads).
|
||||
|
||||
**Gate: E1/HC3 — Adversary PASS @2026-05-28** (REVIEW-1e final; F1e-1 fix commit 6eabfdc verified
|
||||
cold under opt-out; deploy-count=1; no assertion weakened; no concurrency confound).
|
||||
|
||||
**Gate: E0/HC2 — Adversary PASS @2026-05-28** (REVIEW-1e; hostile-code probe, no finding).
|
||||
Prior CLAIM detail:
|
||||
Adversary FAILed the prior claim (REVIEW-1e) with F1e-1: under `CCCI_SKIP_GENERIC=1` the backup
|
||||
overlay flaked (`'' == 'original'`) because `lifecycle.exec_in_app` silently returned the empty stdout
|
||||
of a failed `docker exec` (post-backup container cycle, no readiness buffer; the generic pytest spawn
|
||||
|
||||
Reference in New Issue
Block a user