CI/CD Testing failures #174
-
|
Hi All, does anyone else here also spend hours and hours just fixing and trouble shooting the failing GitHub Actions CI/CD failed tests? Every AI project i have seems wrought with conflicting dependencies, versions, requirements and especially conflicting Flake8 and Black linting setups. I have to keep correcting the models/agents when designing and building these pipelines. Any ideas? any advice? thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
I’ve encountered the same issue, and there isn’t an automated solution yet. Large language models (LLMs) often fail to follow linting rules when developing code, even when provided with specific instructions. My approach is to use a Makefile to run locally, and for issues I can't address directly (e.g., running black .), I pass those to the agent to fix. I apply this method to every small part of the code, always reviewing the codebase, as incremental development can modify older files. This process typically prevents issues in the CI/CD workflow on GitHub. P.S.: I’m using Ruff instead of Flake8, as I encountered some problems with Flake8 that the LLM couldn’t resolve. |
Beta Was this translation helpful? Give feedback.
-
|
Im not familiar with Ruff and Flake8 - so I might be offbase what you are
asking about :)
At work we have been using code rabbit and its good at finding nitpicky
things also in the ide - I will after a sessions of coding run code rabbit
in vscode and it will offer suggestions I paste back into cursor or claude
code and its good then at fixing them up. its yet another paid tool though
so I have not bought it for personal use, but have been considering it.
It also runs nicely in PRs and leaves comments and I assume soon will also
make pr suggestions to make the fixes in the cloud, along with copilot and
the other emerging cloud agents that are coming.
…On Fri, Jun 6, 2025 at 6:19 AM Jason ***@***.***> wrote:
Thanks @Fcpacheco <https://github.com/Fcpacheco> - good to know i/m not
losing my mind - i havent tried Ruff before - maybe now is the the time to
try it.
—
Reply to this email directly, view it on GitHub
<#174 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BOTVGQNS6ZF2QTDW6WTY5QD3CF2KLAVCNFSM6AAAAAB6XMEKKKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGMZYHEZTAMA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
I suggest waiting on V4 to release this weekend - I think a lot of what ppl are looking for from an MCP server may no longer be needed after v4 is finished. I still think there is a potential use for mcp for some cases and will want to then align on if its needed and what it should be capable of.
Here is a channel for discussion of post v4 release ideas including mcp and agent frameworks https://discord.com/channels/1377115244018532404/1381071088263364638