Reduce pkg/cli package manifest largefunc backlog#52218
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Triage: pr-type:refactor · pr-risk:low · Score 35/100 (impact 10, urgency 10, quality 15)Recommended action: batch_review (batch: Function-length reduction in
|
Triage
Largest diff in the batch (217 additions) targeting
|
PR Triage
|
PR Triage SummaryTotal score: 34/100 Automated triage — see labels applied for classification. Full report in the triage issue.
|
PR TriageCategory: refactor | Risk: low | Priority: low | Score: 30/100 Score breakdown: impact 15/50, urgency 5/30, quality 10/20 CI: unknown (draft) Recommended action: Same batch as 52219/52220 but still draft, mergeable unknown. Automated triage — run 52218
|
There was a problem hiding this comment.
Generated by ✂️ Ponytail Reviewer for #52218 · auto · 27.6 AIC · ⌖ 3.17 AIC · ⊞ 6.8K
Comment /ponytail to run again
| if err != nil { | ||
| return nil, err | ||
| } | ||
| type repositoryPackageExtensionFilesRequest struct { |
There was a problem hiding this comment.
L177-186: yagni: request struct with 8 fields, built once and read once between one caller and one callee. Pass the params directly to resolveRepositoryPackageExtensionFiles instead.
There was a problem hiding this comment.
Clean refactoring that extracts large functions in add_package_manifest.go into well-named helpers. Logic is preserved faithfully across all extraction sites. No correctness, security, or reliability issues found.
🧵 Reviewed using Impeccable skills by Impeccable Skills Reviewer · sonnet46 · 22.1 AIC · ⌖ 6.26 AIC · ⊞ 5.4K
|
@copilot Triage nudge from sous-chef. Please address the remaining review feedback, refresh the branch if needed, and run the Outstanding review items (newest first): Failed checks from the candidate set:
Branch update was requested automatically for this run.
|
Co-authored-by: gh-aw-bot <259018956+gh-aw-bot@users.noreply.github.com>
Addressed the outstanding review item (removed the yagni request struct, passing params directly) in ed7aa88. |
🔍 PR TriageCategory: refactor · Risk: low · Priority score: 32/100 (impact 10, urgency 7, quality 15) Score breakdown:
Grouped with other lint-monster function-length refactors for a single batched review pass.
|
|
@copilot Triage nudge from sous-chef. Please inspect the latest branch state, review any remaining blockers, refresh the branch if needed, and run the Outstanding review items (newest first): No failed checks were included in the compact candidate set.
|
That review item was already addressed in ed7aa88. Branch is up to date with main (merge commit ffef5a7) and build/tests pass; no further changes needed. |
|
@copilot Triage nudge from sous-chef. Please verify whether the previously addressed review item now needs follow-up, refresh the branch if needed, and run the Outstanding review items (newest first): Failed checks from the candidate set:
Branch update was requested automatically for this run.
|
No follow-up needed — the review item remains resolved (ed7aa88). Branch is current with main (merge commit a85f4d8) and builds cleanly. |
|
@copilot Please verify the remaining gate state on this PR, refresh the branch if needed, and run the Outstanding review items (newest first):
Failed checks from the compact candidate set:
Branch update was requested automatically for this run.
|
|
@copilot Please verify the remaining gate state on this PR, refresh the branch if needed, and run the Outstanding review items (newest first):
Failed checks from the compact candidate set:
Branch update could not be requested automatically in this run because the local
|
|
@copilot Please link the required ADR in the PR body, confirm the previously addressed review thread no longer needs follow-up, refresh the branch if needed, and run the Outstanding review items (newest first):
Failed checks from the compact candidate set:
Branch update was not requested in this run because the latest recent checks were already completed.
|
Daily custom lint flagged oversized
pkg/clihelpers. This PR takes a focused first slice by reducing theadd_package_manifest.gofunction-length findings without broad rewrites.Repository package resolution
resolveRepositoryPackage.Manifest parsing
parseRepositoryPackageManifest.Skill file resolution