Repository navigation
improvement(workflow-code): adopt, troubleshooting and how-it-works docs, and trim the SDK README - #10343
Merged
Conversation
…ocs, and trim the SDK README - workflows/code/adopt: bring builder workflows into git, coexist with builder edits (drift 12, conflict 5), what stays in the builder, team conventions, rollback - workflows/code/troubleshooting: every source exit code and the common diagnostic codes; check:workflow-code-docs now requires one [#exit-<code>] section per non-zero code sourceExitCodeRows lists - workflows/code/how-it-works: static compile, canonical form and round trip, block identity, stale fingerprints, the workspace three-way rule, promotion - cli/troubleshooting and cli/workflow-sync link the new pages - packages/workflow-sdk README cut to a pointer to the docs plus the package layout; drop the exit-code test case pinned to its old hand-copied table and the SYNTAX.md diagnostics test the docs check already enforces - sim-cli README links the generated exit-code page instead of restating the codes - exit-codes page: drop the note about earlier CLI releases
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
[Low impact] The PR appears safe to merge, with no new actionable issues found. SummaryAdds guides for adopting existing workflows, troubleshooting failures, and understanding how source files become saved workflows.
Reviews (2) · Last reviewed commit: "improvement(workflow-code): qualify stal..." · Reviewed by Greptile |
…ing; workflows' exception to the three-way rule
Collaborator
Author
Collaborator
Author
|
@cubic-dev-ai review this PR |
Contributor
@waleedlatif1 I have started the AI code review. It will take a few minutes to complete. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/workflows/code/adopt: put builder-made workflows in git, keep editing in the builder (drift exits 12, a conflict exits 5), what stays in the builder, who owns a change, rollback (deploy rollback, revert to a version, or restore an earlier commit's source while keeping.sim/)/workflows/code/troubleshooting: one section per source exit code (1, 5–15, 130), the 403 cases, and the common diagnostic codes/workflows/code/how-it-works: static compile, canonical form and round trip, block identity and the lock, stale fingerprints, the workspace three-way rule, promotioncheck:workflow-code-docsnow requires exactly one[#exit-<code>]troubleshooting section per non-zero codesourceExitCodeRowslists, so a new exit code can't ship undocumentedcli/troubleshootingandcli/workflow-synclink the new pages; nav gains the two how-tos and an Explanation grouppackages/workflow-sdkREADME cut to a pointer to the docs plus the package layout (the package is private; the user docs own the loop, files, diagnostics and exit codes)check:audits)--helpType of Change
Testing
[#exit-8]section (and adding an unused[#exit-4]) failscheck:workflow-code-docs; the script from before this change passes the same broken page. Removing a SYNTAX.md diagnostics row still fails the check after deleting the duplicate testcontent:generate(link and anchor validation; a broken#exit-55link fails it),content:verify-compatibility,generate:docs-manifestcheck:audits,check:test-types,check:migrations, lint, root type-check,test:scripts,check-block-registry.ts origin/stagingChecklist
test-auditauthoring gate)