Update repository list and bot authors in fetch-data.sh#650
Update repository list and bot authors in fetch-data.sh#650iamkirkbater wants to merge 1 commit into
Conversation
📝 WalkthroughWalkthroughThe dashboard fetch-data script now targets the ChangesDashboard fetch-data target update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~4 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@dashboard/fetch-data.sh`:
- Line 51: The bot author identity used by the `/ok-to-test` flow is out of sync
between the dashboard script and the IC process docs. Update the
`BOT_AUTHORS`-related guidance in `docs/process/ic.md` to use
`rosa-hyperfleet-ci` so it matches the behavior defined in `fetch-data.sh`,
keeping the references to the `/ok-to-test` handling and bot allowlist
consistent.
- Around line 15-18: The dashboard shorthand mapping is out of date and only
recognizes the old rosa-regional-platform repository names, so update the SHORT
mapping in dashboard/index.html to include the new rosa-hyperfleet variants
emitted by REPOS. Keep the existing label behavior, but add or replace the
entries so the repository-name-to-display-name lookup in the mapping correctly
handles rosa-hyperfleet, rosa-hyperfleet-api, rosa-hyperfleet-cli, and
rosa-hyperfleet-internal.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 497244bb-3a84-486f-9e83-1e69908f269c
📒 Files selected for processing (1)
dashboard/fetch-data.sh
| openshift-online/rosa-hyperfleet | ||
| openshift-online/rosa-hyperfleet-api | ||
| openshift-online/rosa-hyperfleet-cli | ||
| openshift-online/rosa-hyperfleet-internal |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Update frontend repo shorthand mapping to match new repo names.
REPOS now emits rosa-hyperfleet* repository names, but dashboard/index.html still maps only rosa-regional-platform* in SHORT (Line 257-301). This can regress display labels in the dashboard.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@dashboard/fetch-data.sh` around lines 15 - 18, The dashboard shorthand
mapping is out of date and only recognizes the old rosa-regional-platform
repository names, so update the SHORT mapping in dashboard/index.html to include
the new rosa-hyperfleet variants emitted by REPOS. Keep the existing label
behavior, but add or replace the entries so the repository-name-to-display-name
lookup in the mapping correctly handles rosa-hyperfleet, rosa-hyperfleet-api,
rosa-hyperfleet-cli, and rosa-hyperfleet-internal.
| fetch_label "discussion-needed" > /tmp/dn.json | ||
|
|
||
| BOT_AUTHORS="app/dependabot|rosa-regional-platform-ci|rrp-bot" | ||
| BOT_AUTHORS="app/dependabot|rosa-hyperfleet-ci|rrp-bot" |
There was a problem hiding this comment.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Sync IC process docs with the new bot author identity.
BOT_AUTHORS now matches rosa-hyperfleet-ci, but docs/process/ic.md still references rosa-regional-platform-ci (Line 26-29). Please update the doc so /ok-to-test guidance matches dashboard behavior.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@dashboard/fetch-data.sh` at line 51, The bot author identity used by the
`/ok-to-test` flow is out of sync between the dashboard script and the IC
process docs. Update the `BOT_AUTHORS`-related guidance in `docs/process/ic.md`
to use `rosa-hyperfleet-ci` so it matches the behavior defined in
`fetch-data.sh`, keeping the references to the `/ok-to-test` handling and bot
allowlist consistent.
|
/lgtm |
Updates repo names in the PR Dashboard
Summary by CodeRabbit
rosa-hyperfleetrepositories.