Skip to content

[fix] Embed CAPL version in ko images - #1135

Merged
AshleyDumaine merged 1 commit into
mainfrom
fix/ko-image-version
Sep 17, 2026
Merged

AshleyDumaine merged 1 commit into
mainfrom
fix/ko-image-version

Conversation

@komer3

@komer3 komer3 commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:

Fixes the ko build targets so release images receive CAPL's linker-injected version instead of starting as dev. It also corrects the malformed local ko cache assignment.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Built a local ko image with VERSION=v0.10.0 and verified its startup log reports CAPL version: v0.10.0.

TODOs:

  • includes documentation (not needed; no user-facing contract changes)
  • adds unit tests (not needed; tested the built image)
  • adds or updates e2e tests (not needed; build-time version injection only)

@codecov

codecov Bot commented Sep 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 70.14%. Comparing base (4c9eb88) to head (13796ec).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1135   +/-   ##
=======================================
  Coverage   70.14%   70.14%           
=======================================
  Files          71       71           
  Lines        6720     6720           
=======================================
  Hits         4714     4714           
  Misses       1715     1715           
  Partials      291      291           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@AshleyDumaine
AshleyDumaine enabled auto-merge (squash) September 17, 2026 16:12
@AshleyDumaine
AshleyDumaine merged commit dda2c93 into main Sep 17, 2026
30 checks passed
@AshleyDumaine
AshleyDumaine deleted the fix/ko-image-version branch September 17, 2026 16:18

This branch was successfully deployed

1 active deployment
prod — 13796ec2 Deployed Sep 17, 2026 by komer3 via e2e-test (quick) / quick-e2e-tests #5390
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants