Commit Graph
13397 Commits
Author SHA1 Message Date
Diego Imbert 98df2b7552 revert: drop unsuccessful path-stabilization heuristics + leftover [draft-sync] logs 2026-06-05 22:32:02 +02:00
Diego Imbert 9bf6a7dbc2 fix: wait for script.path to stabilize across two ticks before restartSync 2026-06-05 22:26:06 +02:00
Diego Imbert a7320f0fae chore: log inferArgs underlying error on deploy to diagnose 'Could not parse code' toast 2026-06-05 22:20:44 +02:00
Diego Imbert 724e27003e fix: poll script.path via tick() until Path widget settles before restartSync 2026-06-05 22:19:06 +02:00
Diego Imbert e4453e642c fix: defer script restartSync until script.path lands (Path widget gated on $userStore + $workspaceStore) 2026-06-05 21:32:20 +02:00
Diego Imbert 75b8a08ce4 fix: seed auto-generated path in script new-draft route to suppress Path widget's autosave-triggering mutation 2026-06-05 20:56:04 +02:00
Diego Imbert fbe0552cdd chore: add [draft-sync] console logs to trace script bootstrap autosave 2026-06-05 20:51:00 +02:00
Diego Imbert 479b255857 fix: route create-vs-update on /add deploys; seed policy.execution_mode; sync script template 2026-06-05 20:02:31 +02:00
Diego Imbert c1aba2754d autosave indicator nits 2026-06-05 19:23:39 +02:00
Diego Imbert cca0e67054 feat: flush pending draft saves via keepalive fetch on tab hide / pagehide 2026-06-05 19:18:00 +02:00
Diego Imbert 75e2d99e44 fix: gate per-user draft-only rows in listings on include_draft_only flag 2026-06-05 01:38:40 +02:00
Diego Imbert bb60641ff6 refactor: drop draft-loaded toast in non-route editors, banner now compares draft vs deployed 2026-06-05 01:36:10 +02:00
Diego Imbert 41001aa9fc feat: add AutosaveIndicator backed by reactive UserDraftDbSyncer.getState 2026-06-04 20:24:22 +02:00
Diego Imbert 8ddb2df876 fix: also stopSync in route's new_draft branch + queue pre-acquire suspensions 2026-06-04 19:12:39 +02:00
Diego Imbert ae1652bff3 fix: thread URL path into ScriptBuilder.stopSync (was using empty initialPath) 2026-06-04 18:14:01 +02:00
Diego Imbert 1709f6978c feat: add UserDraft.stopSync/restartSync, wire on script + low-code app /add init 2026-06-04 16:18:58 +02:00
Diego Imbert 4110abcb77 feat: surface draft path in home list when user typed one different from URL 2026-06-04 16:12:24 +02:00
Diego Imbert 67a8654220 refactor: send draft as separate .draft field instead of deep-merging onto deployed 2026-06-04 16:03:04 +02:00
Diego Imbert 99439809f7 fix: drop +page.js files in /add routes that conflicted with +page.ts 2026-06-04 15:45:03 +02:00
Diego Imbert adcaee889f fix: redirect /add routes at load phase to eliminate white flash 2026-06-04 15:43:27 +02:00
Diego Imbert 8972ceb07f fix: seed UserDraft cell from spec defaultValue on acquire 2026-06-04 15:38:27 +02:00
Diego Imbert 9f80974e25 feat: add immediate-save bypass that cancels pending debouncer + runner tasks 2026-06-04 15:32:36 +02:00
Diego Imbert 17cacd67d2 feat: route UserDraftDbSyncer.save through debouncer + coalescing runner 2026-06-04 15:21:19 +02:00
Diego Imbert d0c464e47c fix: bridge saved-draft shape to wire shape in apps/resources/variables loaders 2026-06-04 15:14:44 +02:00
Diego Imbert 1ecc8411e4 refactor: drop await on draft-delete in reset flows, refetch deployed directly 2026-06-04 15:03:09 +02:00
Diego Imbert 8ceb71dcdc createDebouncerByKey 2026-06-04 12:48:12 +02:00
Diego Imbert 74f1206969 example ts doc 2026-06-04 12:47:54 +02:00
Diego Imbert 1a2bf61f45 createCoalescingKeyedRunner 2026-06-04 12:46:37 +02:00
Diego Imbert 589afb0f0b feat: hide 'Reset to deployed' action when no deployed version exists 2026-06-03 10:23:36 +02:00
Diego Imbert 4ebac0ee4c feat: add 'Reset to deployed' action on draft-loaded toast 2026-06-03 10:12:28 +02:00
Diego Imbert 79cb813be7 fix: migrate session runtime + script view to per-user draft API 2026-06-03 09:51:01 +02:00
Diego Imbert cff286bd15 feat: migrate localStorage drafts to DB on layout mount 2026-06-02 18:37:29 +02:00
Diego Imbert fa71fceb8c refactor: drop vestigial LS-era code from UserDraft 2026-06-02 18:32:36 +02:00
Diego Imbert 34f68cbb0e refactor: drop localStorage layer from UserDraft 2026-06-02 17:55:36 +02:00
Diego Imbert 938c2d5336 fix: remove URL-hash sync from script editor (already marked TEMP) 2026-06-02 17:08:02 +02:00
Diego Imbert a6091d91cd fix: skip first observable change in DB sync effect to match LS persist 2026-06-02 14:47:13 +02:00
Diego Imbert a0273f8152 fix: tolerate missing latest-version on draft-only flow reload 2026-06-02 14:46:37 +02:00
Diego Imbert b7d8032134 fix: synthesize value wrapper on draft-only raw_app response 2026-06-02 14:42:20 +02:00
Diego Imbert 859bee78c0 feat: re-add Draft and Draft only badges on home page rows 2026-06-02 14:39:53 +02:00
Diego Imbert 1d940311d0 fix: empty path seed on new_draft so friendly auto-name fires 2026-06-02 14:32:06 +02:00
Diego Imbert dd5028da48 feat: delete user drafts when their underlying item is deleted 2026-06-02 14:22:23 +02:00
Diego Imbert 69d5aa6db9 fix: route draft-only deletes through UserDraftDbSyncer on home page 2026-06-02 14:16:48 +02:00
Diego Imbert d6e8ffc988 fix: prefix draft paths with u/{user} and seed editor state on new_draft 2026-06-02 13:45:59 +02:00
Diego Imbert 715849886a feat: include user drafts in list endpoints with is_draft flag 2026-06-02 13:39:47 +02:00
Diego Imbert 84fc8f4367 fix: drop dangling nobackenddraft assignment in flows edit 2026-06-02 12:35:41 +02:00
Diego Imbert 9e6053adf5 fix: inline get_draft query field instead of flattening 2026-06-02 12:34:25 +02:00
Diego Imbert 32a78be6dc feat: redirect /add pages to /edit/draft_uuid with new_draft flag 2026-06-02 12:29:47 +02:00
Diego Imbert 00e195c1ba readLastSyncMap 2026-06-01 20:30:34 +02:00
Diego Imbert af83a7bd50 Merge remote-tracking branch 'origin/main' into remove-workspace-drafts 2026-06-01 18:22:44 +02:00
Ruben FiszelandClaude Opus 4.8 c19441bc8c perf(python): add --compile-bytecode to uv pip install (#9393)
Python jobs under nsjail experience slow imports (~465ms for `import
requests`) because dependency directories are mounted read-only. Without
pre-compiled `.pyc` files, Python recompiles `.py` source to bytecode
in-memory on every import in every fresh nsjail process, paying the cost
repeatedly.

Add `--compile-bytecode` to both `uv pip install` invocations (the
Rust-driven install in python_executor.rs and the nsjail
download_deps.py.sh script) so `.pyc` files are generated at install
time and available at runtime even through read-only mounts. The files
are included in both the local cache and S3 piptar uploads.

The flag is supported by the uv version (0.9.24+) shipped in the
Dockerfile. The existing `__pycache__` skip only filters top-level dirs
for dedup logic, not subdirs within packages, so there is no conflict.

Fixes WIN-2001

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-01 15:46:33 +00:00