Skip to content

acceptance: clean up vector_search_endpoints min_qps tests#5046

Merged
janniklasrose merged 1 commit into
mainfrom
janniklasrose/vs-endpoint-nits
Apr 21, 2026
Merged

acceptance: clean up vector_search_endpoints min_qps tests#5046
janniklasrose merged 1 commit into
mainfrom
janniklasrose/vs-endpoint-nits

Conversation

@janniklasrose
Copy link
Copy Markdown
Contributor

Changes

Address review nits on #4887:

  • update/min_qps/script: drop redundant --keep + manual rm pair in print_requests(). print_requests.py already deletes out.requests.txt when --keep is omitted, so the pair was a no-op. (thread)
  • drift/min_qps/script: record bundle plan --output json alongside the existing contains.py summary check, so the test pins down that min_qps is the only field detected as changed (old=1, new=1, remote=5), not just the overall count. (thread)

Not in this PR: the recreated_same_name badness thread — that requires real behavior change (storing endpoint_uuid in state and comparing it via OverrideChangeDesc, similar to dashboards.go's etag pattern), so it'll get its own follow-up PR.

Tests

  • go test ./acceptance -run TestAccept/bundle/resources/vector_search_endpoints/update/min_qps
  • go test ./acceptance -run TestAccept/bundle/resources/vector_search_endpoints/drift/min_qps

Address review nits on #4887:

- update/min_qps: drop redundant `--keep` + manual `rm` pair in
  `print_requests()` — `print_requests.py` already deletes
  `out.requests.txt` when `--keep` is omitted.
- drift/min_qps: record `bundle plan --output json` to pin down that
  `min_qps` is the only field detected as changed (old=1, new=1,
  remote=5), not just the summary line.

Co-authored-by: Isaac
@janniklasrose janniklasrose added this pull request to the merge queue Apr 21, 2026
Merged via the queue into main with commit 829fbfe Apr 21, 2026
24 checks passed
@janniklasrose janniklasrose deleted the janniklasrose/vs-endpoint-nits branch April 21, 2026 10:38
denik pushed a commit that referenced this pull request May 20, 2026
## Changes

Address review nits on #4887:

- **`update/min_qps/script`**: drop redundant `--keep` + manual `rm`
pair in `print_requests()`. `print_requests.py` already deletes
`out.requests.txt` when `--keep` is omitted, so the pair was a no-op.
([thread](#4887 (comment)))
- **`drift/min_qps/script`**: record `bundle plan --output json`
alongside the existing `contains.py` summary check, so the test pins
down that `min_qps` is the *only* field detected as changed (old=1,
new=1, remote=5), not just the overall count.
([thread](#4887 (comment)))

Not in this PR: the [`recreated_same_name` badness
thread](#4887 (comment))
— that requires real behavior change (storing `endpoint_uuid` in state
and comparing it via `OverrideChangeDesc`, similar to `dashboards.go`'s
etag pattern), so it'll get its own follow-up PR.

## Tests

- `go test ./acceptance -run
TestAccept/bundle/resources/vector_search_endpoints/update/min_qps`
- `go test ./acceptance -run
TestAccept/bundle/resources/vector_search_endpoints/drift/min_qps`
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