Skip to content

docs(#6163): add staging warning to go-code.md coverage procedure - #6164

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/6163-add-staging-warning
Open

docs(#6163): add staging warning to go-code.md coverage procedure#6164
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/6163-add-staging-warning

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Summary

Add a staging warning to the "Verifying patch coverage locally" procedure in docs/contributing/go-code.md step 1, matching the equivalent warning already present in skills/check-patch-coverage/SKILL.md step 1. Without this note, an agent following go-code.md would not know to git add new files before running git diff --name-only, causing the coverage check to silently skip unstaged new files.

Changes

  • Added "Stage new files first (git add)" note to step 1 of the coverage procedure in docs/contributing/go-code.md
  • Wording is consistent with the existing warning in skills/check-patch-coverage/SKILL.md

Testing

  • Verified both docs/contributing/go-code.md and skills/check-patch-coverage/SKILL.md contain equivalent staging warnings
  • No Go code changed — no tests or linters applicable

Checklist


Closes #6163

Post-script verification

  • Branch is not main/master (agent/6163-add-staging-warning)
  • Secret scan passed (gitleaks — 3c7f5d034d3f9ace8efd3608a6322903da907809..HEAD)
  • PR body secret scan passed (gitleaks — no-git)

The "Verifying patch coverage locally" section in go-code.md step 1
was missing a warning that new files must be staged before running
`git diff --name-only`. Without staging, new Go files are invisible
to the command and the coverage check silently skips them.

Add the same staging note that SKILL.md step 1 already includes,
keeping the two coverage procedures consistent.

Closes #6163
@fullsend-ai-coder
fullsend-ai-coder Bot requested a review from a team as a code owner August 13, 2026 05:59
@fullsend-ai-coder fullsend-ai-coder Bot added the ready-for-review Agent PR ready for human review label Aug 13, 2026
@fullsend-ai-review

fullsend-ai-review Bot commented Aug 13, 2026

Copy link
Copy Markdown

🤖 Finished Review · ✅ Success · Started 6:01 AM UTC · Completed 6:09 AM UTC

Commit: 75b4b2a · View workflow run →

@github-actions

Copy link
Copy Markdown

Site preview

Preview: https://a444f89c-site.fullsend-ai.workers.dev

Commit: 75b4b2aa15f4495e68c68d6202eeeb9859daa185

@codecov

codecov Bot commented Aug 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullsend-ai-review

Copy link
Copy Markdown

Looks good to me


Labels: PR modifies documentation under docs/contributing/

@fullsend-ai-review fullsend-ai-review Bot added ready-for-merge All reviewers approved — ready to merge component/docs User-facing documentation Review effort 1/5 labels Aug 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/docs User-facing documentation ready-for-merge All reviewers approved — ready to merge ready-for-review Agent PR ready for human review Review effort 1/5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add staging warning to go-code.md coverage procedure for consistency with SKILL.md

0 participants