Skip to content

enhancement: Enable high reasoning effort for paco - #2985

Merged
chmouel merged 1 commit into
tektoncd:mainfrom
chmouel:add-reasoning-effort-to-paco-pipeline
Sep 18, 2026
Merged

chmouel merged 1 commit into
tektoncd:mainfrom
chmouel:add-reasoning-effort-to-paco-pipeline

Conversation

@chmouel

@chmouel chmouel commented Sep 17, 2026

Copy link
Copy Markdown
Member

📝 Description of the Change

Set reasoning_effort to high for the paco review step in the .tekton/paco.yaml pipeline, so the review model performs deeper analysis on code changes.

Related: pipelines-as-code/paco-cli@2753d24

🔗 Linked GitHub Issue

Fixes #

🧪 Testing Strategy

  • Unit tests
  • Integration tests
  • End-to-end tests
  • Manual testing
  • Not Applicable

🤖 AI Assistance

  • I have not used any AI assistance for this PR.
  • I have used AI assistance for this PR.

Important

Slop will be simply rejected, if you are using AI assistance you need to make sure you
understand the code generated and that it meets the project's standards. you
need at least know how to run the code and deploy it (if needed). See
startpaac to make it easy
to deploy and test your code changes.

If the majority of the code in this PR was generated by an AI, please add a Co-authored-by trailer to your commit message.
For example:

Co-authored-by: Claude noreply@anthropic.com

✅ Submitter Checklist

  • 📝 My commit messages are clear, informative, and follow the project's How to write a git commit message guide. The Gitlint linter ensures in CI it's properly validated
  • ✨ I have ensured my commit message prefix (e.g., fix:, feat:) matches the "Type of Change" I selected above.
  • ✍ I have run make test and make lint locally to check for and fix any issues.
  • 📖 I have added or updated documentation for any user-facing changes.
  • 🧪 I have added sufficient unit tests for my code changes.
  • 🎁 I have added end-to-end tests where feasible.
  • 🔎 I have addressed any CI test flakiness or provided a clear reason to bypass it.
  • If adding a provider feature, I have filled in the following and updated the provider documentation:
    • GitHub App
    • GitHub Webhook
    • Gitea/Forgejo
    • GitLab
    • Bitbucket Cloud
    • Bitbucket Data Center

Configured the automated code review pipeline with high reasoning effort
so the review model could perform deeper analysis on code changes.

Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 12:34

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 referenced CLI flag is not paired with a guaranteed compatible agents-image version.

Get a fresh assessment by requesting another Copilot review.

Pull request overview

Configures the Paco review PipelineRun to request high reasoning effort.

Changes:

  • Adds reasoning_effort parameters defaulting to high.
  • Passes the value to paco review --reasoning-effort.
File summaries
File Description
.tekton/paco.yaml Configures and forwards reasoning effort.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .tekton/paco.yaml
@chmouel

chmouel commented Sep 17, 2026

Copy link
Copy Markdown
Member Author

/paco review

@pipelines-as-code

Copy link
Copy Markdown

Paco Review ✅

This PR adds a reasoning_effort parameter to the Tekton pipeline definition for the paco review task. The parameter is added both to the task spec params list (with a default of 'high') and to the paco review command invocation via --reasoning-effort. This allows callers to configure the reasoning effort level without modifying the pipeline definition.

Review difficulty: 1/5 (Trivial) — Trivial, self-contained change adding a single parameter to a Tekton pipeline YAML.

No new review comments found at this time. Nice work!

Reviewed commit: e28b8b1

@pipelines-as-code pipelines-as-code Bot added the paco/review-trivial Paco review difficulty label Sep 17, 2026
@chmouel
chmouel merged commit 8978da4 into tektoncd:main Sep 18, 2026
3 checks passed
@chmouel
chmouel deleted the add-reasoning-effort-to-paco-pipeline branch September 18, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

paco/review-trivial Paco review difficulty

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants