Skip to content

Fix experiment create trace location#5993

Open
radakam wants to merge 2 commits into
mainfrom
fix-experiment-create-trace-location
Open

Fix experiment create trace location#5993
radakam wants to merge 2 commits into
mainfrom
fix-experiment-create-trace-location

Conversation

@radakam

@radakam radakam commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

The test server's fake ExperimentCreate rebuilt the experiment field-by-field and dropped TraceLocation. Since it's immutable and the real GetExperiment echoes it back, the direct-engine diff saw local-present vs remote-absent and spuriously recreated the experiment on every plan/deploy. Fix: pass TraceLocation through.

Found by fuzz testing.

radakam added 2 commits July 21, 2026 08:49
The fake ExperimentCreate rebuilt the stored experiment field-by-field and
never copied TraceLocation from the request. TraceLocation is immutable and
the real GetExperiment echoes it back, so the direct-engine diff saw the
field as local-present vs remote-absent and spuriously recreated the
experiment on every subsequent plan/deploy.

Copy TraceLocation through so the fake mirrors backend behaviour.
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 50c0e74

Run: 29816357065

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 227 1127 3:31
💚​ aws windows 4 4 229 1125 3:53
💚​ aws-ucws linux 4 4 314 1044 3:54
💚​ aws-ucws windows 4 4 316 1042 4:37
💚​ azure linux 4 4 227 1126 3:02
💚​ azure windows 4 4 229 1124 3:51
💚​ azure-ucws linux 4 4 316 1041 4:20
💚​ azure-ucws windows 4 4 318 1039 4:25
💚​ gcp linux 4 4 226 1128 2:43
💚​ gcp windows 4 4 228 1126 3:17
8 interesting tests: 4 RECOVERED, 4 SKIP
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 💚​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 2 slowest tests (at least 2 minutes):
duration env testname
2:17 azure windows TestAccept
2:07 azure-ucws windows TestAccept/bundle/deploy/mlops-stacks/DATABRICKS_BUNDLE_ENGINE=terraform

@radakam
radakam marked this pull request as ready for review July 21, 2026 09:48
@radakam
radakam added this pull request to the merge queue Jul 21, 2026
@radakam
radakam removed this pull request from the merge queue due to a manual request Jul 21, 2026
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