Skip to content

acc: replace retry-warning env var with SuppressLines - #7192

Open
denik wants to merge 1 commit into
mainfrom
denik/disable-warning
Open

denik wants to merge 1 commit into
mainfrom
denik/disable-warning

Conversation

@denik

@denik denik commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Why

Better for error analysis to see the warnings & can be extended to other & flaky output instead of grepping it out.

Changes

Follow-up to #7149

Instead of an env var that disables the retry warning in the CLI, the acceptance runner gets SuppressLines: lines matching a named pattern are removed from the compared output and written to the test log. Root test.toml sets SuppressLines.warn_retry; the 6 tests that assert the warning set it to "". Reverts DATABRICKS_BUNDLE_RETRY_DISABLE_WARNING.

This pull request and its description were written by Isaac.

…s by default

Instead of disabling the retry warning in the CLI, the acceptance runner moves
lines matching SuppressLines patterns from the compared output to the test log.
Tests that assert the warning disable the named pattern with an empty value.

Co-authored-by: Isaac <no-reply@databricks.com>
@github-actions github-actions Bot added the DABs DABs related issues label Oct 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Commit: b97d8239f | Workflow run

Regression test report

Selected 7 changed tests (limit=20, 0 not selected)

10 tests: regression=0 unreleased=0 coverage=10 failing=0

test branch main (accb3df) latest (v1.22.1)
TestAccept/bundle/deploy/files/upload-504/DMS= ✅ ✅ ✅
TestAccept/bundle/deploy/files/upload-504/DMS=true ✅ ✅ ✅
TestAccept/bundle/sync/upload-504/DMS= ✅ ✅ ✅
TestAccept/bundle/sync/upload-504/DMS=true ✅ ✅ ✅
TestAccept/bundle/upload/internal_server_error/DMS= ✅ ✅ ✅
TestAccept/bundle/upload/internal_server_error/DMS=true ✅ ✅ ✅
TestAccept/cmd/sync/get-status-504 ✅ ✅ ✅
TestAccept/cmd/sync/upload-504 ✅ ✅ ✅
TestAccept/selftest/suppresslines ✅ ✅ ✅
TestAccept/selftest/suppresslines/keep ✅ ✅ ✅

@denik denik changed the title acceptance: replace retry-warning env var with SuppressLines acc: replace retry-warning env var with SuppressLines Oct 27, 2026
@denik
denik marked this pull request as ready for review October 27, 2026 11:39
@denik
denik requested review from a team as code owners October 27, 2026 11:39
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b97d823

Run: 40494739378

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 281 22 6:20
✅​ aws-windows-latest-4core-16gb 283 20 4:22
✅​ azure linux-2core-8gb 280 22 5:56
✅​ azure-windows-latest-4core-16gb 282 20 5:47
✅​ gcp linux-2core-8gb 281 22 6:08
✅​ gcp-windows-latest-4core-16gb 283 20 5:17
Top 6 slowest tests (at least 2 minutes):
duration env testname
5:39 azure-windows-latest-4core-16gb TestAccept
5:10 gcp-windows-latest-4core-16gb TestAccept
4:18 aws-windows-latest-4core-16gb TestAccept
3:55 gcp linux-2core-8gb TestAccept
3:46 aws linux-2core-8gb TestAccept
3:41 azure linux-2core-8gb TestAccept

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

DABs DABs related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants