Skip to content

fix(test): update e2e UpdateProgress calls for new cancellable arg - #10460

Merged
mudler merged 1 commit into
masterfrom
fix/e2e-updateprogress-cancellable-arg
Jun 22, 2026
Merged

fix(test): update e2e UpdateProgress calls for new cancellable arg#10460
mudler merged 1 commit into
masterfrom
fix/e2e-updateprogress-cancellable-arg

Conversation

@localai-bot

Copy link
Copy Markdown
Collaborator

Problem

PR #10454 added a cancellable bool parameter to GalleryStore.UpdateProgress, but two callers under tests/e2e/distributed/ still used the old 4-arg signature. This broke the build on master:

tests/e2e/distributed/gallery_distributed_test.go:57:68: not enough arguments in call to galleryStore.UpdateProgress
tests/e2e/distributed/phase4_test.go:107:69: not enough arguments in call to stores.Gallery.UpdateProgress

Both golangci-lint and tests-e2e-backend failed to compile as a result. (The tests job failure on #10454 was a separate, unrelated CodeQL SARIF-upload error caused by the source branch being deleted on merge - not a code issue.)

Fix

Pass cancellable=true to both calls (each op is a downloading install, which is cancellable) and assert the flag is persisted, exercising the behavior #10454 introduced.

Testing

go vet ./tests/e2e/distributed/ compiles clean.

PR #10454 added a `cancellable bool` parameter to GalleryStore.UpdateProgress
but missed two callers under tests/e2e/distributed, breaking the build on
master (golangci-lint and tests-e2e-backend both failed to compile with
"not enough arguments in call to ... UpdateProgress").

Pass cancellable=true (both ops are downloading installs, which are
cancellable) and assert the flag is persisted, exercising the new behavior.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Assisted-by: Claude:claude-opus-4-8 [Claude Code]
@mudler
mudler merged commit 69c1648 into master Jun 22, 2026
19 of 20 checks passed
@mudler
mudler deleted the fix/e2e-updateprogress-cancellable-arg branch June 22, 2026 21:45
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.

2 participants