Skip to content

[SEL-343] php-phpunit: bundle transport v0.3.0 with HTTP manifest upload - #3

Merged
natevick merged 1 commit into
mainfrom
natevick/sel-343-php-phpunit-transport
Nov 19, 2026
Merged

natevick merged 1 commit into
mainfrom
natevick/sel-343-php-phpunit-transport

Conversation

@natevick

@natevick natevick commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the transport to v0.3.0 (a447773). It uploads the test manifest over HTTP when the server offers it (SEL-161) and falls back to the WebSocket otherwise; the client sends the same test_manifest line as before. Conformance now passes --require-features manifest_http, so a transport that drops the feature fails the check instead of reporting n/a.

Changes

  • Pins: src/TransportBinary.php (RELEASE and four SHA256 entries), .github/workflows/phpunit.yml, tests/Unit/TransportBinaryTest.php, README.md (2 lines). 10 lines.
  • --require-features manifest_http in the conformance loop in .github/workflows/phpunit.yml (and the README command that mirrors it).
  • The Docker harness hand-rolls the conformance loop, so it never runs the workflow line. A harness step checks the line is present; CI exercises it.
  • README.md line 17 called the pinned release "the first tag with --stdio", which v0.3.0 is not; that clause is removed.

Proof (head 0e10e95, all in Docker against a local Selective server)

check result
conformance: released transport-Linux-x86_64 (sha256 0cb66dab…) + --require-features manifest_http manifest_http_upload, _fallback, _stop ok; the other 26 scenarios unchanged from main
client suite with that binary 62 tests, 0 failures
local server that offers upload (selective 8f92a94) manifest sent as HTTP chunks + one commit, no WebSocket manifest, applied once, run closed green
local server without upload (selective main aca0ef7) no upload requests, one WebSocket manifest, run closed green
sabotage: v0.2.0 transport conformance red: required transport feature manifest_http never exercised ×3; the HTTP-path checks go red against the upload server
pin integrity the 4 pinned sha256s equal the v0.3.0 asset digests; with no override and an empty HOME, the client downloads the Linux asset and installs 0cb66dab…; one flipped digit → …has sha256 9a14ceee…, not the pinned 8a14ceee…. It was not used., nothing installed

Pins came from the release asset digests (gh api repos/selectiveci/transport/releases/tags/v0.3.0), never a local build: transport-Linux-x86_64.tar.gz 9a14ceee…bdc8d.

Not established: the new flag line in the CI workflow was only checked for presence locally; this PR's CI is its first execution; the runs used the pre-merge server heads above, not production.

🤖 Generated with Claude Code

https://claude.ai/code/session_0186m4Fs9sjoDBCLEPoYs7qD

Pins transport v0.3.0 (a447773), which uploads the test manifest over
HTTP when the server offers it (SEL-161) and falls back to the
WebSocket otherwise. Conformance now passes --require-features
manifest_http, so a transport that drops the feature fails instead of
reporting n/a.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186m4Fs9sjoDBCLEPoYs7qD
@natevick

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

To use Codex here, create a Codex account and connect to github.

@natevick
natevick merged commit 97d7fcb into main Nov 19, 2026
16 checks passed
@natevick
natevick deleted the natevick/sel-343-php-phpunit-transport branch November 19, 2026 21:57
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.

1 participant