Skip to content

Add blank-assigned cleanup error linter - #75922

Merged
pelikhan merged 6 commits into
mainfrom
copilot/linter-minerblank-assigned-cleanup-error-6453f9349
Nov 8, 2026
Merged

pelikhan merged 6 commits into
mainfrom
copilot/linter-minerblank-assigned-cleanup-error-6453f9349

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Adds a linter for cleanup errors discarded by assigning them to _. It covers os.Remove, os.RemoveAll, os.WriteFile, and os.MkdirAll.

  • Detection: Skips generated files and deferred cleanup closures; leaves Close() checks to the existing analyzer.
  • Integration: Registers the analyzer in linters.All() and synchronizes documentation and linter metadata. Existing Remove/RemoveAll assignment checks are moved to the new analyzer to prevent duplicate diagnostics.
_ = os.WriteFile(path, data, 0o600) // reported

Copilot AI changed the title [WIP] Add blank-assigned cleanup error linter Add blank-assigned cleanup error linter Nov 8, 2026
Copilot AI requested a review from gh-aw-bot November 8, 2026 17:02
@pelikhan
pelikhan marked this pull request as ready for review November 8, 2026 17:08
Copilot AI adaptive review requested due to automatic review settings November 8, 2026 17:08
@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Specification Reviewer completed successfully!

PR Specification Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from PR Specification Reviewer · gpt56 · ~2 AIC · ⌖ ~1 AIC · ◇ ~1 AIC · ⊞ 1.7K · ◷

Generated by PR Specification Reviewer for #75922

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated from Test Quality Sentinel · routed: haiku55 xhigh · ~1 AIC · ⌖ ~2 AIC · ◇ ~1 AIC · ⊞ 6.3K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

❌ Design Decision Gate 🏗️ failed to deliver outputs during design decision gate check.

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

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

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Generated by Ponytail Reviewer for #75922

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Warning

The push_to_pull_request_branch operation failed: Cannot verify branch protection rules for "copilot/linter-minerblank-assigned-cleanup-error-6453f9349": Resource not accessible by integration - https://docs.github.com/rest/branches/branch-protection\#get-branch-protection. Reading classic branch protection requires a GitHub App installation token or fine-grained PAT with Administration: read repository permission; GITHUB_TOKEN cannot provide this permission. Push blocked to prevent accidental writes to protected branches.. The code changes were not applied.

🏗️ Design Decision Gate — ADR Required

This PR makes significant changes to core business logic (211 new lines under pkg/) but does not have a linked Architecture Decision Record (ADR).

📄 Draft ADR committed: docs/adr/75922-split-blank-assigned-cleanup-errors-into-dedicated-linter.md. Review and complete it before merging.

Decision captured in the draft: add a standalone blankassignedcleanuperror analyzer for _ = os.Remove/RemoveAll/WriteFile/MkdirAll(...). Errors dropped inside deferred closures are exempt. The _ = handling moves out of osremoveuncheckedcleanup to avoid duplicate diagnostics, and CI enforcement is deferred via notYetEnforced.

🔒 This PR cannot merge until an ADR is linked in the PR body.

📋 What to do next
  1. Review the draft ADR committed to your branch. It was generated from the PR diff.

  2. Complete the missing sections. Add context the AI couldn't infer, refine the decision rationale, and list the alternatives you actually considered. In particular, check the trade-off that moving _ = os.Remove checks changes which (nolint/redacted) directive applies.

  3. Commit the finalized ADR to docs/adr/ on your branch.

  4. Reference the ADR in this PR body by adding a line such as:

    ADR: ADR-75922: Split blank-assigned cleanup errors into a dedicated linter (link unavailable: invalid HTTPS URL)

Once an ADR is linked in the PR body, this gate will re-run and verify the implementation matches the decision.

❓ Why ADRs Matter

"AI made me procrastinate on key design decisions. Because refactoring was cheap, I could always say 'I'll deal with this later.' Deferring decisions corroded my ability to think clearly."

ADRs create a searchable, permanent record of why the codebase looks the way it does. Future contributors (and your future self) will thank you.

📋 Michael Nygard ADR Format Reference

An ADR must contain these four sections to be considered complete:

  • Context: What is the problem? What forces are at play?
  • Decision: What did you decide? Why?
  • Alternatives Considered: What else could have been done?
  • Consequences: What are the trade-offs (positive and negative)?

All ADRs are stored in docs/adr/ as Markdown files named by PR number.

🏗️ ADR gate enforced by Design Decision Gate 🏗️ · pi · routed: opus55 medium · ~33 AIC · ⌖ ~2 AIC · ⊞ 7.7K · ◷
Comment /review to run again

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Comment Memory

