Skip to content

docs(site): document signal tool Stage 3 exit semantics#876

Draft
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/signal-tool-stage3-semantics-42426ed58ef7c029
Draft

docs(site): document signal tool Stage 3 exit semantics#876
github-actions[bot] wants to merge 1 commit into
mainfrom
docs/signal-tool-stage3-semantics-42426ed58ef7c029

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented Jun 6, 2026

Summary

  • Users choosing between noop, missing-data, missing-tool, and report-incomplete now have a clear comparison table explaining what each tool does to the Stage 3 pipeline result
  • The critical detail that report-incomplete fails the pipeline (exit 1) is now explicit — previously there was no indication of this vs the other three tools which succeed

Changes

  • site/src/content/docs/reference/safe-outputs.mdx:
    • Added Signal Tools section (intro + comparison table) above the noop heading
    • Table shows Stage 3 exit result and whether each tool files an ADO work item
    • Explains "Succeeded with Issues" (exit 2) for noop/missing-tool when ADO credentials are unavailable
    • Updated report-incomplete description to clearly state it marks the build as Failed (exit 1)
    • Added note to missing-data that it has no front-matter configuration options, unlike noop and missing-tool

Accuracy checks

  • src/safeoutputs/report_incomplete.rs execute_impl(): returns ExecutionResult::failure(message) — confirmed failed exit
  • src/safeoutputs/missing_data.rs execute_impl(): returns ExecutionResult::success(message) — confirmed successful exit, no work item filing
  • src/safeoutputs/noop.rs and src/safeoutputs/missing_tool.rs: both call file_or_append_work_item() — confirmed work item behavior
  • src/safeoutputs/mod.rs file_or_append_work_item(): returns ExecutionResult::warning() when ADO credentials absent — confirmed "Succeeded with Issues"
  • src/main.rs lines 619–626: failure_count > 0 → exit(1), warning_count > 0 → exit(2) — confirmed exit code semantics

Validation

  • cd site && npm ci && npm run build — 33 pages built, all internal links valid

Created by the docs-writer workflow.

Generated by Docs Writer · sonnet46 5.7M ·

Add a 'Signal Tools' intro section before noop/missing-data/missing-tool/
report-incomplete that explains the critical behavioral differences
operators need to know:

- report-incomplete marks the build as Failed (exit 1)
- noop/missing-tool succeed (or warn with issues if ADO unreachable)
- missing-data always succeeds; no work item is filed
- noop/missing-tool both file/append ADO work items by default

The docs previously had no explanation of these exit semantics.
Users choosing between the four tools had no way to know that
report-incomplete causes a hard pipeline failure vs the others
which succeed. The comparison table makes the choice clear.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

0 participants