Skip to content

[DX-4017] Adds chainlink-test-diagnosis Skill + diagnose Command Improvements#22323

Merged
kalverra merged 7 commits intodevelopfrom
chainlinkTestDiagnosisSkill
May 7, 2026
Merged

[DX-4017] Adds chainlink-test-diagnosis Skill + diagnose Command Improvements#22323
kalverra merged 7 commits intodevelopfrom
chainlinkTestDiagnosisSkill

Conversation

@kalverra
Copy link
Copy Markdown
Collaborator

@kalverra kalverra commented May 6, 2026

chainlink-test-diagnosis Skill

Introduces an AI agent skill chainlink-test-diagnosis that wraps the diagnose command to narrow down flakes, slow tests, and hangs.

I ran the skill to fix flakes and test issues in the vrf/v2 package. See results for the core/services/vrf/v2 package in this PR: #22324

How To Use

If you're in the tools/test/ directory, whatever AI agent you use (claude, cursor, gemini-cli, codex) should pick it up automatically and know what to do! Just mention "fix flaky tests" or directly load and activate the skill.

If you're in the base chainlink/ directory, you can cd tools/test/ and run the skill from there, or directly mention it @tools/test/.agents/skills/chainlink-test-diagnosis/SKILL.md‎ to the agent and let it run from there.

Other Improvements

  • Improved the performance and UX of the tools/test harness, especially the diagnose command.

Example run in progress
image

Copilot AI review requested due to automatic review settings May 6, 2026 15:26
@kalverra kalverra requested review from a team as code owners May 6, 2026 15:26
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

👋 kalverra, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

✅ No conflicts with other open PRs targeting develop

@kalverra kalverra changed the title Adds test diagnosis skill and harness improvements [DX-4017] Adds chainlink-test-diagnosis Skill + diagnose Command Improvements May 6, 2026
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented May 6, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@kalverra kalverra requested review from a team, 007vasy, Fletch153 and matYang May 6, 2026 16:29
@kalverra kalverra enabled auto-merge May 6, 2026 17:28
@kalverra kalverra requested review from Copilot and removed request for Copilot May 6, 2026 17:28
Do NOT use for deterministic failures, routine runs, or full-suite CI prep.
---

<absolute_constraints>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kalverra some of these could go to the BeforeCommandExecution hook

@cl-sonarqube-production
Copy link
Copy Markdown

@kalverra kalverra added this pull request to the merge queue May 7, 2026
Merged via the queue into develop with commit e8b29d4 May 7, 2026
212 checks passed
@kalverra kalverra deleted the chainlinkTestDiagnosisSkill branch May 7, 2026 07:23
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.

4 participants