Repository navigation
test: make smoke 108/109 process-compose-version-aware and pin CI to v1.124.0 - #287
Merged
Merged
Conversation
…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>
Contributor
fallow code-quality reportThresholds are tunable — see |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #273
Root cause
process-compose v1.124.0 fixed the JSON round trip that turned
vars.PC_REPLICA_NUMfrom anintinto afloat64. On v1.122.0,GET /process/info/webfollowed byPOST /processwith 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:
ADR-0009's conclusion still holds
Reason (1) for rejecting
POST /processholds 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.tsDT_PROBE=1toenvironment), 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.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 identicalPOST /processdoes not restart anything reliably.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_VERSIONgoes from v1.122.0 to v1.124.0. Theprocess-compose_linux_amd64.tar.gzasset exists in that release. The comment no longer says CI tests the minimum version. The supported minimum stays v1.122.0 (README anddocs/development.mdare unchanged;development.mdalready says only "a pinned release").Verification
DEVTREES_REAL_PC_E2E=1 vp test run src/real-pc.smoke.test.ts -t "scenario 10[5-9]": 5 passedPATH): 5 passedvp check: pass.vp test: 1772 passed, 80 skipped🤖 Generated with Claude Code