Implement support for Commodore component dependencies (SDD #0034) - #1418
Draft
simu wants to merge 18 commits into
Draft
Implement support for Commodore component dependencies (SDD #0034)#1418simu wants to merge 18 commits into
simu wants to merge 18 commits into
Conversation
simu
force-pushed
the
feat/component-dependencies
branch
4 times, most recently
from
August 18, 2026 13:58
3be1267 to
8254de4
Compare
5 tasks
simu
force-pushed
the
feat/component-dependencies
branch
16 times, most recently
from
August 24, 2026 08:50
2f1943a to
f2114d2
Compare
`requiredif` NYI
TODO: cleanup, decide if/how we want to do nested component dependencies
We use Google's cel-expr-python to evaluate CEL. This requires bumping the minimum supported Python to 3.11. TODO: Move dropping Python 3.10 support to separate PR.
…'t use explicit component dependencies
…cases TODO: Verify compatibility
This is necessary now that we use the real `argocd.libsonnet` in `component compile` to ensure that `make golden-diff` doesn't fail on freshly templated components. We also introduce a command line flag `--update-golden-tests` for `component new` and `component update`. This flag is true by default, but we disable it in most component template unit/integration tests since we generally don't care about accuracy of the golden test outputs in these tests. However, for specific test cases (such as the one checking that a freshly templated component has no golden diff), we enable the flag.
TODO: good test cases for recursive discovery (e.g. component minversion changes after first iteration).
Some of these cases were previously covered by `component compile` tests. Note that we don't try to test the case where the `jb` binary is missing since we can't easily do that without breaking the global test environment.
simu
force-pushed
the
feat/component-dependencies
branch
from
August 24, 2026 09:10
f2114d2 to
a0b719e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SDD PR: projectsyn/documentation#189
TODO
component compileimplementationcomponent compile?argocddependency isn't injected for component-argocd (check by URL?)component compileChecklist
bug,enhancement,documentation,change,breaking,dependency,internalas they show up in the changelog