Repository navigation
[draft] Allow target overrides for complex-variable job tasks - #7347
Open
lennartkats-db wants to merge 2 commits into
Open
lennartkats-db wants to merge 2 commits into
lennartkats-db wants to merge 2 commits into
Conversation
lennartkats-db
marked this pull request as ready for review
November 4, 2026 14:36
lennartkats-db
requested review from
Sankalp-Mittal and
rclarey
and removed request for
Sankalp-Mittal and
rclarey
November 4, 2026 14:36
Contributor
|
Commit: Regression test reportSelected 1 changed tests (limit=20, 0 not selected) 2 tests: regression=2 unreleased=0 coverage=0 failing=0
TestAccept/bundle/variables/issue_2436/DMS=: branch ✅ | main (eb1328d) ❌ | latest (v1.24.0) ❌main (eb1328d): latest (v1.24.0): TestAccept/bundle/variables/issue_2436/DMS=true: branch ✅ | main (eb1328d) ❌ | latest (v1.24.0) ❌main (eb1328d): latest (v1.24.0): |
Collaborator
✅ Integration test reportCommit: 98256b3
Top 3 slowest tests (at least 2 minutes):
|
This branch has not been deployed
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.
Changes
Defer merging target job task overrides until complex variable values are assigned. Keep the target tasks visible to configuration rewrites before that merge. Add regression coverage for shared jobs, variable-file task lists, and workspace paths, and update the issue #2436 acceptance fixture.
Why
Issue #2436 reports
cannot merge string with sequencewhen a target overrides a task in a job whose tasks come from a complex variable. The target merge sees the unresolved variable string. This change lets validation apply the target task override while retaining the other tasks. It covers direct complex-variable task sequences; transitive variable references remain outside this change.Tests
go test ./bundle/config/... -count=1passed at commit9d9f63a.go test ./acceptance -run TestAccept/bundle/variables/issue_2436 -tail -test.vpassed both local variants.TestSelectTargetMergesComplexVariableTaskOverridecompiles and fails on base3aa5c96with the reported merge error, then passes at9d9f63a../task checkspassed. Full Go lint reported 0 issues. Python formatting and linting could not fetch Ruff because PyPI DNS lookup failed../task testis red locally inlibs/databrickscfg(/dev/databrickscfgexists) andlibs/patchwheel(uvsystem-config warnings are treated as test errors). The changedbundle/config/...packages pass separately.This PR was written by Codex.