launchers: default LOOP_TIER to go (zen endpoint dead server-side) #23

Merged
autonomic-bot merged 1 commits from tier-default-go into main 2026-09-21 16:15:55 +00:00
Owner

What

Flip the in-code default OpenCode tier from zen to go in both launchers:

  • cc-ci-plan/launch-upgrader.py: UPGRADER_TIER default + _TIER_CFG fallback → go
  • cc-ci-plan/launch-report.py: REPORT_TIER default + _TIER_MODEL fallback → go
  • nix/modules/cc-ci.nix: refresh the stale 2026-08-16 tinfoil/zen comment block to document the current go + glm-5.3-flash config

Why

The ZEN endpoint (opencode/glm-5.2) is erroring server-side (UnknownError: Unexpected server error — probed 2026-09-18 and again 2026-09-21), while the GO tier works. The weekly report agent for the completed 2026-09-18 run died on ZEN: it was launched from inside the resumed run's tmux chain where LOOP_TIER=go did not survive, fell back to the in-code zen default, produced zero output, and the watchdog's one resume hit the same error. No report has been published for week 2026-09-18.

upgrader.env already sets LOOP_TIER=go for the systemd-fired runs — but the Sep 18 incident shows env can get lost in the tmux→agent→launch-report chain, and the in-code default is the last line of defense. The supervisor launcher already defaults to the go tier.

Evidence

  • With a deliberately empty env, both launchers now resolve: Tier: go · Model: opencode-go/glm-5.2.
  • opencode/glm-5.2 (zen) probe → UnknownError (2026-09-18 07:09 and 2026-09-21 15:58); opencode-go/glm-5.2 (go) probe → OK; the resumed 2026-09-18 run completed its remaining 5 recipes green on the go tier.
  • python3 -m py_compile clean on both launchers.

Deployment note: the host units exec these scripts straight from /srv/cc-ci (→ this worktree), so merging + pulling is the whole deploy — no rebuild required (the nix change is comment-only).

## What Flip the in-code default OpenCode tier from `zen` to `go` in both launchers: - `cc-ci-plan/launch-upgrader.py`: `UPGRADER_TIER` default + `_TIER_CFG` fallback → `go` - `cc-ci-plan/launch-report.py`: `REPORT_TIER` default + `_TIER_MODEL` fallback → `go` - `nix/modules/cc-ci.nix`: refresh the stale 2026-08-16 tinfoil/zen comment block to document the current go + glm-5.3-flash config ## Why The ZEN endpoint (`opencode/glm-5.2`) is erroring server-side (`UnknownError: Unexpected server error` — probed 2026-09-18 and again 2026-09-21), while the GO tier works. The weekly **report** agent for the completed 2026-09-18 run died on ZEN: it was launched from inside the resumed run's tmux chain where `LOOP_TIER=go` did not survive, fell back to the in-code `zen` default, produced zero output, and the watchdog's one resume hit the same error. No report has been published for week 2026-09-18. `upgrader.env` already sets `LOOP_TIER=go` for the systemd-fired runs — but the Sep 18 incident shows env can get lost in the tmux→agent→launch-report chain, and the in-code default is the last line of defense. The supervisor launcher already defaults to the go tier. ## Evidence - With a deliberately empty env, both launchers now resolve: `Tier: go · Model: opencode-go/glm-5.2`. - `opencode/glm-5.2` (zen) probe → `UnknownError` (2026-09-18 07:09 and 2026-09-21 15:58); `opencode-go/glm-5.2` (go) probe → `OK`; the resumed 2026-09-18 run completed its remaining 5 recipes green on the go tier. - `python3 -m py_compile` clean on both launchers. Deployment note: the host units exec these scripts straight from `/srv/cc-ci` (→ this worktree), so merging + pulling is the whole deploy — no rebuild required (the nix change is comment-only).
autonomic-bot added 1 commit 2026-09-21 16:15:47 +00:00
autonomic-bot merged commit edf1e2bd39 into main 2026-09-21 16:15:55 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: recipe-maintainers/cc-ci-orchestrator#23