Repository navigation
improvement(workflow-code): remove agent traps from table keys, Function results, resume ids and builder names - #10336
Conversation
…ion results, resume ids and builder names
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
[Medium impact] The PR appears safe to merge; both earlier findings are addressed and no new blocking issues were found. SummaryThe PR keeps underscores in newly allocated resource keys, infers whole Function results in JSON fields, adds resume commands, and improves builder-name hints. Since the previous review:
Both previous unnumbered findings are addressed. No new actionable issues were found. Reviews (2) · Last reviewed commit: "fix(sim-cli): read resume links only fro..." · Reviewed by Greptile |
There was a problem hiding this comment.
All reported issues were addressed across 23 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
…ns and quote the printed resume command
|
@cubic-dev-ai review this PR |
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
Summary
daily_totalsis keyeddaily_totals, notdaily-totals, so the key an agent types matches the name. Persisted keys are never recomputed, so existing workspaces round-trip unchanged; a collision after slugging still gets a-2suffix.resultin a JSON field is now inferred from its returns (string or not), and catalog outputs whose runtime value can be text (Functionresult,api.data, otheranyoutputs) warnW_JSON_REF_UNTYPEDunless inferred. Print and compile share the same rule.sim workflows run/runs getoutput gains an additivenextfield with the exactsim workflows runs resume <id> --workflow <wf> --context <ctx>command.humanInTheLoop->human, snake_case, display names, legacy block types) insource paramsand compile; a bare unknown call isE_UNKNOWN_BUILDER.Type of Change
Testing
workflow-code,sim-cli,workflow-sdkandresource-keys(unit and integration against Postgres); each fails when its source change is reverted.check:workflow-code-golden,check:audits,check:test-types,check:migrations, docs compatibility,lint:check, roottype-check, block-registry check against staging.file-doc-capabilitiesafterAll hook timeout appeared once in the full realtime run (nothing inapps/realtimechanged) and passes when run alone.Checklist
test-auditauthoring gate)