Skip to content

acc: run artifact upload tests with the READPLAN variant - #6873

Merged
Sankalp-Mittal merged 2 commits into
mainfrom
sankalp-mittal/add-readplan-to-artifact-uploads
Sep 30, 2026
Merged

Sankalp-Mittal merged 2 commits into
mainfrom
sankalp-mittal/add-readplan-to-artifact-uploads

Conversation

@Sankalp-Mittal

@Sankalp-Mittal Sankalp-Mittal commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Changes

  • Enable EnvMatrix.READPLAN = ["", "1"] on the acceptance/bundle/artifacts tests that deploy and upload libraries, using the standard bundle plan -o json > tmp.plan.json + bundle deploy $(readplanarg tmp.plan.json) pattern.
  • deploy --plan skips the build, so it doesn't print Building .... Tests that build a wheel send deploy output to LOG.deploy and assert the upload with contains.py (same as bundle/resources/clusters/libraries). The uploaded paths are still checked through the recorded requests.
  • whl_change_version is left unchanged: with a saved plan, deploy uploads every wheel matching ./dist/*.whl, so its output differs from a regular deploy by design.

Why

Follow-up to #6490 / #6682. Running the existing artifact upload tests with READPLAN covers the saved-plan library upload path across many configurations, alongside deploy/readplan/whl-upload. Checked locally: reverting the #6682 upload path in bundle/phases/deploy.go makes the READPLAN=1 variants fail.

Tests

go test ./acceptance -run 'TestAccept/bundle/artifacts' passes for all variants.

This pull request and its description were written by Isaac.

Deploying from a saved plan skips the build phase, which previously dropped
library uploads (#6682). Running the artifact upload tests with READPLAN
covers that path, so the dedicated whl-upload test is no longer needed.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Sep 29, 2026
@Sankalp-Mittal
Sankalp-Mittal marked this pull request as ready for review September 29, 2026 13:31
@Sankalp-Mittal
Sankalp-Mittal requested review from a team as code owners September 29, 2026 13:31
@Sankalp-Mittal
Sankalp-Mittal requested review from anton-107 and removed request for anton-107 September 29, 2026 13:31
Co-authored-by: Isaac <no-reply@databricks.com>
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 401477d

Run: 36577486338

Env 🔄​flaky ✅​pass 🙈​skip Time
✅​ aws linux 276 32 5:21
✅​ aws windows 278 30 3:21
🔄​ azure linux 2 273 32 5:46
✅​ azure windows 277 30 3:28
✅​ gcp linux 276 32 5:25
✅​ gcp windows 278 30 3:22
Test Name azure linux
🔄​ TestFsMkdirCreatesIntermediateDirectories 🔄​f
🔄​ TestFsMkdirCreatesIntermediateDirectories/uc-volumes 🔄​f
Top 6 slowest tests (at least 2 minutes):
duration env testname
4:02 gcp linux TestAccept
4:01 azure linux TestAccept
3:27 azure windows TestAccept
3:20 gcp windows TestAccept
3:19 aws windows TestAccept
3:13 aws linux TestAccept

@Sankalp-Mittal
Sankalp-Mittal added this pull request to the merge queue Sep 30, 2026
Merged via the queue into main with commit 33a2463 Sep 30, 2026
30 checks passed
@Sankalp-Mittal
Sankalp-Mittal deleted the sankalp-mittal/add-readplan-to-artifact-uploads branch September 30, 2026 08:14
denik added a commit that referenced this pull request Sep 30, 2026
Main added the READPLAN variant to the artifact upload tests (#6873); combined with
the engine-matrix removal here, the resolved out.test.toml for those tests changed.

Co-authored-by: Isaac <no-reply@databricks.com>
denik added a commit that referenced this pull request Oct 1, 2026
Main added the READPLAN variant to the artifact upload tests (#6873); combined with
the engine-matrix removal here, the resolved out.test.toml for those tests changed.

Co-authored-by: Isaac <no-reply@databricks.com>
@denik denik added the test-only-fix PRs that update failing of flaky tests without changing CLI code. label Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues test-only-fix PRs that update failing of flaky tests without changing CLI code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants