Skip to content

feat(ci): /ci run [wildcard] forge command#276

Merged
DerDennisOP merged 11 commits into
mainfrom
feat/issue-274-ci-run-wildcard
May 26, 2026
Merged

feat(ci): /ci run [wildcard] forge command#276
DerDennisOP merged 11 commits into
mainfrom
feat/issue-274-ci-run-wildcard

Conversation

@DerDennisOP
Copy link
Copy Markdown
Member

@DerDennisOP DerDennisOP commented May 26, 2026

Summary

  • Extend the /ci run PR comment to accept an optional wildcard: /ci run packages.x86_64-linux.foo runs the parked evaluation with that wildcard for one run only (project.wildcard is not touched).
  • On invalid wildcard input, post a reply comment to the PR (Could not parse wildcard \`: `) and leave the eval parked.
  • New CiReporter::post_pr_comment trait method, implemented for Gitea/Forgejo, GitHub (PAT + App), and GitLab.

Closes #274.

Test plan

  • CI: new parser tests (parse_ci_run_command_*) pass
  • CI: new unpark tests (unpark_approval_with_wildcard_*) pass
  • CI: new reporter URL/payload helper tests pass
  • CI: existing /ci run + approval-gate tests still pass
  • Manual (Gitea): open a PR that triggers approval-park, comment /ci run packages.x86_64-linux.foo, confirm eval runs with the new wildcard
  • Manual (Gitea): comment /ci run not!@#valid, confirm a reply comment is posted and the eval stays parked

@DerDennisOP DerDennisOP merged commit c365714 into main May 26, 2026
8 checks passed
@DerDennisOP DerDennisOP deleted the feat/issue-274-ci-run-wildcard branch May 26, 2026 06:54
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.

add new forge command

1 participant