Skip to content

Run custom Go linters scoped to changed packages in agent-report-progress.sh - #54593

Merged
pelikhan merged 1 commit into
mainfrom
copilot/update-make-lint-agent-progress
Aug 21, 2026
Merged

Run custom Go linters scoped to changed packages in agent-report-progress.sh#54593
pelikhan merged 1 commit into
mainfrom
copilot/update-make-lint-agent-progress

Conversation

Copilot AI commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

agent-report-progress.sh already scoped golangci-lint to Go packages changed relative to origin/main, but skipped the repository's custom analysis linters (pkg/linters) entirely, letting violations reach PRs unchecked.

Changes

  • Added lint_custom_go_packages, running make golint-custom scoped to the same changed-package set already computed for golangci-lint.
  • Wired the new job in alongside the existing Go lint job so both run in parallel whenever changed Go packages are detected.
if [ "${#go_packages[@]}" -gt 0 ]; then
    start_job "Go lint (${#go_packages[@]} package(s))" lint_go_packages
    start_job "custom Go linters (${#go_packages[@]} package(s))" lint_custom_go_packages
fi

…ress.sh

Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
@pelikhan
pelikhan marked this pull request as ready for review August 21, 2026 18:46
Copilot AI balanced review requested due to automatic review settings August 21, 2026 18:46
@pelikhan
pelikhan merged commit de7a2e6 into main Aug 21, 2026
1 check passed
@pelikhan
pelikhan deleted the copilot/update-make-lint-agent-progress branch August 21, 2026 18:46

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.

Pull request overview

Adds changed-package custom Go linting to pre-PR validation.

Changes:

  • Runs golint-custom for changed Go packages.
  • Executes standard and custom Go lint jobs in parallel.
Show a summary per file
File Description
scripts/agent-report-progress.sh Adds and schedules scoped custom Go linting.

Review details

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v0.87.4

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.

3 participants