Skip to content

fix(workflow-code): release review follow-ups for #10356 - #10362

Merged
waleedlatif1 merged 2 commits into
stagingfrom
fix/workflow-code-release-review-10356
Nov 24, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
fix/workflow-code-release-review-10356

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • source check: an error in a file still as the last get or apply wrote it is left out only when that file already had it then. When such an error exists and the regenerated workspace.d.ts differs from the one the get or apply left, a second tsc run against that base (kept manifest plus unedited files) decides; an error another file's edit caused, such as a child's input type change breaking an unchanged parent's inputMapping, is now reported. With no kept manifest the base declares less, so the check errs toward reporting
  • summaryMarker encodes each code point (u flag), so directory names past the BMP never share a marker
  • Exit 6 in the workspace guide names tables and where each kind is unlocked; the workflow wording is unchanged
  • sim workflows source --help chains the test run with --input '{…}', as the primer does
  • v2 log detail and the status read share runFailureMessage: only a force_failed finalization's finalOutput.error counts as a failure message, so a workflow-returned error field no longer hides the failed block
  • errorOutputOf requires an error port, so <start.error> is an undeclared input with the usual untyped-reference warning
  • v2 log failure.error / failure.errorMessage descriptions; OpenAPI and CLI docs regenerated
  • resource-keys race tests start the competing claim only after the held insert lands, fixing a slow-runner timeout

Type of Change

  • Bug fix

Testing

  • New tests per behaviour change, each red on the pre-fix code: workspace and workflow-folder checks (with and without a kept manifest) report the cross-file error; a fresh get with a server-accepted mismatch stays clean with one tsc run; a withheld-block printed file stays clean across a second run; summary marker, exit-6 row, loop help, v2 log route, status read, <start.error> compile check
  • resource-keys integration: red with a delayed held insert on the old helper, green on the new one; 5 consecutive passes
  • Package suites (sim-cli, workflow-code, workspace-code, workflow-sdk, utils, …), apps/sim units, apps/sim integration (migrated and push DBs), goldens, check:audits, check:test-types, check:migrations, docs compatibility, lint, root type-check, test:scripts, block registry check

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)

…ion, failure attribution and error ports

- source check: a type error in a file still as the last get or apply wrote it is left out only when that file had it then, checked by a second tsc run against workspace.d.ts as that get or apply left it (only when such an error exists and the declarations changed)
- summary marker encodes each code point, so names past the BMP never share a marker
- exit 6 in the workspace guide names tables and where each kind is unlocked
- the workflow loop help chains the test run with --input, as the primer does
- v2 log detail and the status read share one run-failure reader: a workflow-returned finalOutput.error is no longer taken as the run's error
- a block without an error port has no error output, so <start.error> is an undeclared input
- v2 log failure descriptions
- resource-keys race tests start the competing claim only after the held insert
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Skipped Skipped Nov 24, 2026 12:24pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] No new blocking issues were found in the changes since the previous review.

Summary

Updates source checks, failed-run messages, CLI help, and related docs.

  • Workflow source checks catch errors caused by edits to other files.
  • Run status and log details use the same failure message rules.
  • Workflow checks treat error outputs as special only on blocks with an error port.
  • Workspace summary markers stay distinct for names with emoji.
  • Workspace source help points users to the right place to unlock a resource.
  • The workflow source help shows an input in its test-run command.
  • Resource-key race tests wait until the held row is inserted.

Reviews (2) · Last reviewed commit: "fix(workflow-code): a table declaration ..." · 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 34 files

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

Turn on auto-fix | Re-trigger cubic

…ypes from the kept manifest in the type check's base
@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 24, 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 34 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 e392a93 into staging Nov 24, 2026
87 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/workflow-code-release-review-10356 branch November 24, 2026 18:21

This branch was previously deployed

1 inactive deployment
Preview — 45214cea Deployed Nov 24, 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