Skip to content

[avenger] Fix gofmt formatting in compiler_safe_output_jobs.go#40164

Merged
pelikhan merged 1 commit into
mainfrom
avenger/fix-gofmt-418-044b6bfdc29ed43b
Jun 18, 2026
Merged

[avenger] Fix gofmt formatting in compiler_safe_output_jobs.go#40164
pelikhan merged 1 commit into
mainfrom
avenger/fix-gofmt-418-044b6bfdc29ed43b

Conversation

@github-actions

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

Copy link
Copy Markdown
Contributor

Fix gofmt formatting in compiler_safe_output_jobs.go

Summary

Formatting-only change. Three nested bullet lines in the buildSafeOutputsJobs doc comment were over-indented, causing make lint's fmt-check step to fail. Re-aligns them to the standard // - level that gofmt expects. No logic, behaviour, or API surface is changed.

Changes

File Change
pkg/workflow/compiler_safe_output_jobs.go Re-indent 3 doc-comment bullet lines to satisfy gofmt

Motivation

CI (make lint / fmt-check) was failing due to deeper indentation accidentally used for sub-bullets in the buildSafeOutputsJobs doc comment. Minimal fix to unblock CI with no functional impact.

Testing

  • make lint passes after this change.
  • No unit or integration tests needed — diff is whitespace-only inside a Go doc comment.

Risk

None. Pure formatting change inside a comment block.

Generated by PR Description Updater for issue #40164 · 37.1 AIC · ⌖ 6.71 AIC · ⊞ 4.5K ·

The previous commit (#40161) left a doc comment in buildSafeOutputsJobs
unformatted, which fails CI's fmt-check (make lint). Reformat the comment
block to satisfy gofmt.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@pelikhan pelikhan marked this pull request as ready for review June 18, 2026 23:03
Copilot AI review requested due to automatic review settings June 18, 2026 23:03
@pelikhan pelikhan merged commit cc65d16 into main Jun 18, 2026
21 checks passed
@pelikhan pelikhan deleted the avenger/fix-gofmt-418-044b6bfdc29ed43b branch June 18, 2026 23:03
@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

PR Code Quality Reviewer completed the code quality review.

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

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

No ADR enforcement needed: PR #40164 does not have the 'implementation' label and has only 3 new lines of code in business logic directories (well under the 100-line threshold).

@github-actions

github-actions Bot commented Jun 18, 2026

Copy link
Copy Markdown
Contributor Author

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

@github-actions

github-actions Bot commented Jun 18, 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. PR #40164 only modifies pkg/workflow/compiler_safe_output_jobs.go (gofmt formatting fix, +3/-3 lines).

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.

Copilot wasn't able to review any files in this pull request.

Comment on lines 166 to +169
// - forwards declared workflow_call inputs in `with:` so worker steps can reference inputs.<name> directly:
// - non-payload inputs: `fromJSON(needs.safe_outputs.outputs.call_workflow_payload).<name>`
// - `payload` is forwarded as the raw transport only when the worker declares it
// (GitHub Actions rejects undeclared inputs)
// - non-payload inputs: `fromJSON(needs.safe_outputs.outputs.call_workflow_payload).<name>`
// - `payload` is forwarded as the raw transport only when the worker declares it
// (GitHub Actions rejects undeclared inputs)
@github-actions github-actions Bot mentioned this pull request Jun 18, 2026

@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.

✅ No blocking issues

Pure gofmt formatting fix — 3 comment lines de-indented to satisfy fmt-check. No logic, behavior, or correctness changes. The existing inline comment at line 169 already captures the minor documentation hierarchy trade-off. Nothing new to flag.

🔎 Code quality review by PR Code Quality Reviewer · 26.3 AIC · ⌖ 6.82 AIC · ⊞ 5.1K

@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.

Skills-Based Review 🧠

Applied /zoom-out — change is a pure gofmt compliance fix; LGTM.

📋 Key Themes & Highlights

What Changed

Three doc-comment lines in buildSafeOutputsJobs were re-indented from a nested bullet style (// -) to the standard top-level bullet style (// -) required by gofmt.

Assessment

  • Zero logic change — only whitespace inside a block comment
  • CI unblockedmake fmt-check now passes
  • Content remains accurate — the bullet describing "forwards declared workflow_call inputs" still flows naturally into the following bullets, which elaborate on the payload handling

No blocking issues; approving.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · 36.1 AIC · ⌖ 7.04 AIC · ⊞ 6.9K

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants