Skip to content

[docs] docs: unbloat safe outputs reference#42814

Merged
pelikhan merged 3 commits into
mainfrom
docs/unbloat-safe-outputs-c9493154ceac1ae3
Jul 2, 2026
Merged

[docs] docs: unbloat safe outputs reference#42814
pelikhan merged 3 commits into
mainfrom
docs/unbloat-safe-outputs-c9493154ceac1ae3

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Refactors docs/src/content/docs/reference/safe-outputs.md to reduce verbosity and improve information density in the issue-creation safe-output field reference sections.

Changes

docs/src/content/docs/reference/safe-outputs.md

  • Available Safe Output Types — Added an introductory sentence clarifying availability rules: noop, missing-tool, and missing-data are always present; create-issue is auto-injected only when no non-system safe outputs are configured.
  • Issue Grouping — Replaced a bulleted list with a single paragraph. Added missing implementation detail: the parent issue is identified by a gh-aw-group HTML marker derived from the workflow name. Removed the redundant Example subheader.
  • Auto-Close Older Issues — Replaced a short intro + 4-item bullet list with a single paragraph including specifics: marker gh-aw-workflow-id (or gh-aw-close-key when close-older-key is set); reusable-workflow scenarios use gh-aw-workflow-call-id for per-caller matching to prevent cross-closing; closes up to 10 issues as not planned; cleanup runs only if new issue creation succeeds.
  • Group By Day — Replaced description + trailing paragraph with a single paragraph detailing marker lookup order (gh-aw-workflow-id to gh-aw-workflow-call-id in reusable scenarios to gh-aw-close-key override), that comment posts do not consume a max-count slot, and the fallback to normal issue creation if the pre-check fails.

Impact

No code, configuration schema, or behaviour changes. Documentation only. Net: -17 lines in 1 file.

Generated by PR Description Updater for #42814 · 40.8 AIC · ⌖ 6.98 AIC · ⊞ 4.7K ·

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

👋 Nice work from the Documentation Unbloat workflow — this is a clean, focused tightening of the safe-outputs.md reference. Converting the group, close-older-issues, and group-by-day bullet lists into prose reduces repetition while keeping all the detail intact, and the added intro sentence clarifying built-in vs auto-injected outputs is a helpful orientation for readers.

The PR is well-scoped (single file, single purpose), clearly described, and labels are accurate. No issues to flag — this looks ready for review. 🟢

Generated by ✅ Contribution Check · 131 AIC · ⌖ 21 AIC · ⊞ 6.3K ·

@pelikhan pelikhan marked this pull request as ready for review July 1, 2026 17:51
Copilot AI review requested due to automatic review settings July 1, 2026 17:51
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Test Quality Sentinel completed test quality analysis.

No test files were added or modified in this PR. Test Quality Sentinel skipped.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

PR Code Quality Reviewer completed the code quality review.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

Design Decision Gate 🏗️ completed the design decision gate check.

No ADR enforcement needed: PR does not have the 'implementation' label and has ≤100 new lines of code in business logic directories.

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor Author

🧠 Matt Pocock Skills Reviewer has completed the skills-based review. ✅

Copilot AI 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.

Pull request overview

This PR tightens the safe outputs reference docs by removing repetitive scaffolding and consolidating several configuration sections into concise prose, while keeping examples and links intact.

Changes:

  • Added a brief intro clarifying which safe output types are always available vs conditionally auto-injected.
  • Condensed group, close-older-issues, and group-by-day documentation into shorter paragraphs.
Show a summary per file
File Description
docs/src/content/docs/reference/safe-outputs.md Condenses safe output handler descriptions and adds a short intro about built-in/auto-injected handlers.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 3
  • Review effort level: Low

- Parent issues include metadata tracking all sub-issues

This is useful for workflows that create multiple related issues, such as planning workflows that break down epics into tasks, or batch processing workflows that create issues for individual items.
The `group` field (default: `false`) organizes multiple issues as sub-issues under a parent issue. The parent is managed using the workflow ID as the group identifier, children are linked through GitHub sub-issue relationships, each parent can hold up to 64 sub-issues, and the parent stores metadata for the tracked children. This is useful for workflows that create sets of related issues, such as plans broken into tasks or batch processing runs.

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.

