Skip to content

test: make smoke 108/109 process-compose-version-aware and pin CI to v1.124.0 - #287

Merged
pantoninho merged 1 commit into
mainfrom
test/273-pc-v124-smoke
Nov 18, 2026
Merged

pantoninho merged 1 commit into
mainfrom
test/273-pc-v124-smoke

Conversation

@pantoninho

Copy link
Copy Markdown
Owner

Closes #273

Root cause

process-compose v1.124.0 fixed the JSON round trip that turned vars.PC_REPLICA_NUM from an int into a float64. On v1.122.0, GET /process/info/web followed by POST /process with that same body restarted the process once, because process-compose saw a config change that was not real. An identical second POST did nothing. On v1.124.0 even the first identical POST does nothing (same pid). A POST with a real config change still restarts the process on both versions.

That one fix explains both failures on v1.124.0:

  • Scenario 108 expected the update to restart the process. Nothing restarted, so process-compose never exited.
  • Scenario 109 expected the first identical update to restart the process. It no longer does.

ADR-0009's conclusion still holds

Reason (1) for rejecting POST /process holds on both versions. With a real config change, a shell-wrapped draining server (python3 server.py $PORT; echo web-exited) loses its port and process-compose exits, while an exec'd server restarts cleanly. Scenario 107 (process restart) passes on both versions. Before this change, the full smoke suite on v1.124.0 was 77/79, and only 108 and 109 failed.

Changes

  • src/real-pc.smoke.test.ts
    • Scenario 108 now POSTs the info body with a real but harmless change (it appends DT_PROBE=1 to environment), so the update restarts the process on every version. The assertions are the same: process-compose exits, no server survives, and the port is dead.
    • Scenario 109 checks the version with process-compose version. Below v1.124.0, the first identical POST restarts the process. From v1.124.0 on, it does nothing: the pid is unchanged and the instance still serves. On every version, the second identical POST restarts nothing. The new title states the point: an identical POST /process does not restart anything reliably.
    • The comment above scenarios 107–109 now says they were checked on both versions.
  • docs/adr/0009-...md: one sentence added to reason (2) of the bare devtrees restart: restart every booted isolated service in place (ADR-0009) #225 amendment, covering v1.124.0. The decision is unchanged.
  • .github/workflows/smoke-real-pc.yml: PC_VERSION goes from v1.122.0 to v1.124.0. The process-compose_linux_amd64.tar.gz asset exists in that release. The comment no longer says CI tests the minimum version. The supported minimum stays v1.122.0 (README and docs/development.md are unchanged; development.md already says only "a pinned release").

Verification

  • v1.124.0: DEVTREES_REAL_PC_E2E=1 vp test run src/real-pc.smoke.test.ts -t "scenario 10[5-9]": 5 passed
  • v1.122.0 (same command, v1.122.0 first on PATH): 5 passed
  • vp check: pass. vp test: 1772 passed, 80 skipped

🤖 Generated with Claude Code

…v1.124.0

process-compose v1.124.0 fixed the JSON round trip that turned
vars.PC_REPLICA_NUM from an int into a float64, so an identical
POST /process no longer restarts the process. Scenario 108 now posts a
real config change (an added env entry), and scenario 109 branches on the
installed version. ADR-0009's conclusion is unchanged; the amendment notes
the v1.124.0 behaviour. The smoke workflow now pins v1.124.0; the supported
floor stays v1.122.0.

Closes #273

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

fallow code-quality report


Audit scope: 4 changed files vs origin/main (bde4d7a..HEAD)
note: skipped 47 files matching default duplicates ignores (use --explain-skipped for the list)
✓ No issues in 4 changed files (0.14s)

Thresholds are tunable — see .fallowrc.jsonc and the README.

@pantoninho
pantoninho merged commit 43c3b33 into main Nov 18, 2026
4 checks passed
@pantoninho
pantoninho deleted the test/273-pc-v124-smoke branch November 18, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Real-PC smoke scenarios 108/109 fail on process-compose v1.124.0 (CI pins v1.122.0)

1 participant