Skip to content

fix(ci): harden action CLI resolution#573

Merged
Atharva-Kanherkar merged 1 commit into
mainfrom
codex/ci-action-cli-fallback
May 5, 2026
Merged

fix(ci): harden action CLI resolution#573
Atharva-Kanherkar merged 1 commit into
mainfrom
codex/ci-action-cli-fallback

Conversation

@Atharva-Kanherkar
Copy link
Copy Markdown
Collaborator

Summary

  • verify the installed npm CLI exposes ci should-run and ci run before using it
  • fall back to the action checkout source via go -C <repo>/cli run . when npm latest is stale
  • run AgentClash CI action tests from CLI CI whenever action files change

Why

agentclash@latest is currently 0.12.0 and does not expose the CI run commands needed by the generated workflow. Without this fallback, a live customer setup PR can look correct but fail at runtime before AgentClash evaluates anything.

Tests

  • python3 .github/actions/agentclash-ci/run_test.py
  • python3 .github/actions/agentclash-ci/comment_test.py
  • go test ./cmd -run 'TestCIShouldRun|TestCIRun' -count=1\n- git diff --check\n- smoke: action script with agentclash@latest, remote-validate=false, non-matching changed file, and source fallback enabled

@vercel
Copy link
Copy Markdown

vercel Bot commented May 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentclash Ready Ready Preview, Comment May 5, 2026 2:23pm

Request Review

Copy link
Copy Markdown
Contributor

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

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

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@Atharva-Kanherkar Atharva-Kanherkar force-pushed the codex/ci-action-cli-fallback branch from 5f0f515 to 194cc00 Compare May 5, 2026 14:20
@Atharva-Kanherkar Atharva-Kanherkar merged commit 59d1d97 into main May 5, 2026
5 checks passed
@Atharva-Kanherkar Atharva-Kanherkar deleted the codex/ci-action-cli-fallback branch May 5, 2026 14:24
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