Skip to content

ci(issue-ops): enroll triage tier (Stage A)#6

Merged
yakimoto merged 1 commit into
mainfrom
issue-ops/enroll-triage
Jun 4, 2026
Merged

ci(issue-ops): enroll triage tier (Stage A)#6
yakimoto merged 1 commit into
mainfrom
issue-ops/enroll-triage

Conversation

@yakimoto
Copy link
Copy Markdown
Contributor

@yakimoto yakimoto commented Jun 3, 2026

Auto-label new issues via wave-issue-ops-bot. Reusable pinned to wave-av/wave-foundation@5d0b9e1; IO_* vars + bot secrets set; labels self-heal on first run. Org-wide triage fan-out (advisory; toggle with the IO_ENABLED repo var).


Summary by cubic

Adds an issue-ops-triage workflow to auto-label and triage issues via wave-issue-ops-bot. It runs on issue open/edit, is opt-in via IO_ENABLED, includes self-healing labels on first run, and supports org-wide triage fan-out.

  • New Features
    • Uses a reusable workflow from wave-av/wave-foundation, pinned to a commit.
    • Per-issue concurrency to cancel in-progress runs.
    • Minimal permissions: read contents, write issues.
    • Configurable via IO_OWNER and secrets: ISSUE_OPS_PAT, BOT_ISSUE_OPS_APP_ID, BOT_ISSUE_OPS_PRIVATE_KEY.

Written for commit eda8ebb. Summary will update on new commits.

Review in cubic

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Jun 3, 2026

⚠️ No Changeset found

Latest commit: eda8ebb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Jun 3, 2026

Warning

Review limit reached

@yakimoto, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 9 minutes and 14 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 5b26c3ae-23b2-405a-a80f-3b2610bca590

📥 Commits

Reviewing files that changed from the base of the PR and between fccfdeb and eda8ebb.

📒 Files selected for processing (1)
  • .github/workflows/issue-ops-triage.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch issue-ops/enroll-triage
✨ Simplify code
  • Create PR with simplified code
  • Commit simplified code in branch issue-ops/enroll-triage

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

Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

You’re at about 92% of the monthly review limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

Re-trigger cubic

with:
scripts_repo: wave-av/wave-foundation
scripts_ref: "5d0b9e1a35efdb6d4e2ba55c483af670b69a8470"
owner: ${{ vars.IO_OWNER }}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bug: If the IO_OWNER repository variable is unset, the workflow passes an empty string to the reusable workflow, bypassing input validation and likely causing a runtime failure.
Severity: MEDIUM

Suggested Fix

Add a condition to the job to ensure vars.IO_OWNER is not an empty string before executing. For example, add if: vars.IO_OWNER != '' to the job definition to prevent it from running when the required variable is missing.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.

Location: .github/workflows/issue-ops-triage.yml#L21

Potential issue: In the `issue-ops-triage.yml` workflow, the `owner` input for the
reusable workflow is set to `${{ vars.IO_OWNER }}`. If the `IO_OWNER` repository
variable is not defined, it evaluates to an empty string. This empty string is then
passed to the reusable workflow, which bypasses the `required: true` input validation
and also overrides any default value set within the called workflow. This will likely
cause the reusable workflow to fail at runtime because it expects a valid owner name.

Did we get this right? 👍 / 👎 to inform future reviews.

@yakimoto yakimoto merged commit 14470e0 into main Jun 4, 2026
10 checks passed
@yakimoto yakimoto deleted the issue-ops/enroll-triage branch June 4, 2026 02:32
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