Skip to content

fix(deploy): add server-side tag filter to Quay version query#16

Merged
chadcrum merged 1 commit into
dcm-project:mainfrom
chadcrum:add-quay-tag-filter
May 6, 2026
Merged

fix(deploy): add server-side tag filter to Quay version query#16
chadcrum merged 1 commit into
dcm-project:mainfrom
chadcrum:add-quay-tag-filter

Conversation

@chadcrum
Copy link
Copy Markdown
Contributor

@chadcrum chadcrum commented May 6, 2026

Summary

  • Adds filter_tag_name=like:v% to the Quay API call in resolve_latest_version() so the 100-tag window only returns semver tags
  • Prevents CI-pushed tags (sha-*, short SHAs, main, latest) from crowding out release tags as repos grow
  • Follow-up from PR #15 review comment by @ygalblum

Test plan

  • Verified API response without filter returns 49 mixed tags for catalog-manager
  • Verified API response with filter returns only v* tags
  • Confirmed resolve_git_sha() (which needs sha-* tags) is unaffected — it uses a separate API call

🤖 Generated with Claude Code

Pre-filter tags with filter_tag_name=like:v% so the 100-slot window
only contains semver tags, preventing CI-pushed tags from crowding
out release tags as repos grow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Chad Crum <chadcrum@users.noreply.github.com>
@chadcrum chadcrum merged commit 1bdfa51 into dcm-project:main May 6, 2026
4 checks passed
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.

3 participants