Skip to content

Round-trip pipeline parameters in the test server - #5942

Merged
radakam merged 3 commits into
mainfrom
fix-testserver-pipeline-parameters
Jul 17, 2026
Merged

Round-trip pipeline parameters in the test server#5942
radakam merged 3 commits into
mainfrom
fix-testserver-pipeline-parameters

Conversation

@radakam

@radakamradakam 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: 470cd6c

Run: 29567205623

Env💚​RECOVERED🙈​SKIP✅​pass🙈​skipTime
💚​aws linux4422711204:36
💚​aws windows4422911188:49
💚​aws-ucws linux4431610365:32
💚​aws-ucws windows4431810349:58
💚​azure linux4422711194:37
💚​azure windows4422911179:00
💚​azure-ucws linux4431810336:07
💚​azure-ucws windows4432010319:56
💚​gcp linux4422611218:29
💚​gcp windows4422811199:05
8 interesting tests: 4 RECOVERED, 4 SKIP
Test Nameaws linuxaws windowsaws-ucws linuxaws-ucws windowsazure linuxazure windowsazure-ucws linuxazure-ucws windowsgcp linuxgcp windows
💚​TestAccept💚​R💚​R💚​R💚​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/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 11 slowest tests (at least 2 minutes):
durationenvtestname
8:52aws-ucws windowsTestAccept
8:39azure-ucws windowsTestAccept
8:39gcp windowsTestAccept
8:30azure windowsTestAccept
8:23aws windowsTestAccept
6:24gcp linuxTestSecretsPutSecretStringValue
3:04azure linuxTestAccept
2:54aws linuxTestAccept
2:54azure-ucws linuxTestAccept
2:52aws-ucws linuxTestAccept
2:52gcp linuxTestAccept

@radakamradakam changed the title Round-trip pipeline parameters and run_as in the test serverRound-trip pipeline parameters in the test serverJul 16, 2026
@radakam
radakamforce-pushed the fix-testserver-pipeline-parameters branch from 0106047 to 43d5490CompareJuly 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
radakamforce-pushed the fix-testserver-pipeline-parameters branch from 43d5490 to b55cc8dCompareJuly 16, 2026 10:40
@radakam
radakam marked this pull request as ready for review July 16, 2026 12:20
@radakam
radakam enabled auto-merge July 17, 2026 06:35
@radakam
radakam disabled auto-merge July 17, 2026 07:22
@radakam
radakam enabled auto-merge July 17, 2026 08:39
@radakam
radakam added this pull request to the merge queueJul 17, 2026
Merged via the queue into main with commit d5d2869Jul 17, 2026
23 checks passed
@radakam
radakam deleted the fix-testserver-pipeline-parameters branch July 17, 2026 09:21
Sign up for freeto 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

@radakam@eng-dev-ecosystem-bot@andrewnester