Skip to content

fix(just): remove rebase-helper and ublue-rollback-helper - #567

Merged
castrojo merged 3 commits into
mainfrom
fix/remove-rebase-helper
Jun 10, 2026
Merged

fix(just): remove rebase-helper and ublue-rollback-helper#567
castrojo merged 3 commits into
mainfrom
fix/remove-rebase-helper

Conversation

@castrojo

Copy link
Copy Markdown
Contributor

What

Removes the ublue-rollback-helper script and all four ujust targets it backed:

  • ujust rebase-helper
  • ujust rollback-helper
  • ujust switch-stream
  • ujust switch-streams

Also removes the dead Install shellcheck CI step in validate.yml (the only consumer of that step was the deleted shellcheck invocation), the docs/skills/rollback-helper.md skill file, and all stale references across docs and specs.

Why

Bluefin is now a pure bootc system. ublue-rollback-helper was a bridging script that called either rpm-ostree rebase or bootc switch depending on system config — that duality no longer exists. Users run bootc switch <image>:<tag> directly.

The script had accumulated significant maintenance debt: ~80 lines of interactive gum-based bash with complex branching (LTS mode, channel/variant arrays, HWE tag filtering) and zero behavioral tests. Issues #559 and #564 flagged it as high-impact/untested; #120 was the broader audit that confirmed removal over refactor.

Verified

  • No remaining references to rebase-helper, rollback-helper, switch-stream, switch-streams, or ublue-rollback-helper anywhere in the repo (excluding unrelated .worktrees/ worktree)
  • CI shellcheck job in unit-tests.yml still covers all other scripts
  • validate.yml guard-against-ref-regressions check still covers all workflow files
  • super_review clean — all Critical and Important findings addressed before push

Closes

Closes #559
Closes #564
Closes #120


Assisted-by: Claude Sonnet 4.5 via pi

@coderabbitai

coderabbitai Bot commented Jun 10, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@castrojo, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 20 minutes and 43 seconds. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 0deb41a5-e450-43e7-999c-68a7549a2e71

📥 Commits

Reviewing files that changed from the base of the PR and between 76bfaf5 and 3a34b0e.

📒 Files selected for processing (13)
  • .github/workflows/unit-tests.yml
  • .github/workflows/validate.yml
  • docs/SKILL.md
  • docs/skills/INDEX.md
  • docs/skills/acmm-audit-level2.md
  • docs/skills/ci-tooling.md
  • docs/skills/devmode.md
  • docs/skills/hive-review.md
  • docs/skills/image-registry.md
  • docs/skills/rollback-helper.md
  • specs/00-bluespeed-specification.md
  • system_files/bluefin/usr/bin/ublue-rollback-helper
  • system_files/bluefin/usr/share/ublue-os/just/system.just
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/remove-rebase-helper

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 and usage tips.

@castrojo
castrojo force-pushed the fix/remove-rebase-helper branch from dd41ddc to 09479f9 Compare June 10, 2026 18:14
castrojo added 3 commits June 10, 2026 14:33
The rebase-helper (ujust rebase-helper / rollback-helper / switch-stream /
switch-streams) and the ublue-rollback-helper script it calls no longer make
sense on a pure bootc system. Users can run `bootc switch` directly.
Removes the interactive gum-based bash script (~80 lines), all four just
aliases/targets, and all CI references (shellcheck + validate.yml candidate).

Closes #559, #564, #120

Assisted-by: Claude Sonnet 4.5 via pi
… hazard

Document the 4 mandatory touch-points when removing a shell script from common:
unit-tests.yml shellcheck, validate.yml shellcheck step + Python candidate scan,
system.just target/aliases, and the docs/skills skill file + cross-references.

Includes dead apt Install shellcheck hazard pattern discovered during
rebase-helper removal.

Assisted-by: Claude Sonnet 4.5 via pi
Session 2026-06-10: executing a Tier 1 parallel fleet of 8 PRs across
7 repos from the hive advisory report (#557). Patterns captured:
- GitHub API parallel commit SHA conflicts (commit serially, re-fetch)
- Temp file pattern for Python in bash heredocs
- Repo-specific branch targets (bluefin→testing, bootc-installer→dev, etc.)
- push_files vs create_or_update_file reliability tradeoff
- Advisory digest truncation at 65KB — full content is 315KB

Assisted-by: Claude Sonnet 4.5 via pi
@castrojo
castrojo force-pushed the fix/remove-rebase-helper branch from f5c6c4c to 3a34b0e Compare June 10, 2026 18:33
@castrojo
castrojo merged commit 934929a into main Jun 10, 2026
8 checks passed
@castrojo
castrojo deleted the fix/remove-rebase-helper branch June 10, 2026 19:01
@castrojo castrojo added 4-review A pull request is awaiting review. and removed pr/needs-review labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4-review A pull request is awaiting review.

Projects

None yet

1 participant