perf: Reuse artifact TLS connections within each batch #634

Open
erikinkinen wants to merge 0 commits from perf/runtime-artifact-tls-lifetime into feature/shared-development-source-selection
Owner

Summary and rationale

Reuse one canonical HTTP/1.1 TLS connection for each runtime artifact batch. Repeated handshakes consumed the existing upload budget; create, each file transfer and finalize now remain distinct requests on the same connection.

Tracking and scope

Depends on shared development source selection.

Architecture, authority and failure behavior

Keep the original deadline, CA input, origin and run ceiling. Follow no redirects or proxies and retry no failed request. Upload and download retire every response and their connection, then withdraw the client credential. Preserve the first error and independent retirement failures without reflecting server diagnostics.

Validation evidence

Controls exercise the wire, deadline, credential withdrawal and failure paths, including a real local HTTP/1.1 batch. Remote CI acceptance remains pending.

Review checklist

  • Cover both upload and download lifetimes.
  • Preserve the existing transfer deadline and endpoint scope.
  • Merge after the prerequisite and required checks.
## Summary and rationale Reuse one canonical HTTP/1.1 TLS connection for each runtime artifact batch. Repeated handshakes consumed the existing upload budget; create, each file transfer and finalize now remain distinct requests on the same connection. ## Tracking and scope Depends on [shared development source selection](https://git.erikinkinen.fi/erix/integration/pulls/518). ## Architecture, authority and failure behavior Keep the original deadline, CA input, origin and run ceiling. Follow no redirects or proxies and retry no failed request. Upload and download retire every response and their connection, then withdraw the client credential. Preserve the first error and independent retirement failures without reflecting server diagnostics. ## Validation evidence Controls exercise the wire, deadline, credential withdrawal and failure paths, including a real local HTTP/1.1 batch. Remote CI acceptance remains pending. ## Review checklist - [x] Cover both upload and download lifetimes. - [x] Preserve the existing transfer deadline and endpoint scope. - [ ] Merge after the prerequisite and required checks.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 00:17:07 +01:00
perf: Reuse runtime artifact TLS connections within each batch
Some checks failed
Markdown / markdown (push) Successful in 23s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m39s
CI / rust (push) Failing after 9m33s
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
35aa1cbded
Keep distinct artifact requests on one canonical HTTP connection under the original deadline. Retire responses, transport and the client credential on every outcome while preserving the first failure and independent cleanup errors.
Some checks failed
Markdown / markdown (push) Successful in 23s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m39s
CI / rust (push) Failing after 9m33s
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'perf/runtime-artifact-tls-lifetime:perf/runtime-artifact-tls-lifetime'
git switch 'perf/runtime-artifact-tls-lifetime'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/shared-development-source-selection'
git merge --no-ff 'perf/runtime-artifact-tls-lifetime'
git switch 'perf/runtime-artifact-tls-lifetime'
git rebase 'feature/shared-development-source-selection'
git switch 'feature/shared-development-source-selection'
git merge --ff-only 'perf/runtime-artifact-tls-lifetime'
git switch 'perf/runtime-artifact-tls-lifetime'
git rebase 'feature/shared-development-source-selection'
git switch 'feature/shared-development-source-selection'
git merge --no-ff 'perf/runtime-artifact-tls-lifetime'
git switch 'feature/shared-development-source-selection'
git merge --squash 'perf/runtime-artifact-tls-lifetime'
git switch 'feature/shared-development-source-selection'
git merge --ff-only 'perf/runtime-artifact-tls-lifetime'
git switch 'feature/shared-development-source-selection'
git merge 'perf/runtime-artifact-tls-lifetime'
git push origin 'feature/shared-development-source-selection'
Sign in to join this conversation.
No description provided.