Skip to content

chore: cut over GitHub Actions from Triage board to App project board - #34370

Open
cacieprins wants to merge 2 commits into
developfrom
chore/app-board-triage-cutover
Open

chore: cut over GitHub Actions from Triage board to App project board#34370
cacieprins wants to merge 2 commits into
developfrom
chore/app-board-triage-cutover

Conversation

@cacieprins

Copy link
Copy Markdown
Collaborator

Summary

  • Deletes four Triage-board-specific workflows (triage_add_to_project, triage_add_to_routed_project, triage_handle_new_comments, triage_update_status). Board auto-add moves to the GitHub Projects built-in auto-add workflow on App (project 10).
  • Extracts the contributing guide comment behavior into a standalone contributor_comment workflow (fires on new external issues/PRs).
  • Adds close_waiting_for_reproduction workflow: daily cron that closes open issues sitting in Waiting for Reproduction on the App board with no activity for more than 2 days.
  • Strips routed-to-* and triaged from stale cleanup exempt labels since those labels are no longer part of the new flow.

Pre-merge checklist

  • Configure New, Waiting for Reproduction, Planning, and Ready status columns on App (project 10)
  • Enable the GitHub Projects built-in auto-add workflow on project 10 (Settings → Workflows)
  • Confirm ADD_TO_TRIAGE_BOARD_TOKEN has issues: write permission (needed by close_waiting_for_reproduction)

Test plan

  • Open a throwaway external issue and confirm it lands in New on project 10 (via built-in auto-add)
  • Manually trigger close_waiting_for_reproduction via workflow_dispatch and verify it pages through project items without error (no items will be closed if none are stale)

Related

N/A

Changelog

N/A — internal CI/automation change only

Made with Cursor

- Delete triage_add_to_project, triage_add_to_routed_project,
  triage_handle_new_comments, triage_update_status (all Triage project 9
  specific; board management moves to GitHub built-in auto-add on App project 10)
- Add contributor_comment workflow: posts contributing guide comment on
  new external issues/PRs (extracted from triage_add_to_project)
- Add close_waiting_for_reproduction workflow: daily auto-close for open
  issues in "Waiting for Reproduction" status with no activity for 2 days
- Drop routed-to-* and triaged exempt labels from stale cleanup

Co-authored-by: Cursor <cursoragent@cursor.com>
@cacieprins
cacieprins requested a review from a team as a code owner July 28, 2026 16:12
Comment thread .github/workflows/close_waiting_for_reproduction.yml Outdated
@cacieprins
cacieprins marked this pull request as draft July 28, 2026 16:15
…roduction

- Add label_prevent_stale workflow: applies prevent-stale to issues opened
  by collaborators so they are exempt from the Waiting for Reproduction
  auto-close timeout
- Fix close_waiting_for_reproduction to handle issues from any repo on the
  project board (use repository.nameWithOwner instead of hardcoded cypress repo)
- Respect prevent-stale label: skip auto-close for exempt issues

Co-authored-by: Cursor <cursoragent@cursor.com>
script: |
const script = require('./scripts/triage/comment_workflow.js')
await script.handleComment(github, context);
const script = require('./scripts/triage/add_contributing_comment.js')

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Where is this located? I don't see this in the repo.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@cacieprins
cacieprins marked this pull request as ready for review July 31, 2026 14:22

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 9b27213. Configure here.

if (now - updatedAt > staleMs) {
const [owner, repo] = content.repository.nameWithOwner.split('/')
staleIssues.push({ number: content.number, title: content.title, owner, repo })
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Premature reproduction wait auto-close

High Severity

The stale check uses only the issue updatedAt, and project status changes do not update that timestamp. Moving an already-inactive issue into Waiting for Reproduction can make it eligible to close on the next cron run, even though it has not been waiting in that column for 2 days. The close comment would then incorrectly claim a 2-day wait.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 9b27213. Configure here.

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.

3 participants