Skip to content

Commit

Permalink
Fixed missing dependencies in a complex depends_on/matrix case (#800
Browse files Browse the repository at this point in the history
)

* Fixed missing dependencies in a complex `depends_on`/`matrix` case

We did validation of unbalanced tasks first thing in dependency validation. But with a matrix is possible to get several tasks with the same name where some will be balanced and some not. We do matching by name though.

This change move the check after we set as many dependencies as we can. See the test case for more details.

* buf generate

* go generate
  • Loading branch information
fkorotkov authored Oct 11, 2024
1 parent f20f699 commit 7413137
Show file tree
Hide file tree
Showing 11 changed files with 871 additions and 2,028 deletions.
8 changes: 8 additions & 0 deletions internal/agent/http_cache/tuistcache/api/oas_defaults_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

129 changes: 127 additions & 2 deletions internal/agent/http_cache/tuistcache/api/oas_json_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 124 additions & 0 deletions internal/agent/http_cache/tuistcache/api/oas_schemas_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7413137

Please sign in to comment.