Skip to content

ci(labeler): map cozystack-ui and console scopes to area/dashboard - #3117

Merged
myasnikovdaniil merged 1 commit into
mainfrom
ci/labeler-ui-scope
Jun 29, 2026
Merged

myasnikovdaniil merged 1 commit into
mainfrom
ci/labeler-ui-scope

Conversation

@myasnikovdaniil

@myasnikovdaniil myasnikovdaniil commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

What this PR does

The cozystack-ui SPA was vendored into the monorepo in #2963 and now lives under packages/system/dashboard. PRs touching the UI are likely to use cozystack-ui or console as their Conventional Commits scope, neither of which the PR auto-labeler recognizes today — so they fall through to area/uncategorized.

This maps both scopes to the existing area/dashboard (already described as "dashboard / UI"). No new label is introduced; .github/labels.yml is unchanged.

Release note

NONE

Summary by CodeRabbit

  • Chores
    • Expanded automatic PR labeling to add the area/dashboard label when a PR title scope is cozystack-ui or console.
    • Existing label rules and parsing behavior remain unchanged for all other scopes.

@gemini-code-assist

Copy link
Copy Markdown
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@github-actions github-actions Bot added area/uncategorized PR auto-labeler could not map title scope to a known area/*; please review size/XS This PR changes 0-9 lines, ignoring generated files labels Jun 26, 2026
@dosubot dosubot Bot added the area/ci Issues or PRs related to CI workflows, GitHub Actions, automation label Jun 26, 2026
@coderabbitai

coderabbitai Bot commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 09ccae94-5e77-45ee-8992-e943c61b2dc8

📥 Commits

Reviewing files that changed from the base of the PR and between 3ddeae6 and df221f9.

📒 Files selected for processing (1)
  • .github/workflows/pr-labeler.yaml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/pr-labeler.yaml

📝 Walkthrough

Walkthrough

The PR labeler workflow now maps the cozystack-ui and console scopes to area/dashboard during PR title parsing. No other label logic changed.

Changes

Dashboard scope label mapping

Layer / File(s) Summary
Scope-to-area mapping update
.github/workflows/pr-labeler.yaml
The workflow maps cozystack-ui and console to area/dashboard when deriving labels from a PR title.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 I hopped through labels, quick and neat,
Two new scopes now land on dashboard street.
A twitch of whiskers, a workflow tune,
area/dashboard blooms like a moon.
Hooray for titles, parsed just right!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the main change: mapping cozystack-ui and console scopes to area/dashboard.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ci/labeler-ui-scope

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.

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.

LGTM — maps the cozystack-ui and console scopes to area/dashboard correctly.

  • The mapping lands in the right block of .github/workflows/pr-labeler.yaml, directly under the existing 'dashboard' entry, with matching syntax.
  • area/dashboard already exists in .github/labels.yml, so no new label is needed and labels.yml is correctly left unchanged.

Note: today's dashboard PRs all use the dashboard scope (already mapped); cozystack-ui/console aren't observed in PR titles yet, so these are anticipatory aliases. Harmless — unused entries no-op and the mapping is correct if the scopes do get used — just flagging it against the file's own "add when a scope recurs 3+ times" comment.

The cozystack-ui SPA was vendored into the monorepo (#2963) and now lives under packages/system/dashboard. Map its likely PR title scopes to the existing area/dashboard so UI PRs no longer fall through to area/uncategorized.

Assisted-By: Claude <[email protected]>
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Signed-off-by: Myasnikov Daniil <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci Issues or PRs related to CI workflows, GitHub Actions, automation area/uncategorized PR auto-labeler could not map title scope to a known area/*; please review size/XS This PR changes 0-9 lines, ignoring generated files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants