Skip to content

ci: namespace PR trigger and outcome labels with test: and ci: prefixes#399

Open
shahan-khatchadourian-anchorage wants to merge 5 commits into
mainfrom
worktree-398-namespace-ci-labels
Open

ci: namespace PR trigger and outcome labels with test: and ci: prefixes#399
shahan-khatchadourian-anchorage wants to merge 5 commits into
mainfrom
worktree-398-namespace-ci-labels

Conversation

@shahan-khatchadourian-anchorage

Copy link
Copy Markdown
Contributor

Summary

Renames the four label-gated CI workflow triggers and their outcome labels to align with the chain: prefix convention already in use.

Old New Role
fuzz test:fuzz trigger
proptest test:proptest trigger
surfpool test:surfpool trigger
stagex ci:stagex trigger
fuzz-failure test:fuzz-failure outcome
proptest-failure test:proptest-failure outcome
surfpool-failure test:surfpool-failure outcome

test: groups labels that gate test runs; ci: covers the build/image pipeline.

Manual steps required after merge

  1. Rename all seven labels in GitHub (Settings → Labels)
  2. Re-apply test:surfpool on open PRs currently carrying surfpool (at minimum fix(solana_test_utils): SurfpoolManager::airdrop returns Ok on confirmed-but-failed transactions #291, test(surfpool): tighten surfpool roundtrip — surfpool is started but never queried #290)

Closes #398

🤖 Generated with Claude Code

Renames fuzz→test:fuzz, proptest→test:proptest, surfpool→test:surfpool,
stagex→ci:stagex in workflow if-conditions to align with the chain: label
convention already in use. GitHub label renames are a manual follow-up step.

Closes #398

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Renames fuzz-failure→test:fuzz-failure, proptest-failure→test:proptest-failure,
surfpool-failure→test:surfpool-failure to match the test: trigger label prefix.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 25, 2026 15:30

Copilot AI 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.

Pull request overview

This PR updates label-gated GitHub Actions workflows to use namespaced PR labels (test:* for test triggers/outcomes and ci:* for build pipeline triggers), aligning CI label naming with the existing prefix conventions in the repo.

Changes:

  • Updated fuzz and proptest workflow label gates to test:fuzz / test:proptest and failure labels to test:* -failure.
  • Updated the surfpool workflow’s trigger label to test:surfpool and its failure label to test:surfpool-failure.
  • Updated the stagex workflow’s PR label gate from stagex to ci:stagex.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/fuzz-solana.yml Switches the gating label and failure label to test:fuzz / test:fuzz-failure.
.github/workflows/proptest-solana.yml Switches the gating label and failure label to test:proptest / test:proptest-failure.
.github/workflows/surfpool-solana.yml Switches the gating label and failure label to test:surfpool / test:surfpool-failure (including labeled-event guard).
.github/workflows/stagex.yml Switches the PR label gate from stagex to ci:stagex.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 63 to +71
- name: Label PR on fuzz failure
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
if [ "${{ steps.fuzz_transaction_string.outcome }}" = "failure" ] || [ "${{ steps.fuzz_versioned_transaction.outcome }}" = "failure" ]; then
gh pr edit "$PR_NUMBER" --add-label fuzz-failure || true
gh pr edit "$PR_NUMBER" --add-label test:fuzz-failure || true
else
gh pr edit "$PR_NUMBER" --remove-label fuzz-failure || true
gh pr edit "$PR_NUMBER" --remove-label test:fuzz-failure || true

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good catch — updated docs/contributor-guides/testing-visualizations.mdx in ed2a2d2: the CI workflow table now uses test:proptest / test:fuzz and the failure-label note uses test:proptest-failure / test:fuzz-failure. Also corrected the stale workflow filenames (proptest.yml -> proptest-solana.yml, fuzz.yml -> fuzz-solana.yml). The ci label row is unchanged since this PR didn't rename it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Followed up in 776d227 to make the table fully current: added rows for the other two renamed labels — test:surfpool (surfpool-solana.yml) and ci:stagex (stagex.yml) — a one-line note on the test: vs ci: prefix convention, and test:surfpool-failure in the outcome-label paragraph. All label names and workflow filenames now match the .github/workflows/ files on this branch.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Followed up in 776d227 to make the table fully current: added rows for the other two renamed labels — test:surfpool (surfpool-solana.yml) and ci:stagex (stagex.yml) — a one-line note on the test: vs ci: prefix convention, and test:surfpool-failure in the outcome-label paragraph. All label names and workflow filenames now match the .github/workflows/ files on this branch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@mintlify

mintlify Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
visualsign-parser 🟢 Ready View Preview Jun 26, 2026, 3:15 PM

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.

ci: namespace PR labels with test: and ci: prefixes

2 participants