Skip to content

test(trace): assert adjustable nesting budget refusals - #14647

Merged
vincentkoc merged 1 commit into
mainfrom
test/trace-adjustable-budget-refusal
Nov 26, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
test/trace-adjustable-budget-refusal

Conversation

@vincentkoc

Copy link
Copy Markdown
Collaborator

Summary

The Playwright trace acceptance test expected a nesting-budget error to omit details.refusal. The per-call limit contract now exposes the adjustable budget there. This stale assertion failed a hosted acceptance shard.

Change and scope

Require the refusal kind, operation, control, effective value, default, range and unit through both CLI and MCP. The same test exercises successful recovery on the original trace with a raised nesting limit.

Validation performed

Compared all seven expected fields with the actual CLI refusal from the failed shard. Both transport assertions use the shared expectation. The pinned formatter and git diff --check passed. The hosted portable check runs the acceptance test against the built entry points.

Human owner: @vincentkoc

@vincentkoc
vincentkoc marked this pull request as ready for review November 26, 2026 03:48
@vincentkoc
vincentkoc enabled auto-merge (squash) November 26, 2026 03:48
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-26T03:48:54.139836Z
We couldn’t complete this review. Comment @codex review to try again.
71d2678 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The test-only change appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The test-only change appears safe to merge.

Summary

Updates the Playwright trace acceptance test to require adjustable-budget refusal details.

  • The trace test checks the adjustable nesting limit in refusals.

Reviews (2) · Last reviewed commit: "test(trace): assert adjustable nesting b..." · Reviewed by Greptile

@vincentkoc
vincentkoc merged commit 7768770 into main Nov 26, 2026
38 checks passed
@vincentkoc
vincentkoc deleted the test/trace-adjustable-budget-refusal branch November 26, 2026 04:02
vincentkoc added a commit that referenced this pull request Nov 26, 2026
…-6461-20261126

* commit '77687702b3d0e375e8698128a5b4746022e8e4f6':
  test(trace): assert adjustable nesting budget refusals (#14647)
  refactor(elf): share note reader limit error projection (#14644)
  refactor(limits): derive help from resolved per-call defaults (#14642)
  refactor(domain): use known coverage in web bundle reports (#14643)
  refactor(verify): share canonical output schema assertions (#14640)
  refactor(mcp): share retained evidence link eligibility (#14639)
  test(cli): share cancellation command argument construction (#14635)
  refactor(ci): share completeness guard grouping transitions (#14637)
vincentkoc added a commit that referenced this pull request Nov 26, 2026
…less-json-434-20261126

* commit '77687702b3d0e375e8698128a5b4746022e8e4f6':
  test(trace): assert adjustable nesting budget refusals (#14647)
  refactor(elf): share note reader limit error projection (#14644)
  refactor(limits): derive help from resolved per-call defaults (#14642)
  refactor(domain): use known coverage in web bundle reports (#14643)
  refactor(verify): share canonical output schema assertions (#14640)
  refactor(mcp): share retained evidence link eligibility (#14639)
  test(cli): share cancellation command argument construction (#14635)
  refactor(ci): share completeness guard grouping transitions (#14637)
vincentkoc added a commit that referenced this pull request Nov 26, 2026
* commit '77687702b3d0e375e8698128a5b4746022e8e4f6':
  test(trace): assert adjustable nesting budget refusals (#14647)
  refactor(elf): share note reader limit error projection (#14644)
  refactor(limits): derive help from resolved per-call defaults (#14642)
  refactor(domain): use known coverage in web bundle reports (#14643)
  refactor(verify): share canonical output schema assertions (#14640)
  refactor(mcp): share retained evidence link eligibility (#14639)
  test(cli): share cancellation command argument construction (#14635)
  refactor(ci): share completeness guard grouping transitions (#14637)
vincentkoc added a commit that referenced this pull request Nov 26, 2026
* commit '77687702b3d0e375e8698128a5b4746022e8e4f6':
  test(trace): assert adjustable nesting budget refusals (#14647)
  refactor(elf): share note reader limit error projection (#14644)
  refactor(limits): derive help from resolved per-call defaults (#14642)
  refactor(domain): use known coverage in web bundle reports (#14643)
  refactor(verify): share canonical output schema assertions (#14640)
  refactor(mcp): share retained evidence link eligibility (#14639)
  test(cli): share cancellation command argument construction (#14635)
  refactor(ci): share completeness guard grouping transitions (#14637)
@morluto morluto added the area: tests Test suite and verification label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: tests Test suite and verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants