Skip to content

pr-review skill: ask whether API changes were run on a real workspace - #7386

Merged
andrewnester merged 1 commit into
mainfrom
pr-review-skill-real-workspace-check
Nov 6, 2026
Merged

andrewnester merged 1 commit into
mainfrom
pr-review-skill-real-workspace-check

Conversation

@andrewnester

Copy link
Copy Markdown
Contributor

Changes

Adds one bullet to pass 9 (Tests) of .agents/skills/pr-review/SKILL.md, placed after the bullet on whether each new or changed test shows the effect it claims. When a change sends a new field, value format or API call, and no covering test is Cloud = true and the description does not mention a real-workspace run, the review asks whether it was verified against one. Nothing else in the skill changes. No .nextchanges/ fragment is added, matching #7344, which added the skill.

Why

The fake server in libs/testserver only returns what its handlers were taught. A test that records the request, or a handler that echoes a field back, shows what the CLI sends, not what the API accepts. Pass 9 never asked whether such a change had been checked against a real workspace, and maintainers ask that question often.

The gap showed up in a review of #7184 ("Support file selectors in pipelines run"). The change started sending new refresh_selection_by_path values (workspace paths, notebook extension stripped) to the pipelines StartUpdate API. The only coverage was the fake server echoing them back. The test was not Cloud = true, and the PR description said no live-workspace run was done. The first review question was whether it had been run against a real workspace, and the skill as written would not have raised it.

The bullet asks a question rather than requiring a cloud run. Every acceptance test still runs locally, and Cloud = true only adds a run against a real workspace.

Tests

  • Markdown-only change. No Go code or acceptance tests changed.
  • Ran the whitespace validator that ./task ws runs, without --fix: 10787 checked, 0 failed.
  • Checked the bullet's claims against .agents/rules/testing.md: Cloud = true adds a cloud run and never removes the local one, Cloud is inherited (so out.test.toml holds the effective value), and the fake server lives in libs/testserver.

This pull request and its description were written by Isaac.

Pass 9 of the pr-review skill reviews tests but never asks whether a change that sends new values to a Databricks API was verified against a real workspace. The fake server in libs/testserver only returns what its handlers were taught, so a test that records the request shows what the CLI sends, not what the API accepts. Add a bullet that asks for that check when no covering test is Cloud = true and the description does not mention a real-workspace run.

Co-authored-by: Isaac <no-reply@databricks.com>
@andrewnester
andrewnester requested a review from a team as a code owner November 6, 2026 10:52
@eng-dev-ecosystem-bot

Copy link
Copy Markdown
Collaborator

✅ Integration test report

Commit: f4a0a8d

Run: 42206126051

Env 🔄​flaky ✅​pass 🙈​skip Time
✅​ aws linux-2core-8gb 271 15 3:45
✅​ aws-windows-latest-4core-16gb 273 13 2:34
✅​ azure linux-2core-8gb 270 15 3:20
🔄​ azure-windows-latest-4core-16gb 1 271 13 3:31
✅​ gcp linux-2core-8gb 271 15 3:58
🔄​ gcp-windows-latest-4core-16gb 1 272 13 3:36
Test Name azure-windows-latest-4core-16gb gcp-windows-latest-4core-16gb
🔄​ TestAccept 🔄​f 🔄​f

@andrewnester
andrewnester added this pull request to the merge queue Nov 6, 2026
Merged via the queue into main with commit 663e1f7 Nov 6, 2026
28 checks passed
@andrewnester
andrewnester deleted the pr-review-skill-real-workspace-check branch November 6, 2026 12:22
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