Peek at saved memory (pr-code-quality-reviewer)
reviewed_at: 2026-11-08T17:11:11Z
review_event: REQUEST_CHANGES
top_themes: deferred cleanup coverage regression; nolint suppression migration break
files_reviewed: pkg/linters/blankassignedcleanuperror/blankassignedcleanuperror.go, pkg/linters/osremoveuncheckedcleanup/osremoveuncheckedcleanup.go, pkg/linters/blankassignedcleanuperror/testdata/src/blankassignedcleanuperror/blankassignedcleanuperror.go
comment_count: 2

Note

This comment is managed by comment memory.

Expand the saved memory block to view or edit the persistent context for this thread.
Edit only the text inside the backtick fences; workflow metadata and the footer are regenerated automatically.

Learn more about comment memory

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K · ◷
Comment /review to run again

@github-actions github-actions Bot 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.

I found two merge-blocking compatibility/correctness concerns in the changed analyzer: deferred _ = os.Remove* assignments are no longer covered, and existing nolint:osremoveuncheckedcleanup suppressions stop applying after the diagnostic moves. Please address these regressions or provide an explicit, tested migration rationale.

🔎 Code quality review by PR Code Quality Reviewer · copilot · gpt50 · ~3 AIC · ⌖ ~1 AIC · ⊞ 1.6K
Comment /review to run again


