Skip to content

acceptance: replace DEV_VERSION with CLI_VERSION#5845

Open
denik wants to merge 1 commit into
mainfrom
denik/cli_version
Open

acceptance: replace DEV_VERSION with CLI_VERSION#5845
denik wants to merge 1 commit into
mainfrom
denik/cli_version

Conversation

@denik

@denik denik commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Replace [DEV_VERSION] with [CLI_VERSION] in acceptance test output.

The old regex only matched 0.0.0-dev*; the new replacement uses the actual version string from the binary under test, so it also works with downloaded releases and arbitrary binaries passed via -clipath.

Add a CLI_VERSION replacement that captures the exact version string of
the CLI under test:
- dev build (from source): run the binary to get its version
- downloaded release (-useversion): use the known version string directly
- arbitrary binary (-clipath): run the binary to get its version
- inprocess mode: use build.GetInfo().Version from the test process

Remove the DEV_VERSION regex replacement, which only matched the
0.0.0-dev* pattern and required separate handling for release builds.

Co-authored-by: Isaac
@denik denik temporarily deployed to test-trigger-is July 7, 2026 19:24 — with GitHub Actions Inactive
@denik denik temporarily deployed to test-trigger-is July 7, 2026 19:24 — with GitHub Actions Inactive
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Approval status: pending

/acceptance/auth/ - needs approval

Files: acceptance/auth/credentials/basic/out.requests.txt, acceptance/auth/credentials/oauth/out.requests.txt, acceptance/auth/credentials/pat/out.requests.txt
Suggested: @simonfaltum
Also eligible: @chrisst, @Divyansh-db, @renaudhartert-db, @hectorcast-db, @parthban-db, @tanmay-db, @tejaskochar-db, @mihaimitrea-db, @rauchy

/acceptance/bundle/ - needs approval

345 files changed
Suggested: @pietern
Also eligible: @shreyas-goenka, @janniklasrose, @andrewnester, @lennartkats-db, @anton-107

General files (require maintainer)

27 files changed
Based on git history:

  • @pietern -- recent work in acceptance/, libs/testdiff/, acceptance/bundle/user_agent/simple/

Any maintainer (@andrewnester, @anton-107, @pietern, @shreyas-goenka, @simonfaltum, @renaudhartert-db, @janniklasrose) can approve all areas.
See OWNERS for ownership rules.

@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

Integration test report

Commit: 5aa8958

Run: 28892678413

Env 💚​RECOVERED 🙈​SKIP ✅​pass 🙈​skip Time
💚​ aws linux 4 4 230 1064 6:03
💚​ aws windows 4 4 232 1062 5:50
💚​ aws-ucws linux 4 4 314 982 5:24
💚​ aws-ucws windows 4 4 316 980 6:16
💚​ azure linux 4 4 230 1063 5:06
💚​ azure windows 4 4 232 1061 6:13
💚​ azure-ucws linux 4 4 316 979 6:16
💚​ azure-ucws windows 4 4 318 977 6:13
💚​ gcp linux 4 4 229 1065 4:55
💚​ gcp windows 4 4 231 1063 6:01
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 11 slowest tests (at least 2 minutes):
duration env testname
5:20 azure-ucws windows TestAccept
5:15 aws-ucws windows TestAccept
5:13 azure windows TestAccept
5:04 gcp windows TestAccept
4:57 aws windows TestAccept
2:57 aws linux TestAccept
2:57 azure linux TestAccept
2:55 azure-ucws linux TestAccept
2:51 gcp linux TestAccept
2:48 aws-ucws linux TestAccept
2:08 aws linux TestSecretsPutSecretStringValue

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.

2 participants