Skip to content

test(e2e): mirror by-digest route and preload the 0.13.0 runtime - #183

Merged
maks3201 merged 4 commits into
mainfrom
test/e2e-013-infra
Oct 18, 2026
Merged

maks3201 merged 4 commits into
mainfrom
test/e2e-013-infra

Conversation

@maks3201

Copy link
Copy Markdown
Owner

Merge after the Ollaya 0.13.0 engine PR. Do not enable auto-merge.

E2E infra for Ollaya 0.13.0, independent of the engine change:

  1. hack/mirror/main.go serves GET /v2/<ns>/<model>/manifests/sha256:<hex> for every manifest it serves by tag, keyed on the sha256 of the SERVED (urls-stripped) bytes, plus a MIRROR_TAG_MOVED mode. These are the requests a 0.13.0 digest pull makes.
  2. Preload the runtime image: hack/kind-up.sh default and .github/workflows/test-e2e.yml OLLAYA_IMAGE -> ghcr.io/ollaya-dev/ollaya:0.13.0. The chaos/ha/nightly/upgrade workflows do not set OLLAYA_IMAGE; they inherit kind-up.sh's default, so these two edits cover every e2e workflow. test-e2e-gpu.yml left unchanged (0.12.1-cuda) as instructed.

Until the engine default moves to 0.13.0, PR e2e pulls 0.12.1 at runtime instead of the preload; land this with/after the engine PR.

Note: hack/mirror/main.go here is identical to the mirror change in the digest-restore spec PR; whichever lands second needs a trivial rebase.

Verification: gofmt clean; go vet ./test/... exit 0; bash -n + shellcheck hack/kind-up.sh clean; actionlint test-e2e.yml exit 0. Mirror run locally: GET /manifests/sha256: = 200, = 404.

@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@maks3201
maks3201 enabled auto-merge (squash) October 14, 2026 07:56
@sonarqubecloud

Copy link
Copy Markdown

@maks3201
maks3201 merged commit d569a80 into main Oct 18, 2026
27 checks passed
@maks3201
maks3201 deleted the test/e2e-013-infra branch October 18, 2026 12: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