Skip to content

Add agent version support - #52

Merged
yusufozturk merged 1 commit into
mainfrom
dev-agent-version
Jul 31, 2026
Merged

Add agent version support#52
yusufozturk merged 1 commit into
mainfrom
dev-agent-version

Conversation

@yusufozturk

@yusufozturk yusufozturk commented Jul 31, 2026

Copy link
Copy Markdown
Member

Summary by CodeRabbit

  • Bug Fixes
    • Agent images without explicit tags now automatically use the subject’s version during deployment.
    • Image references with tags, digests, registry ports, or empty values remain unchanged.
    • Improved handling of registry hosts that include port numbers.

@coderabbitai

coderabbitai Bot commented Jul 31, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8b3c47dd-d22d-4eda-a5ec-fdd55cac641c

📥 Commits

Reviewing files that changed from the base of the PR and between 54769a5 and ef17634.

📒 Files selected for processing (2)
  • internal/orchestrator/agent_image_test.go
  • internal/orchestrator/docker.go

Walkthrough

Untagged agent image references now receive the subject version before Compose rendering. Explicit tags, digests, empty values, and registry ports retain their existing behavior. Table-driven tests cover these cases.

Changes

Agent image versioning

Layer / File(s) Summary
Apply and validate agent image versions
internal/orchestrator/docker.go, internal/orchestrator/agent_image_test.go
applyVersionIfUntagged appends versions only to untagged images. Agent image selection uses the helper. Tests cover tags, digests, registry ports, and empty values.

Estimated code review effort: 2 (Simple) | ~10 minutes

Suggested reviewers: erenaslandev, namles

Poem

A rabbit tags images with care,
Adding versions only where bare.
Ports and digests stay in place,
Tests hop through each edge-case space.
Compose renders neat and bright!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: adding version support for agent image references.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev-agent-version

Comment @coderabbitai help to get the list of available commands.

@yusufozturk
yusufozturk merged commit 8b48d27 into main Jul 31, 2026
5 checks passed
@yusufozturk
yusufozturk deleted the dev-agent-version branch July 31, 2026 08:14
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