8000 ci: use new reusable triage workflows by danielroe · Pull Request #34072 · nuxt/nuxt · GitHub
[go: up one dir, main page]

Skip to content

ci: use new reusable triage workflows#34072

Merged
danielroe merged 3 commits intomainfrom
ci/triage
Jan 13, 2026
Merged

ci: use new reusable triage workflows#34072
danielroe merged 3 commits intomainfrom
ci/triage

Conversation

@danielroe
Copy link
Member

🔗 Linked issue

📚 Description

this migrates https://github.com/danielroe/carpenter to use GitHub Models running within GitHub Actions via nuxt/.github@b3b9f7d

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedhookable@​5.5.310010010091100

View full report

@pkg-pr-new
Copy link
pkg-pr-new bot commented Jan 13, 2026
8000

Open in StackBlitz

@nuxt/kit

npm i https://pkg.pr.new/@nuxt/kit@34072

@nuxt/nitro-server

npm i https://pkg.pr.new/@nuxt/nitro-server@34072

nuxt

npm i https://pkg.pr.new/nuxt@34072

@nuxt/rspack-builder

npm i https://pkg.pr.new/@nuxt/rspack-builder@34072

@nuxt/schema

npm i https://pkg.pr.new/@nuxt/schema@34072

@nuxt/vite-builder

npm i https://pkg.pr.new/@nuxt/vite-builder@34072

@nuxt/webpack-builder

npm i https://pkg.pr.new/@nuxt/webpack-builder@34072

commit: 16288a5

@coderabbitai
Copy link
Contributor
coderabbitai bot commented Jan 13, 2026

Walkthrough

This pull request replaces the local issue triage automation with a delegation pattern. The existing label-issue.yml workflow, which automatically added a "pending triage" label to new issues, has been removed. Four new workflows have been introduced that trigger on different issue events (opened, edited, comment created, and labelled with "spam"). Each new workflow delegates to corresponding reusable workflows maintained in a centralised repository, passing configuration parameters and establishing concurrency controls to manage overlapping executions. The total net change is an addition of 71 lines and removal of 28 lines across the workflow files.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: replacing the old label-issue workflow with new reusable triage workflows from the nuxt/.github repository.
Description check ✅ Passed The description clearly relates to the changeset by explaining that this migrates the carpenter project to use GitHub Models within GitHub Actions via referenced workflows.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch ci/triage

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.

Copy link
Contributor
@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (3)
.github/workflows/triage-issue-comment.yml (1)

13-13: Consider pinning the reusable workflow to a specific commit SHA.

Referencing @main can introduce unexpected changes when the upstream workflow is updated. The commit messages mention "chore: pin hash" but the final state uses @main. For reproducibility and to prevent breaking changes, consider pinning to a specific commit SHA.

.github/workflows/triage-issue-opened.yml (1)

7-9: Inconsistent concurrency group naming across triage workflows.

This workflow uses issue-triage- prefix whilst triage-issue-comment.yml uses llm-triage-comment- and triage-issue-edited.yml uses llm-triage-edit-. Consider using a consistent naming convention across all triage workflows for maintainability.

The choice of cancel-in-progress: true here (vs false in the edited/comment workflows) is appropriate since for newly opened issues, only the latest triage result matters.

.github/workflows/triage-spam-transfer.yml (1)

7-14: Consider adding a concurrency group for consistency.

Unlike the other triage workflows, this one lacks a concurrency group. If an issue is labelled and unlabelled with 'spam' rapidly, or if there are duplicate labelling events, this could lead to race conditions or unnecessary parallel executions.

♻️ Proposed fix to add concurrency group
 on:
   issues:
     types: [labeled]
 
+concurrency:
+  group: triage-spam-${{ github.event.issue.number }}
+  cancel-in-progress: true
+
 jobs:
   transfer-spam:
📜 Review details

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between bdd5155 and 16288a5.

📒 Files selected for processing (5)
  • .github/workflows/label-issue.yml
  • .github/workflows/triage-issue-comment.yml
  • .github/workflows/triage-issue-edited.yml
  • .github/workflows/triage-issue-opened.yml
  • .github/workflows/triage-spam-transfer.yml
💤 Files with no reviewable changes (1)
  • .github/workflows/label-issue.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (15)
  • GitHub Check: test-fixtures (windows-latest, built, rspack, default, manifest-on, json, lts/-1)
  • GitHub Check: test-fixtures (ubuntu-latest, built, vite, async, manifest-on, js, lts/-1)
  • GitHub Check: test-fixtures (windows-latest, dev, vite-env-api, default, manifest-on, json, lts/-1)
  • GitHub Check: test-fixtures (ubuntu-latest, dev, vite, async, manifest-off, json, lts/-1)
  • GitHub Check: test-fixtures (windows-latest, dev, vite-env-api, async, manifest-on, json, lts/-1)
  • GitHub Check: test-fixtures (windows-latest, built, vite-env-api, default, manifest-on, json, lts/-1)
  • GitHub Check: test-fixtures (windows-latest, built, vite, async, manifest-on, json, lts/-1)
  • GitHub Check: test-fixtures (ubuntu-latest, built, vite, default, manifest-on, json, lts/-1)
  • GitHub Check: test-fixtures (windows-latest, dev, vite, async, manifest-on, json, lts/-1)
  • GitHub Check: test-fixtures (ubuntu-latest, built, vite-env-api, default, manifest-on, json, lts/-1)
  • GitHub Check: release-pkg-pr-new
  • GitHub Check: test-benchmark
  • GitHub Check: typecheck (windows-latest, bundler)
  • GitHub Check: typecheck (ubuntu-latest, bundler)
  • GitHub Check: code
🔇 Additional comments (5)
.github/workflows/triage-issue-comment.yml (1)

1-17: Workflow structure looks good.

The concurrency group per issue with cancel-in-progress: false is appropriate to avoid losing analysis. Permissions are appropriately scoped with models: read for GitHub Models integration.

.github/workflows/triage-issue-edited.yml (1)

1-18: Well-structured workflow with good documentation.

The comment on line 9 explaining the rationale for cancel-in-progress: false is helpful. The workflow follows the same pattern as the other triage workflows, maintaining consistency.

.github/workflows/triage-issue-opened.yml (2)

17-17: Verify the repository variable is configured.

Ensure TRIAGE_SPAM_REPO_ID is defined in the repository's variables settings, otherwise the spam transfer functionality will fail silently or produce unexpected behaviour.


14-18: Well-configured inputs for the reusable workflow.

The translation settings and project name are appropriately configured. The permission set aligns with the other triage workflows.

.github/workflows/triage-spam-transfer.yml (1)

9-9: Conditional filter is correctly implemented.

The if condition properly filters to only run when the 'spam' label is applied, preventing unnecessary workflow runs for other labels.

@codspeed-hq
Copy link
codspeed-hq bot commented Jan 13, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing ci/triage (16288a5) with main (bdd5155)

Summary

✅ 10 untouched benchmarks

@danielroe danielroe merged commit 8cf79c0 into main Jan 13, 2026
56 of 57 checks passed
@danielroe danielroe deleted the ci/triage branch January 13, 2026 12:13
@github-actions github-actions bot mentioned this pull request Jan 12, 2026
@github-actions github-actions bot mentioned this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0