Commit Graph

23145 Commits

Author SHA1 Message Date
Tienson Qin
bf188febb4 vercel sandbox with snapshot support 2026-03-02 11:05:11 +08:00
Tienson Qin
1f4f0e8a5e add snapshot api
Disabled snapshot button though since cloudflare sandbox backup
is slow for large repos.
2026-03-01 20:51:21 +08:00
Tienson Qin
180449c275 add script to destroy staging sandbox containers 2026-03-01 11:19:21 +08:00
Tienson Qin
7b6d7b4401 debug 2026-03-01 10:52:27 +08:00
Tienson Qin
01d15fe508 upgrade to standard 2 2026-03-01 10:36:16 +08:00
Tienson Qin
d3bd12c8ed fix: PR base branch 2026-03-01 10:32:09 +08:00
Tienson Qin
bbecb0935f fix: don't auto-terminate sandbox when session completed 2026-02-28 23:29:58 +08:00
Tienson Qin
e5120e4446 enhance: run init setup in background 2026-02-28 22:49:38 +08:00
Tienson Qin
47c1eafba0 staging update 2026-02-28 22:36:53 +08:00
Tienson Qin
b4d27b6b7e set sleepafter to 10m 2026-02-28 22:01:51 +08:00
Tienson Qin
baf23961ea add project sandbox init setup 2026-02-28 21:28:28 +08:00
Tienson Qin
6a9bb26483 fix: don't request session when it's not created yet 2026-02-28 20:58:34 +08:00
Tienson Qin
bf1a5e1768 fix: ensure project repo url is loaded before showing chat 2026-02-28 20:53:26 +08:00
Tienson Qin
20c13b32cd terminate sandbox when PR is ready 2026-02-28 20:41:18 +08:00
Tienson Qin
a1cc08c179 enhance: store pr url in property value 2026-02-28 20:05:59 +08:00
Tienson Qin
b8d44aecb5 fix: send full block tree as task description 2026-02-28 00:40:01 +08:00
Tienson Qin
96829c97ad enhance(ux): able to push and pr directly in codex chat 2026-02-28 00:07:14 +08:00
Tienson Qin
c8ecc7d191 GitHub app installation token 2026-02-27 23:39:13 +08:00
Tienson Qin
7b0bd2d07b add milestone for github app installation token 2026-02-27 22:18:06 +08:00
Tienson Qin
ed5da54214 enhance: record whether agent session has been created 2026-02-27 21:35:42 +08:00
Tienson Qin
280d02f142 enhnace(ux): base branch select 2026-02-27 21:05:20 +08:00
Tienson Qin
9737d6b2db remove GITHUB_DEFAULT_BASE_BRANCH variable 2026-02-27 15:09:31 +08:00
Tienson Qin
f853773d32 Merge branch 'master' into feat/sandbox-code-agents 2026-02-27 14:52:15 +08:00
Tienson Qin
b0ba993e0c fix: can't cut-paste blocks to empty target 2026-02-27 14:46:43 +08:00
Tienson Qin
23e83ec8b3 allow custom git branch 2026-02-27 14:36:21 +08:00
Tienson Qin
390bf74e6b friendly git branch 2026-02-27 14:15:43 +08:00
Tienson Qin
3e918fd15d simplify github token env variable 2026-02-27 13:34:17 +08:00
Tienson Qin
939f58411e update new api endpoint 2026-02-27 11:23:28 +08:00
Tienson Qin
9e57add57e use api.logseq.io 2026-02-27 11:22:21 +08:00
Tienson Qin
2bc080d114 refactor: rename deps/db-sync to deps/workers 2026-02-27 11:15:44 +08:00
Tienson Qin
d1141444b6 Separating agents to another worker 2026-02-27 09:34:53 +08:00
Gabriel Horner
8216e1a177 enhance: export-edn exports nested children of text-property values
Should address https://github.com/logseq/db-test/issues/756
2026-02-26 19:28:15 -05:00
Gabriel Horner
5b1bfeed2b fix: db lint
Also silence noisy successful db test which distracts from actual
failing tests
2026-02-26 12:21:56 -05:00
Gabriel Horner
bcacfd39f5 enhance: improve property values schema for build EDN 2026-02-26 12:02:11 -05:00
Gabriel Horner
3e1ab74ac1 chore: reuse block-property-value? helper in build 2026-02-26 11:40:09 -05:00
Tienson Qin
100cc3a8df Add milestone for separating agents from sync 2026-02-26 23:56:49 +08:00
Tienson Qin
477fca1d9f Merge branch 'master' into feat/agents 2026-02-26 22:59:19 +08:00
Tienson Qin
7d268fbd42 fix: lint 2026-02-26 22:57:25 +08:00
Tienson Qin
225cdac8ae disable invocation logs 2026-02-26 22:54:14 +08:00
Tienson Qin
5cb50683a8 fix: sync start now waits for DB worker initialization
before invoking worker APIs
2026-02-26 22:34:07 +08:00
Tienson Qin
ba5e83c045 Updated apply-remote-tx! to keep one-shot batch apply while
preserving correctness.

Changes in sync.cljs (src/main/frontend/worker/sync.cljs):

- Added batch flatten pipeline that:
- remaps per-batch tempids to unique ids,
- preserves tx-id position remapping,
- tracks newly created identities (:block/uuid / :db/ident),
- rewrites cross-batch lookup refs to tempids for :db/add so later adds in
the same merged transact can target newly-created entities.
- apply-remote-tx! batched branch now calls the new flattener once (no doseq
per batch).
- Kept rebase safety in local-changes path (conflict filtering + remote-
duplicate cleanup after sanitize).
- Fixed negative temp-id handling in canonical-entity-id to avoid d/entity
errors.
2026-02-26 21:50:25 +08:00
Tienson Qin
08213ceeb9 test version of non-batch apply-remote-tx 2026-02-26 21:28:27 +08:00
Tienson Qin
dd4b38276a Reveal stale :block/title sync bug in tests 2026-02-26 21:04:02 +08:00
Tienson Qin
e775a8690d Revert "chore: add debug log"
This reverts commit f07f366a0d.
2026-02-26 19:13:23 +08:00
Tienson Qin
f07f366a0d chore: add debug log 2026-02-26 18:42:11 +08:00
Tienson Qin
21bed5acaa fix: startup dedupe guard for db-sync ws connect 2026-02-26 18:23:32 +08:00
Tienson Qin
1df918728b fix: ws latency 2026-02-26 17:42:25 +08:00
Tienson Qin
5f2ec2ff71 fix: no log for sync server 2026-02-26 14:54:42 +08:00
Tienson Qin
cdc1bc1d32 fix: get-bidirectional-properties perf
Root cause:
get-bidirectional-properties was recomputing
bidirectional-property-attr? for every [e a] match, repeatedly calling
d/entity for the same property attr keyword. That made cost scale with
datom count, not unique properties.

Fix:
Added per-call memoization for property-attr bidirectional checks
using a local volatile! cache, so each attr is resolved once per
invocation.
2026-02-26 14:13:31 +08:00
Tienson Qin
2e78d8be40 fix: ci tests 2026-02-26 13:09:00 +08:00