Skip to content

acc: Add -regr-main and -regr-release to compare changed tests against main and latest release - #7105

Merged
denik merged 10 commits into
mainfrom
denik/regression-test-report2
Oct 19, 2026
Merged

denik merged 10 commits into
mainfrom
denik/regression-test-report2

Conversation

@denik

@denik denik commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Acceptance runner gets -regr-main and -regr-release: they run the tests changed on the branch with the branch CLI, a CLI built from the merge base with main, and the latest release, print a short summary and write a full markdown report. Taskfile: regr, regr-main, regr-release.

New regression-report workflow runs this on PRs and posts or updates a single comment with the tested commit and a link to the run. No comment when no tests were changed.

Why

I've been using a Python script that did the same for a few months now and find it a good tool to validate agent work.

For PRs that claim to fix issues, it's good to see that the tests are attached are actual regression tests (as well as what output they get on main). For issues that are broken on main but not released yet, this also gives additional assurance.

Some examples on how it may look on real PRs:
#6958 (comment)
#6690 (comment)

@eng-dev-ecosystem-bot

eng-dev-ecosystem-bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: b064dbd

Run: 39278097912

Env ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 280 15 5:31
✅​ aws-windows-latest-4core-16gb 282 13 4:52
✅​ azure linux-2core-8gb 279 15 5:14
✅​ azure-windows-latest-4core-16gb 281 13 4:16
✅​ gcp linux-2core-8gb 280 15 5:31
✅​ gcp-windows-latest-4core-16gb 282 13 3:45
Top 6 slowest tests (at least 2 minutes):
duration env testname
4:47 aws-windows-latest-4core-16gb TestAccept
4:11 azure-windows-latest-4core-16gb TestAccept
3:58 gcp linux-2core-8gb TestAccept
3:51 aws linux-2core-8gb TestAccept
3:38 azure linux-2core-8gb TestAccept
3:38 gcp-windows-latest-4core-16gb TestAccept

@denik
denik marked this pull request as ready for review October 19, 2026 14:20
@denik
denik requested a review from a team as a code owner October 19, 2026 14:20
@denik
denik requested a review from rugpanov October 19, 2026 14:20
denik and others added 10 commits October 19, 2026 17:25
…t main and the latest release

Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
…nymore

Co-authored-by: Isaac <no-reply@databricks.com>
@denik
denik force-pushed the denik/regression-test-report2 branch from a7f0ef9 to b064dbd Compare October 19, 2026 15:26
@denik
denik enabled auto-merge October 19, 2026 15:26
@denik
denik added this pull request to the merge queue Oct 19, 2026
Merged via the queue into main with commit 9a01571 Oct 19, 2026
37 checks passed
@denik
denik deleted the denik/regression-test-report2 branch October 19, 2026 16:33
arushiagarwal-db pushed a commit to arushiagarwal-db/cli that referenced this pull request Oct 19, 2026
…atabricks#7108)

Unauthenticated GitHub API requests from shared CI runner IPs get a 403
(rate limit), which fails `-useversion latest`. Send `GITHUB_TOKEN` when
it is set. Needed by databricks#7105.

This pull request and its description were written by Isaac.

Co-authored-by: Isaac <no-reply@databricks.com>
github-merge-queue Bot pushed a commit that referenced this pull request Oct 20, 2026
Follow-up to #7105. The comments
on #6989 and
#7109 were 34-44 KB, close to the
60 KB cap, mostly because a new test fails the same way on main and on
the latest release and the same diff was printed twice.

- A failing run whose output equals an earlier column's (ignoring the
random temp dir) now says "same output as <column>".
- When the comment is over the cap, whole failure details are dropped
(with a count) instead of cutting one in the middle and leaving its
markup open.

This pull request and its description were written by Isaac.

---------

Co-authored-by: Isaac <no-reply@databricks.com>
github-merge-queue Bot pushed a commit that referenced this pull request Oct 20, 2026
…7124)

Follow-up to #7105. The tests are
selected from changes under `acceptance/`, but the job set up the whole
build environment and compiled the test binary (~200s) just to find
nothing to compare. A lightweight `changes` job on a hosted runner now
checks the diff first and skips the job; it also deletes the comment of
an earlier commit, which the skipped job can no longer do.

This pull request and its description were written by Isaac.

---------

Co-authored-by: Isaac <no-reply@databricks.com>
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