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 — refactor(app): share session index and project actions by joe-ieta · Pull Request #62845 · anomalyco/opencode

refactor(app): share session index and project actions #62845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joe-ieta wants to merge 10 commits into anomalyco:dev from joe-ieta:session-index

Uh oh!

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

Closed

refactor(app): share session index and project actions #62845

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
10 commits
Select commit Hold shift + click to select a range
516aa29
refactor(app): share the bounded session index
joe-ieta Nov 9, 2026
1cf53f4
refactor(app): share Home project actions and menus
joe-ieta Nov 9, 2026
6613ed4
chore(app): satisfy project actions lint rules
joe-ieta Nov 9, 2026
739ac31
refactor(app): keep the session index move self-contained
joe-ieta Nov 9, 2026
8c30804
chore(app): sync project actions with upstream dev
joe-ieta Nov 15, 2026
b69665d
chore(app): sync session index with upstream dev
joe-ieta Nov 19, 2026
1710919
chore(app): sync project actions with upstream dev
joe-ieta Nov 19, 2026
233ed96
refactor(app): consolidate shared navigation modules
joe-ieta Nov 19, 2026
cf0814f
chore: sync consolidated refactor with dev
joe-ieta Nov 19, 2026
b696d7a
refactor(app): require queued project selection
joe-ieta Nov 19, 2026
File filter
Filter by extension


Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

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

Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  

Uh oh!

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

Prev Previous commit
Next Next commit
chore(app): sync session index with upstream dev
  • Loading branch information

Uh oh!

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

@joe-ieta
joe-ieta committed Nov 19, 2026
commit b69665da42f15513432c08875fb1ff51d07f9229
The diff you're trying to view is too large. We only load the first 3000 changed files.

There are no files selected for viewing

12 changes: 2 additions & 10 deletions 12 .github/CODEOWNERS
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# web + desktop packages
packages/app/ @Hona @Brendonovich
packages/desktop/ @Hona @Brendonovich

# GUI plugin SDK
# changes here must be meticulous - pls chat first :)
packages/plugin/src/gui/ @Hona

# CI and releases. Release jobs that hold secrets run only .github/workflows/release.yml and .github/release/,
# which makes this path the release security boundary.
/.github/ @anomalyco/releasers
# which makes this path the release security boundary. It is the only path that needs a code owner review.
/.github/ @thdxr
40 changes: 40 additions & 0 deletions 40 .github/actions/prefetch-ghostty/action.yml
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Prefetch Ghostty dependencies
description: Prepare the pinned source and Zig packages for process-daemon's native build
runs:
using: composite
steps:
- name: Check out pinned Ghostty source
id: pins
shell: bash
env:
GHOSTTY_SOURCE_DIR: ${{ runner.temp }}/ghostty
ZIG_GLOBAL_CACHE_DIR: ${{ github.workspace }}/.zig-cache
run: |
revision=$(git show HEAD:packages/process-daemon/ghostty-revision)
git init --quiet "$GHOSTTY_SOURCE_DIR"
git -C "$GHOSTTY_SOURCE_DIR" fetch --depth=1 https://github.com/ghostty-org/ghostty.git "$revision"
git -C "$GHOSTTY_SOURCE_DIR" -c core.longpaths=true checkout --detach "$revision"
echo "revision=$revision" >> "$GITHUB_OUTPUT"
echo "zig=$(zig version)" >> "$GITHUB_OUTPUT"
echo "GHOSTTY_SOURCE_DIR=$GHOSTTY_SOURCE_DIR" >> "$GITHUB_ENV"
echo "ZIG_GLOBAL_CACHE_DIR=$ZIG_GLOBAL_CACHE_DIR" >> "$GITHUB_ENV"

# Zig 0.16 stores portable, content-addressed source tarballs in p/.
- uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
with:
path: .zig-cache/p
key: ghostty-packages-${{ steps.pins.outputs.zig }}-${{ steps.pins.outputs.revision }}
enableCrossOsArchive: true

