GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(delivery): set up Firebase Hosting deploys with nothing typed by polymaniadeveloper-hub · Pull Request #210 · Tevin2119/t3code

Conversation

@polymaniadeveloper-hub

@polymaniadeveloper-hub polymaniadeveloper-hub commented Nov 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Setting up PayoutLab's Firebase deploy stalled because the deployments form asked for deploy commands typed as JSON, and nothing kept that from being a bare firebase deploy. This adds Firebase Hosting to the deployments Configuration dialog. The person picks the repository, the branch, and a hosting target the engine listed. Nothing is typed.

Depends on engine Operation-PaperClip#190 (firebase-hosting adapter, adopt, GET /api/repositories/:id/firebase, GET /api/deployments?repository=). #190 is still in QA. Against an older engine, T3 doesn't offer Firebase Hosting, because capabilities["firebase-hosting"] is missing.

What changes

  • Setup (/deployments, Add or Configure): the adapter list now has Firebase Hosting. With it chosen, the engine reads .firebaserc and firebase.json at the branch's fetched tip, and the dialog offers only the targets the engine resolved to a site, shown as target · project → site, serves folder/. Targets the engine refused stay visible with the engine's own reason, for example a predeploy hook. The command JSON textarea is now shown only for Repository commands. Saving sends { adapter: "firebase-hosting", firebase: { firebaseProject, target } } through the existing approval dialog.
  • Live state is shown, not derived. For a Firebase instance, the runtime card shows liveProblem word for word, such as Unverified: … or Unverified since …, or Live: Release #<seq> · <short commit> for the engine's liveCandidate, named the way its card is. The "matches latest merge" comparison is skipped. Each candidate card shows the site and served folder from its evidence.
  • Adopt: a qualified Firebase candidate offers Adopt. The person chooses "Unknown, accept once" or a commit the engine already knows for that instance (the candidate's base, or another candidate's commit). The engine checks the commit. The request goes through the same keyed approval.
  • Board: the board's delivery settings gain a Deployments section. It lists the board repository's instances (/api/deployments?repository=) with the same cards, actions, Adopt, and "Add instance…" (repository preset). It mounts and polls only while the settings disclosure is open.

T3 pieces reused

Element Reused
Repository delivery/RepositoryPicker.tsx + RepositoryBrowse (palette browse, filesystem.browse), via the existing useRepositoryRegistration
Branch BaseBranchPicker (delivery/BoardPicker.branches.tsx, vcs.listRefs / usePaginatedBranches). New localNames prop: a remote-only branch is offered by its branch name, since the engine fetches refs/heads/<name>
Firebase project + target, adopt commit delivery/Choice.tsx over engine-listed rows
Dialogs, approval, toasts ui/dialog.tsx, DeliveryApprovalDialog, ui/toast.tsx
Instance and candidate cards the existing DeploymentsPage cards. They moved to DeploymentInstance.tsx unchanged, so the board renders the same component
Engine reads and writes useDeliveryRead / useDeliveryAct (the existing delivery.act environment RPC command and its permission atom). No new RPC or server code

Surfaces

  • Web and desktop: yes, as the same React UI. The desktop shell needed no IPC change.
  • Remote, relay and tunnel: yes. Every read and write goes through the existing delivery relay RPC, and the new paths fit DeliveryPath.
  • Mobile: not supported. Mobile has no deployments surface today.
  • i18n: the deployments page copy was English-only before this change. The new copy follows it, and the board section reuses the page's cards.

Before / after

Fixture engine with recorded #190 responses, an isolated dev server on this worktree's own .t3, and the profile env unset. The images are pinned to commit 1b0c270f on pr-assets/deployments-firebase-setup.

Before (master): Add deployment offers only Repository commands, with a JSON argv textarea.

Before: Add deployment with a JSON command textarea

After, setup: Firebase Hosting with branch and target picked from engine-listed rows. A refused target shows the engine's own reason, and there's no textarea or engine-adapter note.

After: Firebase Hosting setup with an engine-listed target

After, unverified instance: main shows Unverified: No release stamp has been read… word for word. Its candidate shows the site and served folder, and offers Adopt.

After: an unverified Firebase instance

After, live instance: the live line names the release the way its card does: Live: Release #4 · 1111111111.

After: the live line matches the candidate card

After, Adopt: "Unknown, accept once" or a commit the engine knows.

After: Adopt dialog

After, board: Board delivery settings list the board repository's instances full width, below the link and merge-permission controls, with their own scroll area.

After: board delivery settings with the Deployments section

Not in #190 / left out

  • Firebase qualify and setup checks (commands.setup and commands.qualify) are kept as saved when an instance is re-saved. T3 has no way to set them without typing argv, because the engine lists no repository checks. They need an engine listing, for example of package.json scripts, before T3 can offer them.
  • No engine field names which commit a site ran before the first stamp. So the adopt choices are limited to commits the engine already knows for the instance.

Re-checked against merged engine #190 (d3d6b0ca)

Routes, response fields, the setup and save shapes, and adopt are unchanged. Two candidate rules changed, and T3 now follows them:

  • Retry. A candidate that was never deployed and whose passing evidence a save cleared now retries by qualifying again, so Retry is offered for it. A deployed candidate with no passing evidence is still not offered Retry.
  • Parked branches. A candidate from a branch the instance no longer watches is parked, not retired. Its card says so, and it offers no qualify, deploy or retry until that branch is watched again. Verify, adopt and cancel stay available. The contract gains the candidate's branch and deployedTo.

needsVerify is still shown exactly as the engine reports it, so the owedVerify() change needs nothing in T3.

Tests

  • packages/contracts/src/deployments.test.ts: decodes feat(delivery): a team conversation swaps a usage-limited seat to a free favorite #190 snapshots and the hosting listing, and checks the input rules for firebase, command and adopt.
  • FirebaseHosting.logic.test.ts and lib/deployments.test.ts: target choices, adopt choices and offering, and the verbatim live status.
  • DeploymentsPage.test.tsx: the Firebase setup flow, the verbatim live text, adopt through approval, and saved checks kept.
  • BoardDeployments.test.tsx: the repository-scoped read and filtering.
  • vp run check:changed passes.

Created with Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

QA (GLM-5.4, at 966c83f; b0e9ab2 is byte-identical plus the master merge): PASS, with non-blocking items

  • Verified:
    • setup needs no typing: the repository, branch (including localNames) and target all come from pickers or the engine;
    • live state is shown exactly as the engine reports it, never derived;
    • adopt works for the unknown case and for a chosen commit, and the engine's refusal is shown;
    • the board section and its polling work;
    • the contracts are right, and mobile isn't affected.
  • Non-blocking:
    1. The board's Deployments section sits inside a max-h-80 scroll box and is cramped (BoardPage.tsx L938).
    2. The "after: Firebase setup" image is out of date.
    3. There's no capture of the board section.
    4. Live: release <liveCandidate> shows an id people can't match to a card (deployments.ts L96).
    5. "(saved)" is shown for an unsaved target (L373).
    6. The board settings section stays open when you switch boards.
    7. Test gaps.
    8. liveHealthy on the server reports false for "Unverified".
    9. updating.md L276 is out of date.
  • Conductor ruling: fix items 1, 2, 4, 5 and 9 while waiting for feat(delivery): a team conversation swaps a usage-limited seat to a free favorite #190.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Tevin2119 and others added 4 commits November 26, 2026 15:37
@Tevin2119 @claude
feat(delivery): set up Firebase Hosting deployments with nothing typed
c9c5040
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Tevin2119 @claude
fix(delivery): hide the engine adapter note for Firebase Hosting
966c83f
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Tevin2119
Merge remote-tracking branch 'origin/master' into feat/deployments-fi…
b0e9ab2
…rebase-setup
@Tevin2119 @claude
fix(delivery): roomier board deployments, named live release, Firebas…
c094ff8
…e docs

Co-Authored-By: Claude Opus 5.5 <[email protected]>
polymaniadeveloper-hub pushed a commit that referenced this pull request Nov 26, 2026
@Tevin2119
PR #210 evidence images: re-captured setup, live release, board section
1b0c270
Tevin2119 and others added 2 commits November 26, 2026 23:27
@Tevin2119 @claude
fix(delivery): follow engine 190's final retry and parked-branch rules
f9f9ac1
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Tevin2119
Merge remote-tracking branch 'origin/master' into feat/deployments-fi…
4ceb3db
…rebase-setup
@polymaniadeveloper-hub
polymaniadeveloper-hub merged commit a35280d into master Nov 26, 2026
21 checks passed

Uh oh!

There was an error while loading. Please reload this page.

polymaniadeveloper-hub pushed a commit that referenced this pull request Nov 27, 2026
@Tevin2119 @claude
Merge origin/master (#209, #210) into feat/board-task-native-view
12a204b
Kept both sides:
- Server: the finished-state list stays in @t3tools/shared; #209's split
  parent rule for boardTaskInWork is kept.
- #209's SourceThreadRow ("Made from") replaces this branch's own source
  row. TaskLineage lists the seat conversations, then TaskRelatedWork.
- TaskBadges stays removed; the Task item and related-work cases from its
  test, #209's source-row checks among them, move to
  TaskDetails.browser.test.tsx.
- The user doc combines #209's Made from and split parts with this
  branch's seat rows and finished-task composer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 27, 2026
feat(web): board tasks open as plain Orchestrator threads #212
Merged
feat(board): renew each board thread's heartbeat on every pass (S2b) #235
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@polymaniadeveloper-hub @Tevin2119
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.