position := pass.Fset.PositionFor(call.Pos(), false)
if filecheck.ShouldSkipFilename(position.Filename, generatedFiles) ||
nolint.HasDirectiveForLinter(position, nolintIndex, "blankassignedcleanuperror") {

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.

This changes the suppression key for existing _ = os.Remove* findings from osremoveuncheckedcleanup to blankassignedcleanuperror. Existing source directives using the old key will no longer suppress the diagnostic once this analyzer is enforced, creating a silent migration break. Please preserve the old key for this form or add an explicit migration path and test.

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.

Added compatibility handling so existing //nolint:osremoveuncheckedcleanup directives still suppress _ = os.Remove/RemoveAll findings. Covered by the legacy-directive fixture in 5e414205.

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.

Preserved the legacy osremoveuncheckedcleanup suppression key and added fixture coverage for both os.Remove and os.RemoveAll. Fixed in d5893a05b6.

return
}
for _, deferred := range deferredClosures {
if assign.Pos() >= deferred.start && assign.End() <= deferred.end {

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.

This exemption creates a coverage regression: the old osremoveuncheckedcleanup analyzer reported _ = os.Remove/RemoveAll even inside deferred closures, but that assignment logic was removed from it. These common cleanup errors are now silently lint-free. Please either retain coverage for deferred assignments or document and test the intentional behavior with a stronger rationale.

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.

Removed the deferred-closure exemption and added fixtures asserting that discarded Remove and RemoveAll errors in deferred closures are reported. This is included in 5e414205.

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.

The analyzer now reports blank-assigned os.Remove/os.RemoveAll errors inside deferred cleanup closures; fixtures cover this behavior. Fixed in d5893a05b6.

@github-actions github-actions Bot 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.

What this change does: Adds a dedicated analyzer for blank-assigned errors from selected os cleanup functions. It moves assignment handling out of osremoveuncheckedcleanup and updates the linter registry, documentation, and fixtures.

Should fix:

  1. Copying guaranteed single elements (pkg/linters/blankassignedcleanuperror/blankassignedcleanuperror.go:L39-44)

    • What this is: The guards require exactly one left- and right-hand expression.
    • Problem: Two loops copy those single elements into variables, adding four lines and hiding the invariant.
    • Fix: Use direct indexing with the existing uncheckedsliceindex suppression used by nearby linters.
    • If we skip it: This small matcher remains harder to read than two direct assignments.

Verdict: fix 1 first.
Lean: -4 lines possible.

Generated by ✂️ Ponytail Reviewer for #75922 · codex · routed: gpt56 max · ~3 AIC · ⌖ ~1 AIC · ⊞ 118
Comment /ponytail to run again

return
}
var lhs, rhs ast.Expr
for _, expr := range assign.Lhs {

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.

What this is: The checks on lines 35-36 guarantee exactly one left- and right-hand expression. Problem: The two for loops on lines 39-44 only copy those single elements, adding four lines and obscuring that invariant. Fix: Use lhs := assign.Lhs[0] and rhs := assign.Rhs[0] directly, with the uncheckedsliceindex suppression used by nearby linters. If we skip it: This small matcher stays harder to read than the equivalent two direct assignments.

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.

Replaced the loops with direct Lhs[0] and Rhs[0] access, retaining the existing one-element guards and adding the uncheckedsliceindex suppressions. Included in 5e414205.

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.

The analyzer now iterates corresponding LHS/RHS pairs rather than copying single elements; indexed access is guarded by the matching-length check. Fixed in d5893a05b6.

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.

🟡 Changes recommended

The single-assignment guard leaves discarded filesystem errors unreported in valid parallel assignments with mixed blank and non-blank destinations.

1 open issue
1 file not reviewed
  • pkg/linters/blankassignedcleanuperror/testdata/src/blankassignedcleanuperror/generated.go: Generated file
What changed in this PR

Adds blankassignedcleanuperror to gh-aw’s custom Go analyzers to detect filesystem errors discarded through _ assignments, addressing #75458.

Changes:

  • Detects discarded errors from four os functions, excluding generated files and deferred closures.
  • Moves assignment checks out of osremoveuncheckedcleanup to avoid duplicate diagnostics.
  • Adds fixtures and synchronizes the analyzer registry, documentation, and enforcement metadata.
File Description
pkg/​linters/​spec_test.go Adds the analyzer to documented API checks.
pkg/​linters/​registry.go Registers the new analyzer.
pkg/​linters/​README.md Documents the new analyzer and revised cleanup-check scope.
pkg/​linters/​osremoveuncheckedcleanup/​testdata/​src/​osremoveuncheckedcleanup/​osremoveuncheckedcleanup.go Removes assignment cases transferred to the new analyzer.
pkg/​linters/​osremoveuncheckedcleanup/​osremoveuncheckedcleanup.go Limits checks to expression and go statements.
pkg/​linters/​doc.go Updates the analyzer catalog and count.
pkg/​linters/​doc_sync_test.go Records deferred CI enforcement.
pkg/​linters/​blankassignedcleanuperror/​testdata/​src/​blankassignedcleanuperror/​other/​cleanup.go Supplies unrelated methods for exclusion tests.
pkg/​linters/​blankassignedcleanuperror/​testdata/​src/​blankassignedcleanuperror/​generated.go Tests generated-file exclusion.
pkg/​linters/​blankassignedcleanuperror/​testdata/​src/​blankassignedcleanuperror/​blankassignedcleanuperror.go Covers detection, exclusions, and suppression.
pkg/​linters/​blankassignedcleanuperror/​blankassignedcleanuperror.go Implements blank-assigned filesystem-error detection.
pkg/​linters/​blankassignedcleanuperror/​blankassignedcleanuperror_test.go Runs the analyzer’s fixture tests.

Review effort: Balanced (auto)

Comment on lines +35 to +36
if !ok || len(assign.Lhs) != 1 || len(assign.Rhs) != 1 {
return

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.

Fixed in d5893a05b6: the analyzer now checks corresponding LHS/RHS pairs when their counts match, with fixtures for _ in both destination positions.

@github-actions github-actions Bot 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.

Skills-Based Review 🧠

Applied /tdd and /grill-with-docs (change type: new feature). Requesting changes because the deferred-closure exemption silently removes coverage for _ = os.Remove(...) that the base analyzer reported.

📋 Key Themes & Highlights

Key Themes

  • Undisclosed coverage drop: The removed AssignStmt branch in osremoveuncheckedcleanup had no deferred-closure check. Any _ = os.X(...) inside a defer func(){...}() is now reported by neither analyzer. The PR body describes the move as dedup-only.
  • Docs do not describe the exemption: The README and doc.go descriptions omit the deferred-closure scope.

Verification

  • go test -count=1 ./pkg/linters/... passes, including blankassignedcleanuperror and osremoveuncheckedcleanup.
  • A temporary probe on this branch confirmed that the new analyzer is silent on _ = os.WriteFile and _ = os.Remove inside deferred closures, and the updated osremoveuncheckedcleanup is silent on the same form. The probe was removed afterward.
  • Testdata pins the deferred exemption only for direct func(){...} literals, not nested func literals.

Positive Highlights

  • ✅ Table-driven testdata covers generated files, nolint, the Close() boundary, and the parenthesised-call form.
  • ✅ README, doc.go, spec_test.go, and doc_sync_test.go are updated together, and the new analyzer is kept out of enforcement until remediation.

@copilot please address the review comments above.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer · copilot · routed: haiku55 xhigh · ~7 AIC · ⌖ ~2 AIC · ⊞ 5.4K
Comment /matt to run again

return
}
for _, deferred := range deferredClosures {
if assign.Pos() >= deferred.start && assign.End() <= deferred.end {

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.

[/tdd] The deferred-closure exemption is broader than the rule it sits under: any _ = os.X(...) inside any deferred func literal body (including nested func literals) is skipped silently.

The removed AssignStmt branch in osremoveuncheckedcleanup had no deferred check, so base reported _ = os.Remove(tmp) inside a deferred closure. This PR removes that branch, and the new analyzer exempts the same form, so it is now reported by neither analyzer. I confirmed this with a probe on this branch (removed afterward). The PR body presents the move as dedup-only, so this coverage drop is not disclosed.

💡 Suggested fix

Choose one and make it explicit: keep the exemption and document it (a one-line comment here, plus README and doc.go), or drop it so the _ = rule is consistent between top-level and deferred code. If you keep it, add a nested func-literal case to the testdata so the scope is pinned.

@copilot please address this.

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.

Removed the deferred-closure exemption entirely, so nested or other function literals are no longer silently skipped. Covered by the deferred cleanup fixtures in 5e414205.

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.

There is no deferred-closure exemption now: blank-assigned cleanup calls are analyzed inside deferred and nested function-literal bodies. The deferred fixture covers reporting. Fixed in d5893a05b6.

Comment thread pkg/linters/README.md Outdated
- `appendbytestring` — reports `append(b, []byte(s)...)` calls where `b` is `[]byte` and `s` is a string, which can be simplified to `append(b, s...)`.
- `appendoneelement` — reports `append(s, []T{x}...)` calls where a single-element slice literal is spread and can be simplified to `append(s, x)`.
- `blankassigncomma` — reports assignment statements where every result is discarded via 2 or more blank identifiers (e.g. `_, _ = f()`), which may indicate unintended result ignoring.
- `blankassignedcleanuperror` — reports discarded errors from `os.Remove`, `os.RemoveAll`, `os.WriteFile`, and `os.MkdirAll` when assigned to `_`.

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.

[/grill-with-docs] This description does not mention the deferred-closure exemption, so readers cannot tell why _ = os.Remove(...) inside a defer func(){...}() is silent while the same statement elsewhere is reported. Consider adding a clause such as "outside deferred cleanup closures" here and in the matching doc.go and table rows.

@copilot please address this.

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.

Updated the analyzer description, README entries, and doc.go to say discarded cleanup errors are reported in deferred closures. Included in 5e414205.

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.

The documentation already states that findings include deferred closures, matching the analyzer behavior; no exemption is applied. Kept in sync in d5893a05b6.

@gh-aw-bot

Copy link
Copy Markdown
Collaborator

@copilot

Copilot assignment requested for the following outstanding work:

  1. Update this branch with the latest main using make merge-main, resolving any conflicts and preserving the intended changes.
  2. Review (pkg/linters/blankassignedcleanuperror/blankassignedcleanuperror.go:66): This changes the suppression key for existing _ = os.Remove* findings from osremoveuncheckedcleanup to blankassignedcleanuperror. Existing source directives using the old key will no longer suppress the diagnostic once this analyzer is enforced, creating a silent migration break. Please preserve the old key for this form or add an explicit migration path and test. - Add blank-assigned cleanup error linter #75922 (comment)
  3. Review (pkg/linters/blankassignedcleanuperror/blankassignedcleanuperror.go:50): This exemption creates a coverage regression: the old osremoveuncheckedcleanup analyzer reported _ = os.Remove/RemoveAll even inside deferred closures, but that assignment logic was removed from it. These common cleanup errors are now silently lint-free. Please either retain coverage for deferred assignments or document and test the intentional behavior with a stronger rationale. - Add blank-assigned cleanup error linter #75922 (comment)
  4. Review (pkg/linters/blankassignedcleanuperror/blankassignedcleanuperror.go:39): What this is: The checks on lines 35-36 guarantee exactly one left- and right-hand expression. Problem: The two for loops on lines 39-44 only copy those single elements, adding four lines and obscuring that invariant. Fix: Use lhs := assign.Lhs[0] and rhs := assign.Rhs[0] directly, with the uncheckedsliceindex suppression used by nearby linters. If we skip it: This small matcher stays harder to read than the equivalent two direct assignments. - Add blank-assigned cleanup error linter #75922 (comment)
  5. Review (pkg/linters/blankassignedcleanuperror/blankassignedcleanuperror.go:50): [/tdd] The deferred-closure exemption is broader than the rule it sits under: any _ = os.X(...) inside any deferred func literal body (including nested func literals) is skipped silently. - Add blank-assigned cleanup error linter #75922 (comment)
  6. Review (pkg/linters/README.md:14): [/grill-with-docs] This description does not mention the deferred-closure exemption, so readers cannot tell why _ = os.Remove(...) inside a defer func(){...}() is silent while the same statement elsewhere is reported. Consider adding a clause such as "outside deferred cleanup closures" here and in the matching doc.go and table rows. - Add blank-assigned cleanup error linter #75922 (comment)
  7. Fix failing check safe_outputs (FAILURE): https://github.com/github/gh-aw/actions/runs/42503427373/job/128802316546.

Once you start work, post this work summary as a PR comment without the leading Copilot mention, including the Sous-chef head, work, and state lines below, to record that the assignment is running. Apply the necessary fixes on this PR's existing branch, reply to each listed review thread and resolve it when addressed. Ignore feedback already answered or resolved; stop when only human review or CI remains. Do not merge or trigger CI.

Sous-chef requested-head: f1ab6fb
Sous-chef requested-work: 376106a558ee35019934a81c72fc9479d00b9e8d92895f1e9fd81ef409109000 560b02b14f154ce648f6736adc896705710b9bd9cb0619d0d9f8fe9b219208e0 b2ab11aab4fb5e37ec92193105f5b804a4e2b390cf7151263f6e0654f48e4f8c c7cf93e497befdd5e698d00101b0703e4101fe4133d86d433f7c170d07402b7e e3307de8415f44dad121e784f7cce87f6af2373fbc0d5a37fb4f033d5b5abe91 f62980b8f4ca9ac1b19150032a4465191c16e006c67651dcf8db08209fb6014e
Sous-chef requested-state: 76b0af44d58070ddb3f2e8f6fa8c0a8770e9039f4a4321acfe4cb8ce78cdc000

Generated by 👨🍳 PR Sous Chef · pi · haiku45 · ~8 AIC · ⌖ ~15 AIC · ⊞ 1.2K · ◷
Comment /souschef to run again

Copilot AI commented Nov 8, 2026

Copy link
Copy Markdown
Contributor Author

@copilot

Copilot assignment requested for the following outstanding work:...

Starting the requested work: merge the latest main, fix the cleanup-error analyzer feedback and fixtures/docs, then investigate the safe_outputs failure. I’ll validate locally and will not trigger CI or merge the PR.

Sous-chef requested-head: f1ab6fb
Sous-chef requested-work: 376106a558ee35019934a81c72fc9479d00b9e8d92895f1e9fd81ef409109000 560b02b14f154ce648f6736adc896705710b9bd9cb0619d0d9f8fe9b219208e0 b2ab11aab4fb5e37ec92193105f5b804a4e2b390cf7151263f6e0654f48e4f8c c7cf93e497befdd5e698d00101b0703e4101fe4133d86d433f7c170d07402b7e e3307de8415f44dad121e784f7cce87f6af2373fbc0d5a37fb4f033d5b5abe91 f62980b8f4ca9ac1b19150032a4465191c16e006c67651dcf8db08209fb6014e
Sous-chef requested-state: 76b0af44d58070ddb3f2e8f6fa8c0a8770e9039f4a4321acfe4cb8ce78cdc000

Copilot AI and others added 2 commits November 8, 2026 17:45
@pelikhan

pelikhan commented Nov 8, 2026

Copy link
Copy Markdown
Collaborator

@copilot resolve the merge conflicts on this branch.

Copilot AI and others added 2 commits November 8, 2026 18:39
…lank-assigned-cleanup-error-6453f9349

# Conflicts:
#	pkg/linters/doc_sync_test.go

Co-authored-by: pelikhan <[email protected]>

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor Author

@copilot

Copilot assignment requested for the following outstanding work:...

Completed the analyzer fixes in d5893a05b6 and merged current main in 2d6fc92dce. I investigated safe_outputs: its push handler failed because the workflow token cannot read branch-protection settings (403), so the handler blocked the write. This is a permissions limitation, not a repository-code failure; I did not trigger CI.

@copilot resolve the merge conflicts on this branch.

Resolved the doc_sync_test.go conflict and merged the latest main in merge commit 2d6fc92dce.

Copilot AI requested a review from pelikhan November 8, 2026 18:45
@pelikhan
pelikhan merged commit 8533e69 into main Nov 8, 2026
100 checks passed
@pelikhan
pelikhan deleted the copilot/linter-minerblank-assigned-cleanup-error-6453f9349 branch November 8, 2026 18:58
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.2

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.

[linter-miner] Add blank-assigned cleanup error linter

4 participants