67 lines
2.8 KiB
Markdown
67 lines
2.8 KiB
Markdown
# STATUS — cc-ci Phase 5 Builder
|
|
|
|
**Phase:** 5 — Verify `/recipe-upgrade` + `testme-on-pr.sh` end-to-end flow
|
|
**SSOT:** `/srv/cc-ci/cc-ci-plan/plan-phase5-verify-upgrade-flow.md`
|
|
**Started:** 2026-05-31
|
|
|
|
## Current focus
|
|
|
|
Waiting for !testme Drone build on custom-html-tiny PR #2 (V3/V1/V2 evidence).
|
|
|
|
## Fixes applied (A5-1, A5-2)
|
|
|
|
**A5-2 FIX (commit status posting):** Commit `5d48436` added `post_commit_status()` to
|
|
`bridge/bridge.py`. Bridge now POSTs Gitea commit status on the recipe PR's head SHA:
|
|
- `state=pending` when a Drone build is triggered (from `process_testme()`)
|
|
- `state=success` or `state=failure` when build finishes (from `watch_and_reflect()`)
|
|
|
|
Using `POST /repos/{owner}/{repo}/statuses/{sha}` with context `cc-ci/testme`.
|
|
`testme-on-pr.sh` reads `GET .../commits/{sha}/status` → state field → VERDICT=GREEN/RED/PENDING.
|
|
|
|
**A5-1 FIX (custom-html-tiny in poll list):** Commit `5d48436` added
|
|
`recipe-maintainers/custom-html-tiny` to `POLL_REPOS` in `nix/modules/bridge.nix`.
|
|
Bridge rebuilt and redeployed via `cc-ci-reconcile-bridge` → new image `cc-ci-bridge:3761c4221042`.
|
|
Verified: new bridge logs show `custom-html-tiny` in poll list.
|
|
|
|
**Bridge redeploy procedure:**
|
|
```
|
|
# On cc-ci-orchestrator:
|
|
git push # push bridge.py + bridge.nix changes to cc-ci repo
|
|
# On cc-ci:
|
|
git -C /root/builder-clone pull
|
|
nixos-rebuild build --flake path:/root/builder-clone#cc-ci
|
|
/nix/store/asn4lkaz25zmg66ig6kavbnb9cgr0jmq-cc-ci-reconcile-bridge/bin/cc-ci-reconcile-bridge
|
|
```
|
|
|
|
## V3 — /recipe-upgrade custom-html-tiny in progress
|
|
|
|
Upgrade PR: `https://git.autonomic.zone/recipe-maintainers/custom-html-tiny/pulls/2`
|
|
- Branch: `upgrade-1.1.0+2.42.0`
|
|
- Head SHA: `156a49ac` (compose.yml: sws 2.38.0→2.42.0; compose.git-pull.yml: git v2.36.3→v2.52.0; version 1.0.1→1.1.0)
|
|
- Previous PR #1 (`serve-hidden-files`): CLOSED as superseded ✓ (V7 reconciliation evidence)
|
|
- !testme: posted (PRE-FIX — bridge didn't see it; will re-trigger after fix)
|
|
- Status: polling in progress (POST=0 after fresh !testme)
|
|
|
|
## Verification item status
|
|
|
|
| Item | Status | Evidence |
|
|
|---|---|---|
|
|
| V1 — !testme trigger + result-back | IN PROGRESS | fresh !testme on custom-html-tiny PR#2 pending |
|
|
| V2 — testme-on-pr.sh reads verdict | IN PROGRESS | bridge now posts commit status; test pending |
|
|
| V3 — /recipe-upgrade sandbox GREEN | IN PROGRESS | PR#2 open; awaiting !testme GREEN |
|
|
| V4 — 3-iter regression loop | TODO | |
|
|
| V5 — stale-test DEFAULT = comment | TODO | |
|
|
| V6 — --with-tests opens+verifies cc-ci test PR | TODO | |
|
|
| V7 — mirror reconciliation | PARTIAL | PR#1 closed as superseded ✓; more evidence via V3 |
|
|
| V8 — /upgrade-all DEFAULT run | TODO | |
|
|
| V8a — cc-ci-upgrader agent | TODO | |
|
|
| V9 — cleanup | TODO | |
|
|
|
|
## Phase 5 gates
|
|
|
|
(None claimed yet — working V3.)
|
|
|
|
## Blocked
|
|
|
|
(none)
|