Repository navigation
fix(release-audit): v0.9.66 follow-ups for dry runs, tool effects and the desktop watchdog - #10436
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
[Medium impact] The PR appears safe to merge; no new actionable issues remain. SummaryThis PR tightens browser action deadlines and corrects dry-run request descriptions, placeholders, and tool labels.
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 |
There was a problem hiding this comment.
All reported issues were addressed across 22 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
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.
bb1eb1d to
b82915a
Compare
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
projectId, Redisurl) keeps its value. The password's value is still masked wherever it reappears._context,_credentialIdand_workflowIdas part of the request.supabase_vector_searchis labelledwrite. It POSTs to a caller-named PostgREST RPC, the same endpointsupabase_rpcwrites through, so a volatile function ran for real in a dry run.check:tool-effectsaccepts a// tool-effect:justification only on awrite; areadsent by PUT/PATCH/DELETE is never excused.documentId, Slackts/channel). The Telegram hook no longer throws on a numericchatId. The Confluence hook judges a numeric space id with the same rule as the operation, so007is treated as a key./v1/users/42: not found,/static/app.js: not found) keeps it inerrorMessage; only the sandbox's own.sim-function-<id>code file path is stripped.dryRunNumberdocuments 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).Type of Change
Testing
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)driver.test.ts,execute-request.test.ts,side-effects.test.ts,dry-run.test.ts,lib/internal/confluence,check-tool-effects.test.tscheck:tool-effects,check:tool-metadata,check:comment-hygiene,check:test-patterns,check:utils, biome on changed files; full type-check and audits run in CIChecklist
test-auditauthoring gate)