Skip to content

[docs] docs: unbloat frontmatter reference#36300

Merged
pelikhan merged 2 commits into
mainfrom
docs/unbloat-frontmatter-23c084df8d1535f5
Jun 1, 2026
Merged

[docs] docs: unbloat frontmatter reference#36300
pelikhan merged 2 commits into
mainfrom
docs/unbloat-frontmatter-23c084df8d1535f5

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

Summary

Two independent improvements shipped together: a documentation tightening pass on the frontmatter reference page, and a batch of Go lint fixes to keep CI green.


Changes

📝 docs: unbloat frontmatter reference

File: docs/src/content/docs/reference/frontmatter.md

Condensed and rewrote multiple reference sections — labels, metadata, timeout-minutes, secrets, observability, resources, runtimes, redirect, and private — to be more concise. Scattered bullet lists and multi-paragraph blocks were merged into tighter prose. No documented functionality was removed; this is a readability-only change.

  • Breaking: No
  • Impact: Low (docs only)

🔧 Fix lint-go CI failures (#36295)

Resolved a batch of lint-go CI failures introduced by updated linter rules:

Linter What was fixed
copyloopvar Loop variable capture patterns updated for Go 1.22+ semantics
errorlint Error comparisons/wrapping brought into conformance
modernize Code idioms updated to current Go style
testifylint testify assertion calls corrected to preferred forms
  • Breaking: No
  • Impact: Low (CI hygiene, no behaviour change)

Type of change

  • Documentation update
  • CI / tooling fix
  • Bug fix
  • New feature
  • Refactor

Testing

  • Lint-go CI should now pass cleanly.
  • Docs changes are prose-only; no functional tests required.

Generated by PR Description Updater for issue #36300 · sonnet46 1M ·

github-actions Bot and others added 2 commits June 1, 2026 18:32
…nt (#36295)

* Fix 4 golint issues: copyloopvar, errorlint, modernize, testifylint

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

* Fix 4 golint issues: copyloopvar, errorlint, modernize, testifylint

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Reduce bloat in the frontmatter reference (552 → 464 lines, 16% line /
10% word / 34% bullet reduction) while preserving all field semantics:

- Remove filler restatement paragraphs in Labels, Metadata, and Private
- Condense the over-structured Runtimes section: merge three
  near-identical YAML examples into one and drop the redundant
  Format / Fields / Use Cases / Default Behavior bullet subsections
- Convert Constraints and Security-best-practices bullet lists to prose
- Unwrap awkwardly hard-wrapped Observability prose
- Tighten Redirect, Resources, and timeout-minutes descriptions

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot added automation doc-unbloat documentation Improvements or additions to documentation labels Jun 1, 2026
@pelikhan pelikhan marked this pull request as ready for review June 1, 2026 18:38
Copilot AI review requested due to automatic review settings June 1, 2026 18:38
@pelikhan pelikhan merged commit db60d26 into main Jun 1, 2026
4 checks passed
@pelikhan pelikhan deleted the docs/unbloat-frontmatter-23c084df8d1535f5 branch June 1, 2026 18:38
@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Jun 1, 2026

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

No ADR enforcement needed: PR #36300 does not have the 'implementation' label and has 0 new lines of code in business logic directories (≤100 threshold). The changed files are shell/python scripts under .github/skills/ and .github/workflows/shared/mcp/, which are outside the configured business logic directories.

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Jun 1, 2026

🧪 Test Quality Sentinel completed test quality analysis.

No test files were added or modified in this PR (#36300, '[docs] docs: unbloat frontmatter reference'). Test Quality Sentinel skipped.

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Jun 1, 2026

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

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions Bot commented Jun 1, 2026

PR Code Quality Reviewer completed the code quality review.

No action needed: PR #36300 is already merged. It contains only documentation changes (unbloating frontmatter.md) — no code changes, no logic, no correctness/security/performance concerns to flag. All field semantics, defaults, and constraints are preserved in the condensed prose.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 streamlines the Frontmatter reference documentation by removing redundant restatement and simplifying structure while keeping all field semantics, defaults, tables, callouts, and key notes intact.

Changes:

  • Condensed several sections (e.g., Labels, Metadata, Secrets, Observability, Resources, Redirect, Private) by merging repetitive paragraphs/bullets into tighter prose.
  • Simplified the runtimes: section by collapsing repetitive sub-structure and examples into a single clearer example plus a short set of rules.
  • Reflowed and tightened explanatory text (notably Observability and timeout-minutes) without changing the described behavior.
Show a summary per file
File Description
docs/src/content/docs/reference/frontmatter.md Removes redundancy and over-structuring across multiple frontmatter field sections while preserving documented semantics and reference tables.

Copilot's findings

Tip

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

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@github-actions github-actions Bot mentioned this pull request Jun 1, 2026
Copy link
Copy Markdown
Contributor Author

@github-actions github-actions Bot left a comment

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 · sonnet46 1.2M

`endpoint` accepts a string, a `{url, headers}` object, or an array of endpoint objects for fan-out; `headers` accepts a map or comma-separated `key=value` string; `if-missing` supports `error` (default), `warn`, and `ignore`; and `attributes` is an optional map of custom span attributes (values support GitHub Actions expressions). See [OpenTelemetry](/gh-aw/reference/open-telemetry/) for runtime variables, endpoint forms, span attributes, and artifact files.

### Resources (`resources:`)

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.

[/grill-with-docs] The four-clause semicolon chain may trade readability for brevity — scanability was actually the reason the original had separate lines.

💡 Suggested alternative

Consider a compact definition list or just two sentences:

`endpoint` accepts a string, a `{url, headers}` object, or an array of objects for fan-out.
`headers` accepts a map or comma-separated `key=value` string; `if-missing` supports `error` (default), `warn`, and `ignore`;
`attributes` is an optional map of custom span attributes (values support GitHub Actions expressions).

Three sentences keeps scanning fast without the original hard-wrapping.

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.

2 participants