Skip to content

fix(release): workflow-code audit follow-ups for v0.9.66 - #10441

Merged
waleedlatif1 merged 1 commit into
stagingfrom
fix/release-audit-sim-a4-v0966
Nov 26, 2026
Merged

waleedlatif1 merged 1 commit into
stagingfrom
fix/release-audit-sim-a4-v0966

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • A Deployments block whose workflowId names a workflow no longer counts as a child-workflow call. Before this fix, a Deployments block targeting a caller formed a false call cycle, which dropped child-result typing and raised spurious W_JSON_REF_UNTYPED. The server also loaded workflows it never runs.
  • SDK codegen now reads operation outputs through builderProducedOutputs, the compiler's own rule, so the SDK types and compile can no longer disagree. That function now also returns the nullable names.
  • sim ... source check reads each folder's stored-edges record once instead of three times.
  • Removed the legacy trigger.data.dryRun log reader. That log shape only existed on staging before the overrides rename, and main has no dry runs.
  • Landing metadata, structured data, keywords, compare data and three library posts now say "SOC 2 Type II audited". This matches fix(landing): align public compliance claims with audit status #10369; they previously said "SOC2 compliant".
  • Cleanups:
    • removed an unreachable 'write' fallback in projectEffects
    • removed an always-true log guard in the edge pass
    • used a type predicate in readReturns
    • SDK_MAJOR is now imported from @sim/workflow-code/sdk only
    • removed an unused CompactBuilderReference re-export
    • removed a one-element loop in the docs sync script
    • rewrapped help text, TSDoc and the README
  • Test audit: the upsertRow reference test no longer asserts a fixed doc string, and it checks that the doc names at least one builder.

Type of Change

  • Bug fix

Testing

  • New responds.test.ts: fails on the pre-fix calledWorkflowKey, passes with the fix.
  • workflow-code 809, workflow-sdk 55 and sim-cli 1231 tests pass.
  • apps/sim tests: lib/workflows/code, lib/workflows/editing and execution-status (629) pass.
  • tsc passes for workflow-code, workflow-sdk and sim-cli.
  • These checks pass: check:cli-docs, check:sdk-fixture-catalog, check:workflow-code-docs, check:workflow-code-golden, check:workflow-sdk-embedded-text, check:comment-hygiene, check:file-names, check:test-patterns, check:boundaries, check:unused-exports (new exports only), check:sdk-names, check:sim-cli-bundle and check:agent-cli-boundary.
  • The full type-check, check:audits and the root test suite 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)

- A Deployments block naming a workflow no longer counts as a child call
- SDK codegen reads operation outputs through the compiler's one rule
- One read of a folder's stored-edges record per check
- Drop the staging-only legacy dry-run log reader
- Public pages describe SOC 2 as the completed Type II audit
- Smaller cleanups: unreachable branches, SDK_MAJOR imported from its home, help and TSDoc wraps
@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 8:09pm 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 actionable defects or rule violations were found.RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable defects or rule violations were found.

Summary

This PR fixes false child-workflow links and shares output rules between the compiler and SDK.

  • Only workflow-call blocks create child-workflow relationships.
  • SDK output types follow the compiler’s shared output rules.
  • CLI source checks read each folder’s stored record once.
  • Run details read test overrides from the current log shape.
  • Public pages describe Sim’s SOC 2 Type II audit more precisely.
  • Workflow edits log every edge-removal pass.
  • Small code, export, and documentation cleanups leave behavior unchanged.

No actionable issues were found. waleedlatif1 explicitly identifies removal of historical staging-only dryRun support and the fixed-document-string assertion as intentional. This review used source inspection; no tests were run.

Reviews (1) · Last reviewed commit: "fix(release): workflow-code audit follow..." · 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.

No issues found across 32 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 a88589b into staging Nov 26, 2026
93 checks passed
@waleedlatif1
waleedlatif1 deleted the fix/release-audit-sim-a4-v0966 branch November 26, 2026 20:12

This branch was successfully deployed

1 active deployment
Preview — e7702ce9 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