Skip to content

Conversation

@WVerlaek
Copy link
Member

Description

When a cached package is used, the validation now checks all transitive dependencies are available, not just direct dependencies. This prevents build failures when a Go/Yarn package consumes a cached Generic/Docker package whose transitive dependencies are missing from the cache.

Related Issue(s)

Fixes https://linear.app/ona-team/issue/CORE-6755/some-builds-fail-if-transitive-dependencies-didnt-build

How to test

  1. Set up a dependency chain: GoPackage X -> GenericPackage A -> DockerPackage B
  2. Have A cached in remote cache but B not cached
  3. Build X - previously this would fail with "package B is not built", now it correctly invalidates A and rebuilds both

Cached packages now check all transitive dependencies are available,
not just direct dependencies. This prevents build failures when a
Go/Yarn package uses a cached Generic/Docker package whose transitive
dependencies are missing.

Co-authored-by: Ona <no-reply@ona.com>
@WVerlaek WVerlaek marked this pull request as ready for review January 26, 2026 11:34
@leodido leodido self-requested a review January 26, 2026 11:42
@WVerlaek WVerlaek merged commit 85c4c42 into main Jan 26, 2026
7 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