Skip to content

fix(release-audit): v0.9.66 follow-ups for dry runs, tool effects and the desktop watchdog - #10436

Merged
waleedlatif1 merged 8 commits into
stagingfrom
fix/release-audit-10356-1126
Nov 26, 2026
Merged

waleedlatif1 merged 8 commits into
stagingfrom
fix/release-audit-10356-1126

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Desktop browser tools: the wait for the user and for a tab's first page now spend the action's own watchdog budget. Before, they ran before the deadline was set, so a page tool could overrun the client's queue-plus-watchdog timeout and report an unknown outcome. No input is dispatched once that deadline has passed.
  • Dry runs: a block's password field is masked by name only at the top level of a call's params, so a nested row field that shares a generic id (Supabase projectId, Redis url) keeps its value. The password's value is still masked wherever it reappears.
  • Dry runs: an in-process operation that forwards its params no longer records the executor's _context, _credentialId and _workflowId as part of the request.
  • supabase_vector_search is labelled write. It POSTs to a caller-named PostgREST RPC, the same endpoint supabase_rpc writes through, so a volatile function ran for real in a dry run.
  • check:tool-effects accepts a // tool-effect: justification only on a write; a read sent by PUT/PATCH/DELETE is never excused.
  • Dry-run placeholders repeat one id wherever the live output repeats a value (knowledge upsert documentId, Slack ts/channel). The Telegram hook no longer throws on a numeric chatId. The Confluence hook judges a numeric space id with the same rule as the operation, so 007 is treated as a key.
  • A Function error whose message starts with a path (/v1/users/42: not found, /static/app.js: not found) keeps it in errorMessage; only the sandbox's own .sim-function-<id> code file path is stripped.
  • dryRunNumber documents that a hook must never echo a minted number (an echoed number is taken as given, so a later read sending it would not be stubbed).
  • Doc fixes: the recovery-prompt note covers the native fallback, the HubSpot placeholder says which properties it echoes, and the desktop e2e tmux comment matches CI.

Type of Change

  • Bug fix

Testing

  • New regression tests, each red on the pre-fix code and green after: driver.test.ts (first-page wait charged to the watchdog, no input past the deadline), execute-request.test.ts (URL-path message), side-effects.test.ts (nested password-named field, internal request run context), dry-run.test.ts (shared placeholder ids, numeric Telegram chat id, zero-padded Confluence space id), scripts/check-tool-effects.test.ts (annotation on a read)
  • Ran those files plus the existing tests beside the changed sources: driver.test.ts, execute-request.test.ts, side-effects.test.ts, dry-run.test.ts, lib/internal/confluence, check-tool-effects.test.ts
  • check:tool-effects, check:tool-metadata, check:comment-hygiene, check:test-patterns, check:utils, biome on changed files; full type-check and audits run in CI

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing (new tests pass the test-audit authoring gate)
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 26, 2026 7:48pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge; no new actionable issues remain.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new actionable issues remain.

Summary

This PR tightens browser action deadlines and corrects dry-run request descriptions, placeholders, and tool labels.

  • Browser actions spend their watchdog time while waiting for a page.
  • Dry-run request summaries show only the call's actual fields.
  • Dry-run outputs reuse IDs and accept numeric Telegram chat IDs.
  • Confluence treats zero-padded numeric space names as keys.
  • Supabase vector search is marked as a write, and read tools cannot excuse write verbs.
  • Function errors keep leading paths that are not sandbox source files.
  • Markdown viewer cleanup continues if leaving the page fails.
  • Desktop CI and recovery-prompt notes match their current behavior.

No new actionable issues were found. This review checked source code; it did not run tests.

Reviews (2) · Last reviewed commit: "fix(release-audit): review round — refus..." · Reviewed by Greptile

Comment thread apps/sim/tools/zendesk/create_ticket.ts Resolved

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All reported issues were addressed across 22 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

Comment thread apps/sim/tools/zendesk/create_ticket.ts Resolved
The yield-to-user and first-page waits ran before the execution deadline was
set, so a page tool could overrun the client's queue-plus-watchdog budget and
report an unknown outcome. One deadline now starts before both waits.

Also qualifies the recovery-prompt doc for the native fallback, corrects the
tmux CI comment, and keeps the markdown-viewer cleanup running when leaving the
page fails.
… internal requests without run context

A block password field is masked by name only at the top level of a call's
params, so a nested row field sharing a generic id (Supabase projectId, Redis url)
keeps its value; the password's value is still masked wherever it reappears.
An in-process operation that forwards its params no longer records the run's
_context and credential id as part of the request. A Function error message that
starts with a URL path keeps it in errorMessage.
… read sent by a write verb

supabase_vector_search POSTs to a caller-named PostgREST RPC, the same endpoint
supabase_rpc writes through, so a volatile function ran for real in a dry run.
check:tool-effects now accepts a // tool-effect: justification only on a write.
…m echoes a numeric chat id

Knowledge upsert, Zendesk create and Slack message placeholders minted different
ids for fields that carry the same value live (documentId, ticket id, ts and
channel), so a downstream comparison behaved differently in a dry run. The
Telegram hook threw on a numeric chatId and lost its echo. Placeholder tests now
assert the placeholder positively.
…he operation does

The dry-run hook used /^\d+$/ while the operation treats only /^[1-9][0-9]{0,19}$/
as an id, so '007' was echoed as an id Confluence would resolve as a key. Both now
share isNumericConfluenceSpaceId. The HubSpot placeholder doc says undeclared
custom properties are dropped.
…st drops, and tighten the new tests

describeToolRequest drops _context, _credentialId and _workflowId by name rather
than every underscore key, so an operation field like _id survives. The
check-tool-effects justification rule is one decision chain with an accurate
header; placeholder tests assert positively without dead columns.
…ine, anchor the sandbox path, keep Zendesk's minted id out of its echo

- The desktop dispatch check refuses input once the shared deadline has passed,
  so an action whose budget the pre-action waits spent never sends input before
  the watchdog's timer fires.
- errorMessage strips only the sandbox's own .sim-function-<id> code file path,
  so a thrown message that starts with any other path keeps it.
- The Zendesk hook no longer echoes a minted ticket number: a number in the echo
  is taken as given, so a later read sending it would not be stubbed.
@waleedlatif1
waleedlatif1 force-pushed the fix/release-audit-10356-1126 branch from bb1eb1d to b82915a Compare November 26, 2026 19:43
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 22 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit 9948667 into staging Nov 26, 2026
95 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/release-audit-10356-1126 branch November 26, 2026 21:31

This branch was successfully deployed

1 active deployment
Preview — b82915ae Deployed Nov 26, 2026 by vercel[bot]
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.

1 participant