Fixed — the description now states the parent is identified by a <!-- gh-aw-group: ... --> marker derived from the workflow name, and the false "stores metadata for tracked children" claim has been removed (children are linked via GitHub sub-issue relationships only).

#### Auto-Close Older Issues

The `close-older-issues` field (default: `false`) automatically closes previous open issues from the same workflow when a new issue is created. This is useful for workflows that generate recurring reports or status updates, ensuring only the latest issue remains open.
The `close-older-issues` field (default: `false`) closes previous open issues from the same workflow after a new issue is created. It searches for open issues with the same workflow-id marker, closes up to 10 of them as "not planned," and adds a comment linking to the new issue. The cleanup runs only if new issue creation succeeds, which makes it a good fit for recurring reports or status updates where only the latest issue should remain open.

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.

Fixed — the description now documents close-older-key (uses gh-aw-close-key marker instead of workflow-id markers) and mentions that in reusable-workflow scenarios the gh-aw-workflow-call-id marker is used for precise per-caller matching to prevent cross-caller closes.

#### Group By Day

The `group-by-day` field (default: `false`) groups multiple same-day workflow runs into a single issue. When enabled, the handler searches for an existing open issue created **today (UTC)** with the same workflow-id marker (or `close-older-key` if set). If found, the new content is posted as a **comment** on that existing issue instead of creating a new one.
The `group-by-day` field (default: `false`) groups same-day workflow runs into a single issue. The handler looks for an existing open issue created **today (UTC)** with the same workflow-id marker, or `close-older-key` if set, and posts the new content as a **comment** instead of creating a new issue. This is useful for frequent scheduled workflows, such as runs every four hours, because all runs for the day contribute to one issue. Posting as a comment does not consume a max-count slot; if the pre-check fails, normal issue creation is used as a fallback.

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.

Fixed — the description now notes that in reusable-workflow scenarios the gh-aw-workflow-call-id marker is also used for matching (alongside the gh-aw-workflow-id marker, or gh-aw-close-key when close-older-key is set).

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs-only change — one non-blocking accuracy concern

The condensed prose and structure improvements are generally sound. One spot in the new intro paragraph uses language that could mislead users about configurability of system outputs — flagged inline. All other content changes preserve the original semantics accurately.

🔎 Code quality review by PR Code Quality Reviewer · 36.6 AIC · ⌖ 9.55 AIC · ⊞ 1.6K
Comment /review to run again

Comment thread docs/src/content/docs/reference/safe-outputs.md

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · 40.7 AIC · ⌖ 6.61 AIC · ⊞ 4.9K

The `group` field (default: `false`) organizes multiple issues as sub-issues under a parent issue. The parent is managed using the workflow ID as the group identifier, children are linked through GitHub sub-issue relationships, each parent can hold up to 64 sub-issues, and the parent stores metadata for the tracked children. This is useful for workflows that create sets of related issues, such as plans broken into tasks or batch processing runs.

**Example:**

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the **Example:** label left a double blank line before the code block. One blank line is sufficient — remove one of the two blank lines between the prose paragraph and the ```yaml fence.\n\n@copilot please address this.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · 43.8 AIC · ⌖ 7.11 AIC · ⊞ 6.6K
Comment /matt to run again

Comment thread docs/src/content/docs/reference/safe-outputs.md
@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot please run the pr-finisher skill, address these unresolved review threads (newest first):

Generated by 👨‍🍳 PR Sous Chef · 12.7 AIC · ⌖ 10.4 AIC · ⊞ 6.4K ·

Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Copilot Bot requested a review from gh-aw-bot July 1, 2026 18:26
@pelikhan pelikhan merged commit 588de5c into main Jul 2, 2026
@pelikhan pelikhan deleted the docs/unbloat-safe-outputs-c9493154ceac1ae3 branch July 2, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation doc-unbloat documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants