This website requires JavaScript.
Explore
Help
Register
Sign In
references
/
autocraft
Watch
1
Star
0
Fork
0
mirror of
https://github.com/storytold/autocraft.git
synced
2026-11-24 16:31:06 +01:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
4940e4d6abf74fb70d74f976eca9bbc58f5cb77b
autocraft
/
scripts
T
History
aiongg
4940e4d6ab
Postgres engine for the Db handle: PostgresDialect on pg.Pool (pool size per process role, TLS verify-full to remote hosts, statement_timeout startup parameter, node:sqlite value shapes), reads as REPEATABLE READ READ ONLY snapshots, writes as READ COMMITTED under one advisory writer lock with lock_timeout, ? and :name rewritten to $n, query events on both backends; AUTOCRAFT_DB_URL selects Postgres (refused when AUTOCRAFT_DB differs); isLockTimeout/isConflict; scripts/pg-test.sh throwaway Postgres in Docker and pnpm test:pg; scripts/latency-proxy.ts; testDb helper and Postgres behaviour tests
2026-11-21 17:54:05 +00:00
..
loadtest
Load rig runs its Task Runners at nice 15 so the dashboard gets the CPU first, as with runners on users' machines
2026-11-20 04:51:40 +00:00
codemod-async-report.json
Async codemod for the Db interface: awaits database calls and calls of functions that become async to a fixpoint over the program (TypeScript 5 as the ts5 tool dependency), rewrites BEGIN IMMEDIATE/BEGIN blocks into db.write/db.read, array callbacks into sequential helpers (src/async-seq.ts), and the API to Db/Statement, script, inTransaction, for await, connectDb/openDb; reports residue and read-then-write candidates per subsystem (scripts/codemod-async-report.md, from main). test/no-floating-promises.test.ts fails on unawaited promise statements outside test/floating-promises.allow
2026-11-21 16:41:31 +00:00
codemod-async-report.md
Async codemod for the Db interface: awaits database calls and calls of functions that become async to a fixpoint over the program (TypeScript 5 as the ts5 tool dependency), rewrites BEGIN IMMEDIATE/BEGIN blocks into db.write/db.read, array callbacks into sequential helpers (src/async-seq.ts), and the API to Db/Statement, script, inTransaction, for await, connectDb/openDb; reports residue and read-then-write candidates per subsystem (scripts/codemod-async-report.md, from main). test/no-floating-promises.test.ts fails on unawaited promise statements outside test/floating-promises.allow
2026-11-21 16:41:31 +00:00
codemod-async.ts
Async interleaving on one connection: temp-table fill and use in one read snapshot (item_settled, flow_pick); copy-on-write remote queue cache; overlap guards on interval passes (exclusive); GitHub read identity held in memory and refreshed on the settings counter, shared read handle opened once; owner reloads keep the latest load; held claims are not answered empty while a try may be leasing; codemod keeps the item-tools snapshot and the read handle local
2026-11-21 17:28:37 +00:00
fake-claude.mjs
Task Runner autocraft 1.3.0: rename from autocraft-task with a shim at the old path, device login, long-poll claims with protocol 3 fallback, migration of 1.2.0 installs
2026-11-20 02:10:06 +00:00
flowchart-shot.mjs
Add the Now page: health strip, running work and recent events as the home page
2026-11-04 15:02:35 +00:00
gen-docs.ts
Registry: seeded limits, remarks and doc names; literal snapshots
2026-11-03 19:35:05 +00:00
golive-gate.ts
Apply async codemod: node scripts/codemod-async.ts over the program
2026-11-21 17:00:38 +00:00
gql-schema.sh
Validate every GraphQL document against GitHub's schema in tests
2026-11-03 05:52:03 +00:00
latency-proxy.ts
Postgres engine for the Db handle: PostgresDialect on pg.Pool (pool size per process role, TLS verify-full to remote hosts, statement_timeout startup parameter, node:sqlite value shapes), reads as REPEATABLE READ READ ONLY snapshots, writes as READ COMMITTED under one advisory writer lock with lock_timeout, ? and :name rewritten to $n, query events on both backends; AUTOCRAFT_DB_URL selects Postgres (refused when AUTOCRAFT_DB differs); isLockTimeout/isConflict; scripts/pg-test.sh throwaway Postgres in Docker and pnpm test:pg; scripts/latency-proxy.ts; testDb helper and Postgres behaviour tests
2026-11-21 17:54:05 +00:00
pg-test.sh
Postgres engine for the Db handle: PostgresDialect on pg.Pool (pool size per process role, TLS verify-full to remote hosts, statement_timeout startup parameter, node:sqlite value shapes), reads as REPEATABLE READ READ ONLY snapshots, writes as READ COMMITTED under one advisory writer lock with lock_timeout, ? and :name rewritten to $n, query events on both backends; AUTOCRAFT_DB_URL selects Postgres (refused when AUTOCRAFT_DB differs); isLockTimeout/isConflict; scripts/pg-test.sh throwaway Postgres in Docker and pnpm test:pg; scripts/latency-proxy.ts; testDb helper and Postgres behaviour tests
2026-11-21 17:54:05 +00:00
plans-export.ts
Merge branch 'arch-issues' into arch-rewrite
2026-11-04 06:26:04 +00:00
reference-split.mjs
reference-split: skip running headers in the page index
2026-11-03 21:58:56 +00:00
remote-bundle.ts
Merge rs-t2: Task Runner autocraft 1.3.0
2026-11-20 02:11:20 +00:00
remote-claim-bench.ts
Apply async codemod: node scripts/codemod-async.ts over the program
2026-11-21 17:00:38 +00:00
serve-spa.mjs
Add flowchart screenshot script and regenerate the README image
2026-11-03 19:27:26 +00:00