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(scripts): scenarios prove a fix in the real app with e2e, on web… · AndryHTC/t3code@ae14293

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • mobile-showcase-screenshots.yml
  • .gitignore
  • AGENTS.md
  • apps
    • desktop
      • package.json
    • server
      • package.json
      • src
        • device
          • AgentDeviceShim.ts
          • deviceToolVersions.json
        • preview
          • ServerBrowserPage.test.ts
    • web
      • package.json
  • docs
    • README.md
    • operations
      • scenarios.md
  • evals/mcp-tool-use
    • agent-device-help.txt
  • knip.jsonc
  • package.json
  • pnpm-lock.yaml
  • scripts
    • e2e.config.ts
    • package.json
    • prove-scenario.test.ts
    • prove-scenario.ts
    • scenarios
      • add-project-tab-reaches-submit.e2e.ts
      • mobile-opens-a-seeded-thread.e2e.ts
      • replay-turn-streams.e2e.ts
      • shell.ts
      • start-app.ts
      • t3-mobile.ts
      • t3.ts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.github/workflows/mobile-showcase-screenshots.yml‎

Copy file name to clipboardExpand all lines: .github/workflows/mobile-showcase-screenshots.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
axe --version
8989
9090
- name: Install foldable simulator controls
91-
run: npm install --global [email protected].25
91+
run: npm install --global [email protected].36
9292

9393
- name: Capture iOS showcase
9494
run: pnpm screenshots:mobile --platform ios --appearance "${{ inputs.appearance }}" --theme "${{ inputs.theme }}"
Collapse file

‎.gitignore‎

Copy file name to clipboardExpand all lines: .gitignore
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ apps/mobile/.android-cache/
3838
artifacts/app-store/screenshots/
3939
artifacts/mobile-e2e/
4040
artifacts/mobile-behavior/
41+
scripts/.e2e/
4142
.github/pr-assets/
4243
native/**/target/
4344
node_modules/
Collapse file

‎AGENTS.md‎

Copy file name to clipboardExpand all lines: AGENTS.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ An empty database is a bad test. Seed your worktree's `.t3` with a copy of real
108108
- [Testing](docs/internals/testing.md) carries these same test rules, plus review guidance, for review bots. Change both together.
109109
- **Do not run repo-wide checks.** No `vp check`, no `vp run -r test`, no `vp run -r typecheck` unless I ask. CI owns the full suite.
110110
- Backend behavior changes ship with focused tests for that behavior.
111-
- Proof for a bug fix depends on the bug. Logic, data, state, and protocol bugs get a failing test first (the fewest that fail on `main` for that reason, in an existing case of the module's test file where one fits), then the fix. Purely visual bugs (spacing, colour, alignment, a layout shift) get before/after captures as their proof and no test: do not add UI tests for nitpicks, and do not ask for one in review when a capture already shows it. A server-only fix with no visible surface ships the test plus a short runtime transcript.
111+
- Proof for a bug fix depends on the bug. Logic, data, state, and protocol bugs get a failing test first (the fewest that fail on `main` for that reason, in an existing case of the module's test file where one fits), then the fix. Purely visual bugs (spacing, colour, alignment, a layout shift) get before/after captures as their proof and no test: do not add UI tests for nitpicks, and do not ask for one in review when a capture already shows it. A server-only fix with no visible surface ships the test plus a short runtime transcript. For a bug a user can reproduce in the web client, `vp run scenarios:prove` shows it failing on base and passing on the fix in the real app; see [Scenarios](docs/operations/scenarios.md).
112112
- The server is event-sourced, and side effects run after the command commits. In tests, drain the effect worker (`OrchestrationEffectWorkerV2.drain`) or await the specific persisted event or `Deferred` that marks the milestone. Never wait on sleeps or polling. A test that needs a timeout to pass is wrong. Concretely:
113113
- `it.effect` runs on a `TestClock`; `Effect.sleep` only advances through `TestClock.adjust`. `it.live` is wall-clock and only for subprocess or network fixtures.
114114
- No `yieldNow` or `sleep` polling loops. Await the `Deferred`, take from the `Queue`, or drain the worker.
Collapse file

‎apps/desktop/package.json‎

Copy file name to clipboardExpand all lines: apps/desktop/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"electron-updater": "^6.8.9",
2828
"electron-webauthn": "catalog:",
2929
"ffi-rs": "1.3.2",
30-
"playwright-core": "1.60.0",
30+
"playwright-core": "1.64.1",
3131
"react-grab": "^0.1.32",
3232
"tldts": "catalog:"
3333
},
Collapse file

‎apps/server/package.json‎

Copy file name to clipboardExpand all lines: apps/server/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"effect": "catalog:",
6868
"ffi-rs": "1.3.2",
6969
"node-pty": "^1.2.0-beta.15",
70-
"playwright-core": "1.60.0",
70+
"playwright-core": "1.64.1",
7171
"proper-lockfile": "4.1.2",
7272
"saxes": "6.0.0",
7373
"stream-chain": "^4.2.5",
Collapse file

‎apps/server/src/device/AgentDeviceShim.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/device/AgentDeviceShim.ts
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const STALE_RUNTIME =
1212

1313
const quoteShell = (value: string) => "'" + value.replaceAll("'", "'\"'\"'") + "'";
1414

15-
/** agent-device 0.21.31's flags that take a value, so the launcher can find the command past them. */
15+
/** agent-device 0.21.36's flags that take a value, so the launcher can find the command past them. */
1616
const VALUE_FLAGS: ReadonlyArray<string> = [
1717
"--activity",
1818
"--all",
@@ -53,6 +53,7 @@ const VALUE_FLAGS: ReadonlyArray<string> = [
5353
"--header",
5454
"--hold-ms",
5555
"--host",
56+
"--image-tag",
5657
"--in-app",
5758
"--include",
5859
"--interval-ms",
@@ -79,6 +80,7 @@ const VALUE_FLAGS: ReadonlyArray<string> = [
7980
"--metro-port",
8081
"--network-profile",
8182
"--on-error",
83+
"--os",
8284
"--os-version",
8385
"--out",
8486
"--pattern",
@@ -101,6 +103,7 @@ const VALUE_FLAGS: ReadonlyArray<string> = [
101103
"--provider-geo-location",
102104
"--provider-language",
103105
"--provider-locale",
106+
"--provider-network-hosts",
104107
"--provider-network-profile",
105108
"--provider-os-version",
106109
"--provider-project",
Collapse file

‎apps/server/src/device/deviceToolVersions.json‎

Copy file name to clipboard
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"agent-device": "0.21.31",
3-
"expo-device-hub": "0.19.1"
2+
"agent-device": "0.21.36",
3+
"expo-device-hub": "0.22.1"
44
}
Collapse file

‎apps/server/src/preview/ServerBrowserPage.test.ts‎

Copy file name to clipboardExpand all lines: apps/server/src/preview/ServerBrowserPage.test.ts
-1Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ describe("server browser element refs", () => {
180180
);
181181
expect(result.visibleText).not.toContain("editable-pass");
182182
expect(result.visibleText).toContain("Order ••••••••-2");
183-
expect(tree).toMatch(/row "password: •+"/);
184183
expect(tree).toMatch(/textbox "Username" [^\n]*: maria$/m);
185184
const line = tree.split("\n").find((line) => line.includes('textbox "Password"'));
186185
expect(line).toMatch(/: •+$/);
Collapse file

‎apps/web/package.json‎

Copy file name to clipboardExpand all lines: apps/web/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"compression": "^1.8.2",
112112
"micromark-util-types": "catalog:",
113113
"oxc-transform-react": "~0.152.0",
114-
"playwright": "1.60.0",
114+
"playwright": "1.64.1",
115115
"tailwindcss": "^4.0.0",
116116
"vite": "catalog:",
117117
"vite-plus": "catalog:"
Collapse file

‎docs/README.md‎

Copy file name to clipboardExpand all lines: docs/README.md
+1Lines changed: 1 addition & 0 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ source alone does not explain. Most code changes do not need an internal documen
6565
### Runbooks
6666

6767
- [Development and local builds](./operations/development.md)
68+
- [Scenarios: real-app proof for a fix](./operations/scenarios.md)
6869
- [T3 Connect setup](./operations/connect-setup.md)
6970
- [Release](./operations/release.md)
7071
- [Observability](./operations/observability.md)

0 commit comments

Comments
0 (0)
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.