Skip to content

improvement(workflow-code): v7 benchmark residuals (column-name hints, retry docs, workspace-less errors) - #10306

Merged
waleedlatif1 merged 1 commit into
stagingfrom
improvement/workflow-code-v7-residuals
Nov 22, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
improvement/workflow-code-v7-residuals

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Residual friction from the workflows-as-code A/B v7 benchmark.

Changes

  • Table row keys after a column rename. check now catches a row write that uses a column's TS key after name renamed that column. The finding says "data writes phone, the key of column "mobile" ...: row data is keyed by column name", with the hint Did you mean mobile?. The workspace primer, INDEX ("How it runs") and the cookbook now say plainly that data, conflictColumn and filter fields use the column name, and that rows.jsonl is the exception (keyed by column key).
  • API block retries. Retrying neither a DNS failure nor a refused connection is intended. isRetryableFailure allows only timeouts, resets, 429 and 5xx, and a host that does not resolve fails in the SSRF DNS validation before any request is sent. This is now documented in the block and tool descriptions, the INDEX, the ops help, and the API block docs page, which wrongly said "retry network failures".
  • CLI workspace errors. When a generated, workspace-scoped command gets a 404, the error now names the workspace it searched and where that workspace came from (the profile or SIM_WORKSPACE), and points at -w / SIM_WORKSPACE. The error for a missing workspace now mentions -w and SIM_WORKSPACE too.
  • Ops help. Condition ids are assigned by position (<id>-if, <id>-else-if-0, ..., <id>-else), and any id you pass is replaced. The help used to say "ids are assigned", and the benchmark read that as "passed ids are kept".

Decisions

  • W_TABLE_UNKNOWN_COLUMN stays a warning. The server only warns on it, and check already fails on it for blocks the lock doesn't bind and under --strict.
  • The "destructive" / "deletes N blocks" wording for a block swap is accurate, so it is unchanged. blocks get workflow already starts with "Legacy — replaced by workflow_input", the same way the other renamed legacy types do.

Generated files

  • CLI docs, tool metadata and the embedded cookbook text are regenerated.
  • In content-baseline.json, the fence hashes, bytes and lines for cli/reference.mdx and cli/workflows.mdx are updated, because the help text changed.

…, retry docs, workspace-less errors)

- check: a row write naming a renamed column's key says which column it meant ("Did you mean <name>?"); primer, INDEX and cookbook say row data is keyed by column name
- API block retries: document that a host that does not resolve or refuses the connection is not retried (block, tool, docs page, INDEX, ops help)
- CLI: a 404 from a workspace-scoped command names the workspace searched and where it came from; the no-workspace error points at -w and SIM_WORKSPACE
- ops help: condition ids come from position, a passed id is replaced
@vercel

vercel Bot commented Nov 22, 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 22, 2026 5:16pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge; no actionable issues were found.

Summary

This PR improves workflow-source guidance and CLI error messages.

  • Workflow checks suggest the declared name when a row uses an old column key.
  • API block and tool descriptions name the failures that can be retried.
  • Workspace-scoped CLI errors say which workspace the command searched.
  • CLI help shows how condition branch ids follow their position.

No actionable issues found. No tests were run.

Reviews (2) · Last reviewed commit: "improvement(workflow-code): v7 benchmark..." · Reviewed by Greptile

@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 packages/sim-cli/src/runtime/execute.ts Resolved
@waleedlatif1
waleedlatif1 merged commit f86f3ab into staging Nov 22, 2026
87 checks passed
@waleedlatif1
waleedlatif1 deleted the improvement/workflow-code-v7-residuals branch November 23, 2026 00:04

This branch was successfully deployed

1 active deployment
Preview — c413e8e2 Deployed Nov 22, 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