Skip to content

Add Firebase CLI development environment via mise - #7485

Open
calledtoconstruct wants to merge 3 commits into
omacom:quattrofrom
calledtoconstruct:add-firebase-install-remove
Open

calledtoconstruct wants to merge 3 commits into
omacom:quattrofrom
calledtoconstruct:add-firebase-install-remove

Conversation

@calledtoconstruct

@calledtoconstruct calledtoconstruct commented Aug 19, 2026 •

Copy link
Copy Markdown

What

Adds the Firebase CLI under Install / Remove → Development. Mise installs the official CLI from aqua (firebase@latest). After install, firebase login, then firebase init, firebase emulators:start, and firebase deploy. The menu uses ~/.local/share/mise/installs/firebase.

Discussion: #11266

Test plan

  • bash test/shell.d/dev-env-test.sh
  • bash test/shell.d/menu-test.sh

Copilot AI balanced review requested due to automatic review settings August 19, 2026 11:32

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

Note

Copilot was unable to run its full agentic suite in this review.

Adds Firebase as a first-class “Development” environment in Omarchy, including menu entries, install/remove support scripts, documentation, and automated tests.

Changes:

  • Add Firebase install/remove entries to the Omarchy menu model.
  • Implement Firebase CLI install/remove paths in omarchy-install-dev-env / omarchy-remove-dev-env.
  • Add docs and shell/Node-based tests validating menu wiring and script behavior.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
test/shell.d/menu-test.sh Extends menu assertions to include the new Firebase install row.
test/shell.d/dev-env-test.sh New tests validating Firebase appears in usage/menu and validating install/remove script behaviors.
manual/18-development-tools.md Documents Firebase availability and basic CLI usage.
default/omarchy/omarchy-menu.jsonc Adds Install/Remove > Development > Firebase menu rows.
bin/omarchy-remove-dev-env Adds firebase) removal case and updates usage metadata.
bin/omarchy-install-dev-env Adds firebase) install case (downloads Firebase CLI) and updates usage metadata.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@calledtoconstruct
calledtoconstruct marked this pull request as draft September 11, 2026 03:08
@calledtoconstruct

Copy link
Copy Markdown
Author

Converted to draft. Omarchy wants feature ideas in Discussions first. Suggestion: #11266 — happy to mark this ready if that lands.

@calledtoconstruct
calledtoconstruct force-pushed the add-firebase-install-remove branch from c009c01 to fd13161 Compare September 24, 2026 01:47
@calledtoconstruct calledtoconstruct changed the title Add Firebase CLI as a development environment Add Firebase CLI development environment via mise Sep 24, 2026
@calledtoconstruct
calledtoconstruct marked this pull request as ready for review September 24, 2026 01:49
@omarchybot omarchybot added the enhancement New feature or request label Sep 27, 2026
@calledtoconstruct
calledtoconstruct force-pushed the add-firebase-install-remove branch from fd13161 to a8156e3 Compare September 30, 2026 13:36
@greptile-apps

greptile-apps Bot commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge; the remaining testing gap is non-blocking.

Findings

  1. P2 Firebase installation remains untested ▶

Summary

Adds Firebase CLI installation and removal through mise, with menu entries, documentation, and stub-based tests.

  • Installation reports success only when mise succeeds.
  • Removal attempts to clear the global pin even if uninstall fails.

Reviews (4) · Last reviewed commit: "Clear the Firebase pin even when uninsta..." · Reviewed by Greptile

Comment thread bin/omarchy-install-dev-env Resolved
Comment on lines +19 to +27
cat >"$stub_dir/mise" <<'STUB'
#!/bin/bash
printf 'mise %s\n' "$*" >>"$OMARCHY_DEV_ENV_LOG"
STUB
chmod +x "$stub_dir/mise"

: >"$log"
PATH="$stub_dir:$PATH" OMARCHY_DEV_ENV_LOG="$log" "$ROOT/bin/omarchy-install-dev-env" firebase >/dev/null
grep -Fxq 'mise use --global firebase@latest' "$log" || fail "firebase install uses mise" "$(cat "$log")"

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.

P2 Firebase installation remains untested

The mise stub only records arguments and always succeeds. This test cannot catch a Firebase tool that mise cannot resolve or confirm that installation produces a runnable firebase command. Add a test or documented validation step that checks the real installation; otherwise the main integration can fail while these tests pass.

Comment thread bin/omarchy-remove-dev-env Resolved
@calledtoconstruct
calledtoconstruct force-pushed the add-firebase-install-remove branch from 4732343 to 1f69df1 Compare October 15, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants