Skip to content

Add Claude CI fix workflow - #8676

Merged
timosachsenberg merged 1 commit into
developfrom
claude-ci-fix-workflow
Jan 16, 2026
Merged

timosachsenberg merged 1 commit into
developfrom
claude-ci-fix-workflow

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Jan 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Adds a GitHub Actions workflow that allows users to trigger Claude to automatically analyze and fix CI failures
  • Triggered by commenting @claude fix ci on a PR

Features

  • Manual trigger only - Won't spam PRs automatically
  • Fetches error logs - Downloads logs from up to 3 failed CI jobs
  • Analyzes common OpenMS failures - C++ compilation, CMake, tests, Doxygen warnings, pyOpenMS
  • Pushes fixes directly - Commits and pushes to the PR branch
  • Posts summary - Comments on the PR explaining what was fixed

Usage

Comment on any PR with CI failures:

@claude fix ci

Test plan

  • Merge and test on a PR with failing CI
  • Verify Claude can access error logs
  • Verify fixes are pushed to the correct branch

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added CI failure detection and automated fix assistance. Developers can request analysis of failed checks through PR comments to receive guided remediation steps and error diagnostics.

✏️ Tip: You can customize this high-level summary in your review settings.

Adds a GitHub Actions workflow that allows users to trigger Claude
to automatically analyze and fix CI failures by commenting
"@claude fix ci" on a PR.

Features:
- Manual trigger only (won't spam PRs automatically)
- Fetches error logs from failed CI jobs
- Claude analyzes errors and fixes code
- Pushes fixes directly to the PR branch
- Handles common OpenMS CI failures (C++, CMake, tests, Doxygen)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Jan 16, 2026 •

Copy link
Copy Markdown
Contributor

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

A new GitHub Actions workflow is introduced that activates on PR comments mentioning "@claude" with "fix ci". The workflow collects recent CI failure logs and either notifies of no failures or invokes Claude's code-action with failure details and remediation instructions.

Changes

Cohort / File(s) Change Summary
GitHub Actions Workflow
\.github/workflows/claude-ci-fix\.yml
New workflow file (176 lines) that listens for PR comment triggers, gathers CI failure logs from recent workflow runs, and conditionally invokes Claude code-action with structured failure context or posts a no-failures notification. Includes error handling for log fetch failures and graceful fallback logic.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Suggested reviewers

  • jpfeuffer

Poem

🐰 A workflow so clever, with Claude at the helm,
When "fix ci" is whispered, it won't overwhelm,
It gathers the logs and the errors so deep,
Then Claude comes to help, no more lost sleep! ✨



📜 Recent review details

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between efe2182 and 53d70cf.

📒 Files selected for processing (1)
  • .github/workflows/claude-ci-fix.yml

✏️ Tip: You can disable this entire section by setting review_details to false in your review settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@timosachsenberg
timosachsenberg merged commit 58e6721 into develop Jan 16, 2026
@timosachsenberg
timosachsenberg deleted the claude-ci-fix-workflow branch January 16, 2026 12:58
claude Bot pushed a commit that referenced this pull request Jan 18, 2026
Added 19 missing PRs to OpenMS 3.6.0 changelog:

PyOpenMS:
- #8530: Build system modernization with py-build-cmake
- #8633: SpectrumNativeIDParser wrapper
- #8655: Arrow/Parquet export with DataFrame methods (BREAKING: method renames)
- #8661: Build dependency docs
- #8664: Biosaur2Algorithm wrap-inherits
- #8668: wrap-doc documentation
- #8674: Docstring validation tests

TOPP tools:
- #8643: FileInfo FASTA stats
- #8650: FileConverter MSP support
- #8649: PeakPickerHiRes parameter

OpenMS Library:
- #8633: SpectrumNativeIDParser class
- #8655: ArrowExport helper
- #8651, #8656, #8659, #8660, #8662: Performance optimizations

Fixes:
- #8645: DataArray handling in filters
- #8672: Test file correction
- #8678: UniqueIdGenerator seed collision fix

Build System:
- #8675, #8676: Claude CI workflows

Also reorganized misplaced entries from lines 122-129.

Co-authored-by: Timo Sachsenberg <[email protected]>
timosachsenberg added a commit that referenced this pull request Jan 18, 2026
* Add comprehensive changelog for OpenMS 3.6.0

Includes changes from 96 merged PRs since version 3.5.0:

- General: macOS Intel discontinued, Ubuntu 24.04, notarization in CI
- Dependencies: Autowrap >= 0.26.0, Eigen minimum 3.4.0
- PyOpenMS: Pythonic methods (__len__, __str__, __repr__, __hash__),
  DataFrame support, new wrappers, string handling improvements
- TOPP tools: MapAligner spectra transformation, FileInfo improvements,
  IsobaricWorkflow fixes, SageAdapter thread handling
- OpenMS Library: PeakFileOptions, ParamIterator, SpectrumAnnotator
- Breaking changes: Matrix<T> Eigen decoupling, API renames, FileWatcher move
- Bug fixes: NucleicAcidSearchEngine, LogConfigHandler, decoy generation
- Documentation: Targeted Quantitation, parameter annotations, AGENTS.md
- Build: macOS notarization, Parquet support, pytest fixtures

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* Add missing changelog entries for recently merged PRs

Added 19 missing PRs to OpenMS 3.6.0 changelog:

PyOpenMS:
- #8530: Build system modernization with py-build-cmake
- #8633: SpectrumNativeIDParser wrapper
- #8655: Arrow/Parquet export with DataFrame methods (BREAKING: method renames)
- #8661: Build dependency docs
- #8664: Biosaur2Algorithm wrap-inherits
- #8668: wrap-doc documentation
- #8674: Docstring validation tests

TOPP tools:
- #8643: FileInfo FASTA stats
- #8650: FileConverter MSP support
- #8649: PeakPickerHiRes parameter

OpenMS Library:
- #8633: SpectrumNativeIDParser class
- #8655: ArrowExport helper
- #8651, #8656, #8659, #8660, #8662: Performance optimizations

Fixes:
- #8645: DataArray handling in filters
- #8672: Test file correction
- #8678: UniqueIdGenerator seed collision fix

Build System:
- #8675, #8676: Claude CI workflows

Also reorganized misplaced entries from lines 122-129.

Co-authored-by: Timo Sachsenberg <[email protected]>

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Timo Sachsenberg <[email protected]>
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.

1 participant