Skip to content

[SEL-343] Bundle transport v0.3.0; bump to 0.3.3 - #90

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

natevick merged 1 commit into
mainfrom
natevick/sel-343-ruby-core-transport

Conversation

@natevick

@natevick natevick commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Bundles transport v0.3.0 and bumps the gem to 0.3.3. When the server offers it, v0.3.0 sends the test manifest over HTTP (gzip, in chunks) instead of one WebSocket message; against a server that doesn't, it uses the WebSocket as before. No gem code changes.

P6–P8 (real-server HTTP and old-gem rows) follow in a later comment. Only the x86_64-linux binary was executed; the other three platforms are verified by SHA-256 and gem metadata.

Change

  • bin/get_transport: TRANSPORT_REF=v0.3.0 and the four tarball SHA-256 pins, taken from the GitHub release API digests of the published release (tag commit a447773).
  • README.md:56, version.rb 0.3.3, CHANGELOG [0.3.3].

Proof

Head 16a1f65. Rows are frozen in board/lanes/lane-4/ROWS-pr-0.3.3.md; logs are in board/lanes/lane-4/reports/sel343/pr/ under /home/norm/reviews/selective-agent-first/.

  • P1 (P1.log, P1-pins-vs-api.log): bin/get_transport exits 0 for all 4 platforms, and each tarball equals its pin and the API digest. Flipping one digit of the Linux-x86_64 pin exits 1 with "Checksum mismatch" and leaves lib/bin untouched.
  • P2 (P2-build.log, P2-check.log): RELEASE_PLATFORM=<p> gem build for 4 platforms plus the plain gem. Each platform gem has the right platform, lists lib/bin/transport, and carries that platform's tarball binary. The plain gem has no binary.
  • P3 (P3.log): the installed x86_64-linux gem's binary is 0cb66dab69c71d2b4f467036b7a9b7e995319a4cf194fa747222e9509810f11f, equal to the release asset's, and --help lists --stdio.
  • P4 (P4-*.log): bundle exec rspec on Ruby 4.0.7 gives 103 examples, 0 failures, 10 pending with v0.3.0. origin/main (1d33654) with v0.2.0 gives the same.
  • P5 (conformance/analysis/, driver in board/lanes/lane-4/conformance-0.3.3/): suite built at the v0.3.0 tag, with the installed 0.3.3 gem and --require-features manifest_http.
    • manifest_http_upload, _fallback and _stop pass 2 of 2.
    • Over the full default suite, 0.3.3 matches 0.3.2 (bundled v0.2.0) except those three, which go n/a to pass. reconnect_exhausted and uncollected_id fail identically in both.
    • Sabotage: 0.3.2 gives n/a on the three, so the row goes red.

Not established

CI is green on 16a1f65: Ruby run 44579362614 and Multi Ruby Matrix run 44579362513. The real-server runs (P6–P8) are in progress.

🤖 Generated with Claude Code

https://claude.ai/code/session_0186m4FqhSz7Q74Z9QErWSz1

Pins bin/get_transport to transport v0.3.0 (tag commit a447773) with the
four SHA-256 digests from the GitHub release API, taken from the published
assets and re-verified by downloading each tarball. The transport v0.3.0
uploads the test manifest over HTTP (gzip, chunked) when the server offers
it, and keeps the WebSocket path otherwise. No gem code changes: the
transport strips the upload block before the gem sees the command.

SEL-343

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

Copy link
Copy Markdown
Contributor Author

End-to-end results on head 16a1f65. The gem tested is the built x86_64-linux gem, installed from its .gem file with SELECTIVE_TRANSPORT unset. Its bundled transport is the v0.3.0 release binary.

Check Server Result
HTTP manifest upload, ×2 server with the upload route (SEL-342 + SEL-340) Each run: one POST …/chunks/0 and one POST …/commit. Both answered 200, and the commit returned applied. No manifest over the WebSocket; 40/40 test results recorded; exit 0. The server log shows the commit for that run.
Sabotage: 0.3.2 on the same server same 0 POSTs, manifest over the WebSocket, so the HTTP checks are red as expected.
WebSocket fallback, ×2 current main (no upload route) Server sends the plain test_manifest command; one WebSocket manifest with 40 cases; 0 POSTs; exit 0.
Old gems 0.1.8, 0.2.15, 0.3.0, 0.3.1, 0.3.2 main and the upload server All green; they receive the same test_manifest bytes as before.
Old gems vs a server that advertises upload to everyone sabotage build All five fail the byte check, as they should. They still finish green over the WebSocket.

CI is green (runs 44579362614 and 44579362513).

Release note: bin/release can skip a platform gem when a one-time code fails, and it still reports success. So after the release, check that rubygems lists all five 0.3.3 gems (four platforms plus ruby).

@natevick
natevick merged commit 1c8ac52 into main Nov 19, 2026
20 checks passed
@natevick
natevick deleted the natevick/sel-343-ruby-core-transport branch November 19, 2026 21:56
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