Repository navigation
Model: glm-5.3 — test: e2e suite — real codex through bili (warmup/load/compress/purity/forge) - #329
Conversation
…nses upstream (warmup / load / ACP compress / purity / forge)
📦 Built Package ArtifactBranch: Option A — Install from npm PR tag (recommended)npm install -g billion-context@pr-329Each push to this PR publishes a new version under the Option B — Download artifact
tar xzf billion-context-pr329.tgz
npm install -g packageThis comment is automatically updated on each push. |
[bot] Picked up. PR #329 is already open on branch Verifying the tree now: typecheck, |
[bot] Verification complete on branch Pre-flight (this tree = master + this commit)
Full-suite note: the Design checks that look right:
Follow-up issue filed: the preflight fail-fast × soft-protection livelock is now tracked at #330 — over-window payload with all foldable ranges inside the protected zone → permanent The other two report-only bugs need nothing from this PR: the UA regression is already fixed in #325 (c507e0c), and the relay's ~2× usage inflation is a relay property the suite already works around via the 128k forge restart (noted in #330's impact section as a compounding factor). PR stays open for your review: #329 |
…tests/e2e/README.md
Model: glm-5.3 (vllm)
What
tests/e2e/e2e-codex.test.ts— a single gated e2e test that runs the real codex CLI (0.147) through a bili proxy against a real Responses-compatible upstream, asserting the full context-management lifecycle:1400)seq 1 1500 | tail -n 1was observed), so growth is deterministicBILI_LAUNCHER_MODEL_WINDOWS), assertspreflight compressed/compress requestedand a usage drop1500, 30217survived T1 fold + T2 distill)E2E_FORGE=1) — restart under a 128k window (persist reloads the same session; blocks survive), then a codex-side auto-compact limit below the ACP trigger makes codex emit its native compaction request; assertscodex compact intercepted … upstream not contacted, afc_bili_compaction item in the codex rollout, and intact recall after the forged compactPlus
test:e2escript,tests/e2e/README.md, and aworkflow_dispatchCI job (ci-e2e.yml) with upstream URL/key from repo secrets.Gating
ACP_TEST_E2E=1to run) —npm teststays freeE2E_CHECK=1preflight: codex version + dist path + upstream probe, no tokensE2E_FORGE=1and a dist withBILI_CODEX_COMPACTsupport (feat: intercept + forge codex native compaction when ACP is healthy (#321 PR-E2) #325)Real-device validation (local, full stack incl. #317–#328 + #325 with UA fix)
pass 1 fail 0in 5.5 min against the local relay; forge evidence:gate=true steady=45818/128000 activeBlocks=3 → forged SSE with 3 block summary(s), upstream not contacted.Bugs found while building this (report-only; not fixed here)
user-agent: codex_exec/0.147.0 …, notcodex_cli_rs/…—isCodexClientnever matched, so the feat: intercept + forge codex native compaction when ACP is healthy (#321 PR-E2) #325 intercept was dead code for exec-mode clients. Fix pushed to feat: intercept + forge codex native compaction when ACP is healthy (#321 PR-E2) #325 (c507e0c).Pre-flight
npm test816/816 ✓E2E_CHECKpreflight ✓ on this tree