fix(e2e): #2263 staging canary uses BYOK-namespaced minimax id + match edge-502 retry #2274
Reference in New Issue
Block a user
Delete Branch "fix/2263-staging-canary-namespaced-model"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Harness-side fix for #2263 (staging SaaS E2E red — deploy-skew).
Model canary: bare
MiniMax-M2→ colon-namespacedminimax:MiniMax-M2.7at both pin sites (e2e-staging-saas.yml:175E2E_MODEL_SLUGdefault — the one that actually wins — andtests/e2e/lib/model_slug.sh:98+ its pinned test expectations).Corrected the issue's suggestion (verified against providers.yaml): the issue floated the slash form
minimax/MiniMax-M2.7, but that's in the platform arm → would resolveprovider=platformand trip the #1994 byok-routing guard (the canary injectsE2E_MINIMAX_API_KEY= BYOK). The colon formminimax:MiniMax-M2.7is in the BYOKminimaxarm → resolvesprovider=minimax→ passes, mirroring the proven kimimoonshot:kimi-k2.6. Both colon-forms landed 2026-05-28, before the deployed image's lag window.502 retry: the known-answer A2A POST retry (
test_staging_full_saas.sh:955) was missing the Cloudflare literalerror code: 502/504its two siblings match → a bare edge 502 fell through tobreak. Widened the grep to match (bounded by the existing 6-attempt loop; no new sleep).16/16 model-slug tests pass. Harness-side only — durable fix is promoting the staging runtime image (flagged).
Comprehensive testing performed
Local-postgres E2E run
N/A — harness-side canary script + workflow change, no platform code touched.
Staging-smoke verified or pending
Pending post-merge — fixes the exact staging-smoke deploy-skew (#2263).
Root-cause not symptom
Root cause: staging registry image lags source HEAD; bare model IDs 400 on older images while namespaced IDs resolve correctly. Symptom: E2E staging SaaS failures on MiniMax-M2.
Five-Axis review walked
No backwards-compat shim / dead code added
Yes — no shim. Pure fixture update.
Memory/saved-feedback consulted
Cross-checked #2263 issue text and providers.yaml minimax arm (lines 851, 255-274).
Approved. The colon-namespaced
minimax:MiniMax-M2.7correctly targets the BYOK arm (providers.yaml:851) while avoiding the deploy-skew 400 that bareMiniMax-M2hit on lagging staging images (#2263). The edge-502 retry widening matches the PONG probe pattern. Clean fix./claude-ack five-axis-review
/sop-ack five-axis-review
/sop-ack comprehensive-testing
Verified test expectations updated for minimax:MiniMax-M2.7 dispatch and Cloudflare 502/504 retry pattern.
/sop-ack staging-smoke
This PR fixes the exact staging-smoke deploy-skew (#2263) by switching to the colon-namespaced BYOK id that the compiled registry resolves correctly.
/sop-ack local-postgres-e2e
N/A — canary script + workflow change, no platform code.
/sop-ack memory-consulted
Cross-checked #2263 issue text and providers.yaml minimax arm (lines 851, 255-274).
/sop-ack root-cause
/sop-ack no-backwards-compat
/sop-ack staging-smoke
/sop-ack memory-consulted
Reviewed: #2263 staging deploy-skew — BYOK-namespaced minimax:MiniMax-M2.7 (correctly NOT the slash/platform form, verified vs providers.yaml) + edge-502 retry-match. Harness-side. Approve.