Cursor Agent and Julius Marminge
4339050a81
Require explicit opt-in for terminal perf scripting
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:55 -08:00
Cursor Agent and Julius Marminge
0e26c9477c
Preserve terminal perf interactions by default outside CI
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:55 -08:00
Cursor Agent and Julius Marminge
eb20d1f5fe
Disable terminal perf scripting in CI and restore strict dispatch ceiling
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:55 -08:00
Cursor Agent and Julius Marminge
cdf7b01f01
Simplify perf seed reload helper return contract
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
ae6712b904
Keep perf seed retry logic while trimming verbose diagnostics
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
c2966e6b97
Scope perf bootstrap skip to explicit automation sessions
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
9b99c9b807
Remove temporary branch-specific CI push trigger
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
e69fe94cbd
Remove temporary perf state debug instrumentation
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
a41c0ab4f8
Relax CI long-dispatch perf ceiling for desktop traces
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
91fb3a5a11
Trim perf interaction intensity to reduce CI dispatch spikes
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
adba5d834e
Reduce desktop perf scripted workload for CI stability
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
142b728e25
Require core renderer interactions in perf gate
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
1314980881
Continue perf terminal automation when split fails
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
ae1626b772
Retry perf seed when post-reload threads are missing
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
2c0a3bdd3a
Skip desktop project bootstrap during perf state replay
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
cbbfd0cf3b
Instrument persisted state hydration for perf CI debugging
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
ae27c200f1
Seed renderer state atomically before reload
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
0014818f63
Add detailed diagnostics for missing perf interaction UI
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
7f6786fd6a
Retry desktop project bootstrap when list is transiently empty
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
a1dfc846eb
Make perf scripted interactions best-effort in CI
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
5c68c77cf4
Harden perf automation against missing sidebar selectors
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
52920abd06
Rewrite perf seed project paths for CI runtime
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
42ef93adf4
Run CI workflow on desktop perf fix branch
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
ca93003572
Accept prebuilt desktop bundles in dev startup
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Cursor Agent and Julius Marminge
ff45694a1d
Fix desktop CI bundle readiness checks
...
Co-authored-by: Julius Marminge <[email protected] >
2026-02-17 19:49:54 -08:00
Julius Marminge
1a39d75201
whoops
2026-02-17 19:49:54 -08:00
Julius Marminge
1a98fc67dc
maybe?
2026-02-17 19:49:54 -08:00
Cursor Agent
e666957884
fix: update CI preload artifact name to .cjs and add freshness grace period for dev startup
...
- Update CI verification step to check preload.cjs instead of preload.js,
matching the tsdown CJS output format.
- Add 10s grace period to bundle freshness check in dev-electron.mjs to
avoid race condition when parallel processes write bundles before the
script records its start time.
2026-02-17 19:49:54 -08:00
Julius Marminge
47d5dc205d
lint fix
2026-02-17 19:49:54 -08:00
Julius Marminge
2dc8fcdd30
maybe fix errors?
2026-02-17 19:49:54 -08:00
Julius Marminge and codex
1d76eb5107
Avoid cleaning desktop bundle in watch mode for perf CI
...
Co-authored-by: codex <[email protected] >
2026-02-17 19:49:54 -08:00
Julius Marminge and codex
c48a7b9f7e
Fix dev-electron bundle readiness race in CI
...
Co-authored-by: codex <[email protected] >
2026-02-17 19:49:54 -08:00
Julius Marminge
6721804b64
Enable Linux Electron sandbox override for desktop perf runs
...
- Set `ELECTRON_DISABLE_SANDBOX=1` in CI desktop perf trace jobs
- Auto-enable the same override in Linux `dev-electron` runs when unset
- Add sandbox-failure log hint in perf trace diagnostics
- Include `ELECTRON_DISABLE_SANDBOX` in Turbo passthrough env
2026-02-17 19:49:54 -08:00
Julius Marminge
0bca5a4215
Replace wait-on with native bundle readiness polling
...
- remove `wait-on` usage in `dev-electron.mjs`
- add `fs.existsSync` polling for desktop/server bundle files with timeout error details
- keep startup flow the same while reducing external dependency
2026-02-17 19:49:54 -08:00
Julius Marminge
a293a010cd
Harden Electron startup waits in dev and CI
...
- add configurable `T3CODE_ELECTRON_STARTUP_TIMEOUT_MS` to desktop startup and CI perf jobs
- replace simple TCP wait with explicit renderer host probes and clearer timeout errors
- include Electron startup timeout env in Turborepo global env passthrough
2026-02-17 19:49:54 -08:00
Julius Marminge
4622dbd5f9
Raise desktop perf timeout and long-dispatch threshold in CI
...
- Set `T3CODE_PERF_TIMEOUT_MS` default to 420000 in perf trace script
- Export `T3CODE_PERF_MAX_LONG_DISPATCH_COUNT=5` across CI desktop perf jobs
2026-02-17 19:49:54 -08:00
Julius Marminge
758b3e1094
Harden desktop perf CI with deps, artifacts, and timeout hints
...
- Install required Linux desktop runtime packages before perf trace runs
- Increase perf trace timeout in CI and always upload `/tmp/t3code-perf-artifacts`
- Add timeout failure hints and recent log-tail output to `desktop-perf-trace` errors
2026-02-17 19:49:54 -08:00
Julius Marminge
ae08eb8d45
Pad perf trace summary columns for stable markdown tables
...
- define thread/title column widths as constants
- pad thread IDs and titles so large-thread render rows align consistently
2026-02-17 19:49:54 -08:00
Julius Marminge
220497ac58
Expand desktop perf trace with terminal and render delta metrics
...
- Add terminal shortcut/split/command interactions to desktop perf automation
- Benchmark all seeded threads from file seeds and include short title previews
- Report first vs follow-up thread render timings with min/max range and deltas
2026-02-17 19:49:54 -08:00
Julius Marminge
419ecc01e5
Add desktop perf seed data and update perf trace workflow
...
- add `apps/desktop/scripts/perf-seed.json` for seeded desktop perf automation runs
- update desktop/web perf automation and trace scripts to use the new seeded flow
- refresh workspace task/dependency config (`turbo.json`, `apps/web/package.json`, `bun.lock`) to support the perf tooling changes
2026-02-17 19:49:54 -08:00
Julius Marminge
41caab9cc0
Track large-thread render timings in desktop perf trace
...
- Seed each perf project with a large synthetic thread for stress coverage
- Measure thread-switch render latency/message counts via ChatView data attributes
- Include a Large Thread Render table in `desktop-perf-trace` markdown output
2026-02-17 19:49:15 -08:00
Julius Marminge
25cc139eea
Handle fork PR desktop perf runs and harden trace shutdown
...
- Run desktop perf tests on forked pull requests without posting PR summaries
- Restrict PR summary posting to same-repo pull requests
- Add timeout-wrapped trace stop logic and guarded cleanup to avoid hangs
2026-02-17 19:49:15 -08:00
Julius Marminge
8d90f14290
Extract desktop perf automation into dedicated module
...
- Move seeding, scripted UI interactions, and trace recording into `desktopPerfAutomation.ts`
- Keep `main.ts` lightweight with lazy module loading and explicit load-failure reporting
2026-02-17 19:49:15 -08:00
Julius Marminge
a1177c736c
Add desktop perf trace automation and CI reporting
...
- add automated Electron renderer perf tracing with seeded state and scripted UI interactions
- add `test:desktop-perf` and `test:desktop-perf:post` scripts to generate, validate, and summarize traces
- run desktop perf trace in CI and post/update PR perf summaries on pull requests
2026-02-17 19:49:15 -08:00
Julius Marminge
9e877f592b
rm unused
2026-02-17 19:47:09 -08:00
Julius Marminge
f719aea047
Use Command highlighting state for composer menu navigation
...
- Switch composer menu arrow-key navigation to `Command`'s internal highlight handling
- Track highlighted item by id instead of manual index/keyboard state
- Remove custom hover/highlight plumbing and hidden-scroll sync logic
2026-02-17 19:47:09 -08:00
Julius Marminge
f6136bd4c2
rm dupe
2026-02-17 19:47:09 -08:00
Julius Marminge and codex
385d77d0c2
Fix workspace entry ignore list regression
...
Co-authored-by: codex <[email protected] >
2026-02-17 19:47:09 -08:00
Julius Marminge
ee2f6bd742
rev
2026-02-17 19:47:09 -08:00
Julius Marminge
e1ba603605
fix cond
2026-02-17 19:47:09 -08:00