Skip to content

Round-trip pipeline parameters in the test server#5942

Open
radakam wants to merge 1 commit into
mainfrom
fix-testserver-pipeline-parameters
Open

Round-trip pipeline parameters in the test server#5942
radakam wants to merge 1 commit into
mainfrom
fix-testserver-pipeline-parameters

Conversation

@radakam

@radakam radakam commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Changes

The fake pipelines handler decoded the create/update body into pipelines.PipelineSpec, which has no parameters field — it lives on CreatePipeline/EditPipeline and is echoed back on GetPipelineResponse.Parameters. Decode that request-only field separately and mirror it on the stored GetPipelineResponse, matching backend behavior.

Why

Because the test server dropped parameters on read-back, a re-read never returned it and the direct engine planned a perpetual update for any pipeline that set parameters. This gap was found by fuzz testing.

Tests

Adds an acceptance test that deploys a pipeline with parameters, asserts bundle plan is a no-op, and confirms a redeploy issues no update call. Verified to fail without the fix.

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b55cc8d

Run: 29491728956

Env 🔄​flaky 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 227 1106 4:38
💚​ aws windows 4 4 229 1104 6:51
🔄​ aws-ucws linux 3 3 4 314 1022 7:48
💚​ aws-ucws windows 4 4 318 1020 8:08
💚​ azure linux 4 4 227 1105 4:32
💚​ azure windows 4 4 229 1103 7:04
💚​ azure-ucws linux 4 4 318 1019 6:01
💚​ azure-ucws windows 4 4 320 1017 9:47
💚​ gcp linux 4 4 226 1107 4:33
💚​ gcp windows 4 4 228 1105 6:44
10 interesting tests: 4 SKIP, 3 flaky, 3 RECOVERED
Test Name aws linux aws windows aws-ucws linux aws-ucws windows azure linux azure windows azure-ucws linux azure-ucws windows gcp linux gcp windows
🔄​ TestAccept 💚​R 💚​R 🔄​f 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
🙈​ TestAccept/bundle/invariant/no_drift 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_endpoints/drift/recreated_same_name 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🙈​ TestAccept/bundle/resources/vector_search_indexes/recreate/embedding_dimension 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
🔄​ TestAccept/ssh/connect-serverless-cpu 🙈​s 🙈​s 🔄​f ✅​p 🙈​s 🙈​s ✅​p ✅​p 🙈​s 🙈​s
🔄​ TestAccept/ssh/connect-serverless-cpu/DATABRICKS_BUNDLE_ENGINE=direct 🔄​f ✅​p ✅​p ✅​p
🙈​ TestAccept/ssh/connection 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S 🙈​S
💚​ TestFetchRepositoryInfoAPI_FromRepo 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/root 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
💚​ TestFetchRepositoryInfoAPI_FromRepo/subdir 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R 💚​R
Top 9 slowest tests (at least 2 minutes):
duration env testname
8:19 azure-ucws windows TestAccept
6:32 azure windows TestAccept
6:25 aws-ucws windows TestAccept
6:23 aws windows TestAccept
6:20 gcp windows TestAccept
3:01 gcp linux TestAccept
2:57 aws linux TestAccept
2:57 azure linux TestAccept
2:48 azure-ucws linux TestAccept

@radakam radakam changed the title Round-trip pipeline parameters and run_as in the test server Round-trip pipeline parameters in the test server Jul 16, 2026
@radakam
radakam force-pushed the fix-testserver-pipeline-parameters branch from 0106047 to 43d5490 Compare July 16, 2026 10:37
The fake pipelines handler unmarshals the create/update body into
pipelines.PipelineSpec, which has no parameters field (it lives on
CreatePipeline/EditPipeline and is echoed on the top-level
GetPipelineResponse.Parameters). So a re-read never returned it and the direct
engine planned a perpetual update for any pipeline that set parameters.

Decode that request-only field separately and set it on the stored
GetPipelineResponse. Adds an acceptance test that deploys a pipeline with
parameters and asserts the plan is a no-op.
@radakam
radakam force-pushed the fix-testserver-pipeline-parameters branch from 43d5490 to b55cc8d Compare July 16, 2026 10:40
@radakam
radakam marked this pull request as ready for review July 16, 2026 12:20
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