Skip to content

[SEL-343] java-junit: bundle transport v0.3.0 with HTTP manifest upload - #2

Merged
natevick merged 2 commits into
mainfrom
natevick/sel-343-java-junit-transport
Nov 19, 2026
Merged

natevick merged 2 commits into
mainfrom
natevick/sel-343-java-junit-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: pom.xml (transport.version and the four transport.sha256.*), BinaryTest.java (version assertion), .github/workflows/ci.yml, README.md (6 lines). 14 lines.
  • --require-features manifest_http in both transport-conformance run calls in scripts/conformance.sh (select and record).
  • No test checks the real hashes (BinaryTest uses synthetic pins and CI sets SELECTIVE_TRANSPORT), so the four values come from the release asset digests, not a local build.

Proof (head 8e52dd6, 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 in both passes (select and record); the other 26 scenarios unchanged from main
client suite with that binary 65 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 → selective refused …: sha256 9a14ceee…, expected 8a14ceee…, 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 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.

Every verify job on 8e52dd6 failed resolving org.junit:junit-bom from
central; the same POMs return 200 now. No code change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0186m4Fs9sjoDBCLEPoYs7qD
@natevick
natevick merged commit 0faeb00 into main Nov 19, 2026
23 of 24 checks passed
@natevick
natevick deleted the natevick/sel-343-java-junit-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