Skip to content

Tags: gitpod-io/leeway

Tags

v0.20.0

Toggle v0.20.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #332 from gitpod-io/wv/fix-cached-package-dependen…

…cy-validation

fix: validate all transitive dependencies for cached packages

v0.19.0

Toggle v0.19.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #326 from gitpod-io/wv/add-tracing-for-build-command

Add root trace span for build command and fix S3 cache timeout

v0.18.0

Toggle v0.18.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #323 from gitpod-io/wv/add-phase-spans-otel

feat: add nested phase spans for OpenTelemetry tracing

v0.17.0

Toggle v0.17.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Merge pull request #319 from gitpod-io/kb/fix-s3-batch-test-flake

Fix flaky S3 batch optimization test

v0.10.8

Toggle v0.10.8's commit message
Release v0.10.8

Add immediate cache upload mode to handle external build interruptions.

New feature:
- LEEWAY_CACHE_UPLOAD_IMMEDIATE environment variable enables per-package
  uploads immediately after successful build
- Prevents loss of build artifacts when CI jobs timeout or are cancelled
- Maintains backward compatibility (default: false)

This complements v0.10.7's fix for internal build failures by also handling
external interruptions that prevent the final upload phase from executing.

v0.10.7

Toggle v0.10.7's commit message
Release v0.10.7

Fix cache upload behavior to preserve successfully built packages even when
overall build fails. This significantly reduces rebuild time after cache
cleanup in complex projects.

v0.16.0

Toggle v0.16.0's commit message
refactor: consolidate SBOM extension constants in cache package

Move SBOM file extension constants to pkg/leeway/cache/types.go to avoid
duplication across sbom.go, s3.go, and signing/upload.go.

Add SBOMSidecarExtensions() function that returns all SBOM sidecar file
extensions, ensuring consistency across the codebase.

Co-authored-by: Ona <no-reply@ona.com>

v0.16.0-rc13

Toggle v0.16.0-rc13's commit message
refactor: consolidate SBOM extension constants in cache package

Move SBOM file extension constants to pkg/leeway/cache/types.go to avoid
duplication across sbom.go, s3.go, and signing/upload.go.

Add SBOMSidecarExtensions() function that returns all SBOM sidecar file
extensions, ensuring consistency across the codebase.

Co-authored-by: Ona <no-reply@ona.com>

v0.16.0-rc12

Toggle v0.16.0-rc12's commit message
fix: resolve builtin variables in PackageInternal (prep, env)

The resolveBuiltinVariables function only resolved builtin variables
(${__pkg_version}, ${__git_commit}, ${__git_commit_short}) in Config,
but FindUnresolvedArguments checks both PackageInternal and Config.

This caused builtin variables in prep or env fields to be flagged as
unresolved, failing the build with errors like:
  cannot build with unresolved argument "${__git_commit_short}"

Now resolves builtin variables in PackageInternal before Config.

Co-authored-by: Ona <no-reply@ona.com>

v0.16.0-rc11

Toggle v0.16.0-rc11's commit message
fix: resolve builtin variables in PackageInternal (prep, env)

The resolveBuiltinVariables function only resolved builtin variables
(${__pkg_version}, ${__git_commit}, ${__git_commit_short}) in Config,
but FindUnresolvedArguments checks both PackageInternal and Config.

This caused builtin variables in prep or env fields to be flagged as
unresolved, failing the build with errors like:
  cannot build with unresolved argument "${__git_commit_short}"

Now resolves builtin variables in PackageInternal before Config.

Co-authored-by: Ona <no-reply@ona.com>