Skip to content

[dead-code] chore: remove dead functions — 2 functions removed - #71454

Merged
pelikhan merged 1 commit into
mainfrom
chore/remove-dead-functions-39969325485-59e0d65da62a50fb
Oct 23, 2026
Merged

pelikhan merged 1 commit into
mainfrom
chore/remove-dead-functions-39969325485-59e0d65da62a50fb

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Functions Removed

Function File
listHealthFailureInventory pkg/cli/health_failures_first.go
parseRepoFromURL pkg/cli/outcome_eval.go

Tests Removed

  • TestParseRepoFromURL
  • TestHealthPayloadInventoryFindsFleetSignalsWithoutEnrichment
  • TestHealthFailureInventoryStopsWhenEveryWorkflowHasEnoughCandidates

Verification

  • go build ./...
  • go vet ./...
  • go vet -tags=integration ./pkg/cli/
  • make fmt (JS prettier unavailable in the sandbox; gofmt clean)

https://github.com/github/gh-aw/actions/runs/39969325485

Generated by 🧹 Dead Code Removal Agent · copilot · auto · ~23 AIC · ⌖ ~1 AIC · ⊞ 10.2K · ◷

  • expires on Oct 26, 2026, 6:33 AM UTC-08:00

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review October 23, 2026 14:41
Copilot AI max review requested due to automatic review settings October 23, 2026 14:41
@pelikhan
pelikhan merged commit 04f8feb into main Oct 23, 2026
10 checks passed
@pelikhan
pelikhan deleted the chore/remove-dead-functions-39969325485-59e0d65da62a50fb branch October 23, 2026 14:42
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Ponytail Reviewer completed successfully!

Ponytail 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 Ponytail Reviewer · gpt56 · ~6 AIC · ⌖ ~6 AIC · ⊞ 14.8K · ◷

Generated by Ponytail Reviewer for #71454

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft.

Design Decision Gate 🏗️

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 Design Decision Gate 🏗️ · opus55 · ~12 AIC · ⌖ ~32 AIC · ◇ ~14 AIC · ⊞ 1.9K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ 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 · sonnet50 · ~14 AIC · ⌖ ~15 AIC · ◇ ~7 AIC · ⊞ 12.7K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor Author

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

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

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 deleted inventory tests cover active health-reporting behavior and should be adapted rather than removed.

1 open issue
What changed in this PR

Removes two unused internal helpers from the gh-aw CLI as a dead-code cleanup.

Changes:

  • Deletes listHealthFailureInventory and parseRepoFromURL.
  • Removes three associated tests and unused test imports.
File Description
pkg/​cli/​outcome_eval.go Removes the unused repository URL parser.
pkg/​cli/​outcome_eval_test.go Removes the parser’s test.
pkg/​cli/​health_payload_inventory_test.go Removes two inventory tests and their unused imports.
pkg/​cli/​health_failures_first.go Removes the inventory wrapper while retaining its implementation.

Review effort: Max

assert.False(t, collection.Partial)
}

func TestHealthPayloadSignalsSurviveInventoryBudgetExhaustion(t *testing.T) {
@github-actions

Copy link
Copy Markdown
Contributor Author

🎉 This pull request is included in a new release.

Release: v0.93.3

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