Skip to content

build: qualify official swift-http-server 0.5.0 for HTTP RC - #21

Open
ThorFuchs wants to merge 3 commits into
mainfrom
release/swift-http-server-0.5.0
Open

ThorFuchs wants to merge 3 commits into
mainfrom
release/swift-http-server-0.5.0

Conversation

@ThorFuchs

@ThorFuchs ThorFuchs commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Proposed 1.0 dependency: official swift-http-server 0.5.0

Independent of the connection-ownership changes in HTTP PR #20 and SwiftNIO early-EOF issue #12.

  • Switch only the HTTP-server dependency to exact 0.5.0 (released 2026-11-04), tag source commit 3e50d9404eb916cd6d030b81af90fdaec73efebc.
  • Update both root and conformance fixture Package.resolved; release graph check now requires the same immutable revision and version.
  • Keep existing HTTP/1.1, TLS, resource, cancellation, authorization contracts; no unsafe flags, disabled tests or timeout increases.

Actual CI evidence, not a green release assertion

CI 45056947582, commit 748f0fb99ac9:

  • Linux optimized compile-only gate passed.
  • Optimized macOS ARM64 server fixture failed link. In addition to NIOHTTPServer.Connection.HTTPProtocol, the linker reports missing NIOHTTPServer.Reader.State and NIOHTTPServer.Reader.State.Reading metadata accessors, referenced from external HTTPRequestReader.collect and MCPHTTPRequestHandler.handle. These are noncopyable internal types in published swift-http-server 0.5.0. Source ownership/ABI/export issue needs an independent minimal reproducer/upstream diagnosis; do not conflate with SwiftNIO early-EOF.
  • Release-mode server/client referees did not run after the link failure.
  • Regular macOS job status pending at time of edit.

PR #20 v3 has green macOS debug SDK + server/client conformance and Linux compile, but must still prove optimized ARM64; combining it with this version update will require a fresh exact-SHA matrix. Don't merge or tag this PR until the 0.5.0 optimized-link gap is resolved.

Use exact 0.5.0 tag, align both SwiftPM resolution pins and enforce audited source revision in release graph gate. Document independently from PR #20 ownership experiment.
@ThorFuchs
ThorFuchs marked this pull request as ready for review November 23, 2026 19:04
ThorFuchs added a commit that referenced this pull request Nov 25, 2026
…28)

H1 — official SwiftNIO release integration and Studio-only CI.

Requires SwiftNIO 2.105.2+; root/fixture locks select official tag b003027fc38b649a43e9aad77c3d4e4a2c5b6997 containing apple/swift-nio#3783. Remove three known-issue scopes without altering assertions or deadlines. No runtime changes, fork or unrelated pin drift. Core remains d892bd34add1ad067ae6f286bd74c824486d8c07.

H1.3 qualification receipt (2026-11-25):
- Native full run at 9c1f78e: 13/13 stages, 245/245 cumulative Swift tests, 4/4 referee runs, 812/812 recorded checkout comparisons.
- CI #64 at PR head 576ff38, tested merge 018ab8f, base d2e4cb5: 3/3 jobs PASS on Studio native Debug, optimized Release, and Linux ARM64 optimized compile/link. Both native fixtures linked; all three unmasked disconnect cases passed in both modes, server 37/37 required + 13/13 extensions and client 37/37 (25 OAuth) each mode.
- No hosted runner or GitHub artifact uploads; local native evidence retained. Linux is ARM64 compile-only; AMD64 and runtime qualification remain separate.

CI: https://github.com/ThorFuchs/Swift-MCP-Server-HTTP/actions/runs/45604079743
Reviewed receipt: #28 (comment)
Native receipt: Docs/Release/H1_SWIFTNIO_RELEASE_QUALIFICATION.md

Refs #12 and #27. H2/#20, #21, #25, #14 and final RC1 gates remain open. No claim of complete raw referee coverage or native AMD64 qualification.

Copy link
Copy Markdown
Owner Author

H3.1 — reassessment on integrated H1 (2026-11-25)

#20 has been closed unmerged as superseded by #23; its v3 ownership correction is already in main. H1 main 2cbedd5 is green on the existing HTTP-server revision and official SwiftNIO 2.105.2. The old #21 graph and workflow predate H1; do not rerun or merge this stale branch.

Historical Swift Build and native backend comparisons remain valid for their original graphs, not yet H1. Prepared an isolated H3.1 diagnostic that changes only the disposable manifest/lock inputs to official 0.5.0, verifies all 58 checkout revisions, and attempts both optimized fixture links using Swift Build. No changes to production code or build backend, no hosted jobs, no artifact uploads. Contract. Python syntax and eight synthetic seed/classification controls passed; native execution pending. Keep #21 and #13 open. If link failure reproduces, reduce/report upstream; if both link, perform fresh full qualification before integrating a dependency candidate.

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