- name: Fetch Zig packages
shell: bash
working-directory: ${{ env.GHOSTTY_SOURCE_DIR }}
run: |
for attempt in 1 2 3 4; do
echo "zig build --fetch=all (attempt $attempt/4)"
if zig build --fetch=all; then exit 0; fi
if [[ $attempt == 4 ]]; then exit 1; fi
delay=$((5 * 2 ** (attempt - 1)))
echo "Retrying in ${delay}s"
sleep "$delay"
done
43 changes: 0 additions & 43 deletions 43 .github/actions/setup-git-committer/action.yml
Show comments
View file
Open in desktop

This file was deleted.

Oops, something went wrong.

Uh oh!

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

7 changes: 0 additions & 7 deletions 7 .github/pull_request_template.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ Please provide a description of the issue, the changes you made to fix it, and w

### How did you verify your code works?

### Visual

_Optional, for user-facing changes: a small looping animated SVG (240×72) of the change, shown in the desktop app's "What's new in beta". Replace the block below or delete this section._

```svg
```

### Screenshots / recordings

_If this is a UI change, please include a screenshot or recording._
Expand Down
61 changes: 61 additions & 0 deletions 61 .github/release/README.md
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Deploy boundary

The deploy workflows (`deploy.yml`, `deploy-site.yml`, `deploy-files.yml`,
`deploy-update.yml`) split every service in two:

- **build** runs repository code (`bun install`, `cf build`, `bun script/build.ts`,
`wrangler deploy --dry-run`) with no environment, no secrets, and no OIDC
token. It uploads the deploy-ready output with a `SHA256SUMS` and reports that
manifest's digest as a job output.
- **deploy** runs in the `dev` or `production` environment, assumes the stage's
AWS role, mints a short-lived Cloudflare token from the token issuer
(`cloudflare-token.sh`), and checks out only `.github/release/`. It verifies
the artifact against the digest the build job reported, installs the pinned
`cf`/`wrangler` CLI (`npm ci --ignore-scripts`), and runs only a
`deploy-*.sh` script here.

Repository code outside `.github/` does not need Dax's review, so the deploy job
must never execute it. The scripts treat the artifact as data: Worker code and
assets may change freely, but names, routes, custom domains, crons, Workflow and
export names, and every binding (including service bindings to other Workers)
come from `targets/`. An artifact whose resolved config is not byte-for-byte one
of those pinned targets is refused before the token is used.

For `cf` services the pinned target is also what `cf` reads: the script copies
the target over the artifact's config after validating it. For `wrangler`
services the artifact is only `index.js`; the complete `wrangler.json` is the
pinned target.

## Why the token can be account-wide

Cloudflare has no per-Worker permission for Workflows. The data sync Worker owns
a Workflow, and `PUT /accounts/<id>/workflows/<name>` needs account-wide
`Workers Scripts Write`, so `Individual Workers Editor` fails that deploy.

Dev and production therefore mint a token that can write any Worker on the
account. That is only safe because the code holding it is this directory: one
reviewed script per service, on a verified artifact, with every destination
pinned in `targets/`. Do not move a deploy back into a job that runs repository
code, and do not widen a script's accepted targets without review.

Production keeps this token only for a Dax-approved fast-forward of `dev`; a
`dev` merge cannot reach the production environment.

## Production promotion notes

Moving `dev` to `production` deploys the same pinned targets with the same
scripts, but production holds an account-wide token and a bad deploy is live.

Before promoting:

1. Confirm every dev deploy job is green on the commit being promoted
(`deploy`, `deploy-site`, `deploy-files`; `deploy-update` runs on production
only).
2. Diff `.github/release/targets/` against `origin/production`. Any change here
is a change to what production may deploy.
3. Rollback is a fast-forward back to the previous `production` commit, which
redeploys the previous Worker code from the same pinned targets. If a target
itself changed and must be reverted, revert it with the deploy commit.
4. The production deploy job runs only `.github/release/` at `github.sha`; it
does not run repo code. The build job still runs repo code, but with no
secrets and no OIDC token.
Loading
Oops, something went wrong.

Uh oh!

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

Loading
Oops, something went wrong.

Uh oh!

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

You are viewing a condensed version of this merge commit. You can view the full changes here.
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 01402792 — 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.