Skip to content

build(workflows): fix team reviewer slug format in namespace_declarations#12560

Open
Planeshifter wants to merge 1 commit into
developfrom
philipp/ci-fix-namespace-declarations-reviewer-slug-2026-06-05
Open

build(workflows): fix team reviewer slug format in namespace_declarations#12560
Planeshifter wants to merge 1 commit into
developfrom
philipp/ci-fix-namespace-declarations-reviewer-slug-2026-06-05

Conversation

@Planeshifter
Copy link
Copy Markdown
Member

No related issue.

Description

What is the purpose of this pull request?

This pull request:

  • removes the leading @ from the --reviewer flag argument in the namespace_declarations workflow so the team slug resolves correctly

Related Issues

Does this pull request have any related issues?

No related issues.

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request?

Failing run: https://github.com/stdlib-js/stdlib/actions/runs/26993196933

Symptom: GraphQL: Could not resolve team with slug '@stdlib-js/reviewers'. (requestReviewsByLogin) — exit code 1, fired on every daily run of the namespace_declarations workflow.

Root cause: gh pr create --reviewer expects ORG/TEAM for team slugs, not @ORG/TEAM. The @ prefix applies to usernames; passing it for a team causes GitHub's GraphQL layer to fail resolution.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

This PR was generated by Claude Code as part of an automated CI failure investigation routine.


@stdlib-js/reviewers


Generated by Claude Code

…tions`

The `namespace_declarations` workflow failed on every daily run with:

  pull request update failed: GraphQL: Could not resolve team with
  slug '@stdlib-js/reviewers'. (requestReviewsByLogin)

Root cause: `gh pr create --reviewer` expects the `ORG/TEAM` format
for teams (no `@` prefix). The previous value `@stdlib-js/reviewers`
passed the literal `@` character as part of the slug, which GitHub's
GraphQL `requestReviewsByLogin` mutation cannot resolve. Removing the
leading `@` yields `stdlib-js/reviewers`, the correct format.

Ref: https://github.com/stdlib-js/stdlib/actions/runs/26993196933
@Planeshifter Planeshifter marked this pull request as ready for review June 5, 2026 15:12
@Planeshifter Planeshifter requested review from a team and kgryte June 5, 2026 15:12
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs Review A pull request which needs code review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants