@supacloud/lite 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.3](https://github.com/zuohuadong/supacloud/compare/supacloud-lite-v0.5.2...supacloud-lite-v0.5.3) (2026-08-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * **lite:** drain active background services before shutdown ([af0546d](https://github.com/zuohuadong/supacloud/commit/af0546d8b9cd15b21d61c8d953f9deed27dc9bff))
9
+
3
10
  ## [0.5.2](https://github.com/zuohuadong/supacloud/compare/supacloud-lite-v0.5.1...supacloud-lite-v0.5.2) (2026-07-30)
4
11
 
5
12
 
package/dist/cli.js CHANGED
@@ -8,7 +8,7 @@ import { dirname as dirname5, join as join9, resolve as resolve4 } from "path";
8
8
  // package.json
9
9
  var package_default = {
10
10
  name: "@supacloud/lite",
11
- version: "0.5.2",
11
+ version: "0.5.3",
12
12
  description: "Bun-native, single-project Supabase-compatible backend powered by PGlite",
13
13
  type: "module",
14
14
  license: "Apache-2.0",
@@ -6950,7 +6950,6 @@ class NetService {
6950
6950
  tickMs;
6951
6951
  onDeliver;
6952
6952
  timer = null;
6953
- draining = false;
6954
6953
  inFlight = null;
6955
6954
  constructor(db, fetchImpl = fetch, tickMs = 500, onDeliver) {
6956
6955
  this.db = db;
@@ -6961,9 +6960,7 @@ class NetService {
6961
6960
  start() {
6962
6961
  if (this.timer)
6963
6962
  return;
6964
- this.timer = setInterval(() => {
6965
- this.inFlight = this.tick();
6966
- }, this.tickMs);
6963
+ this.timer = setInterval(() => void this.tick(), this.tickMs);
6967
6964
  if (typeof this.timer === "object" && "unref" in this.timer)
6968
6965
  this.timer.unref();
6969
6966
  }
@@ -6974,28 +6971,31 @@ class NetService {
6974
6971
  await this.inFlight?.catch(() => {});
6975
6972
  this.inFlight = null;
6976
6973
  }
6977
- async tick() {
6978
- if (this.draining)
6979
- return;
6980
- this.draining = true;
6974
+ tick() {
6975
+ if (this.inFlight)
6976
+ return this.inFlight;
6977
+ const inFlight = Promise.resolve().then(() => this.drainQueue()).finally(() => {
6978
+ if (this.inFlight === inFlight)
6979
+ this.inFlight = null;
6980
+ });
6981
+ this.inFlight = inFlight;
6982
+ return inFlight;
6983
+ }
6984
+ async drainQueue() {
6985
+ let rows;
6981
6986
  try {
6982
- let rows;
6987
+ rows = (await this.db.query(`select id, method, url, headers, body, timeout_milliseconds from net.http_request_queue order by id limit 20`)).rows;
6988
+ } catch {
6989
+ return;
6990
+ }
6991
+ for (const row of rows) {
6983
6992
  try {
6984
- rows = (await this.db.query(`select id, method, url, headers, body, timeout_milliseconds from net.http_request_queue order by id limit 20`)).rows;
6985
- } catch {
6986
- return;
6987
- }
6988
- for (const row of rows) {
6989
- try {
6990
- await this.deliver(row);
6991
- } catch (e) {
6992
- const msg = e instanceof Error ? e.message : String(e);
6993
- await this.record(row.id, null, null, null, null, false, msg);
6994
- this.onDeliver?.({ id: row.id, method: row.method, url: row.url, timedOut: false, error: msg });
6995
- }
6993
+ await this.deliver(row);
6994
+ } catch (e) {
6995
+ const msg = e instanceof Error ? e.message : String(e);
6996
+ await this.record(row.id, null, null, null, null, false, msg);
6997
+ this.onDeliver?.({ id: row.id, method: row.method, url: row.url, timedOut: false, error: msg });
6996
6998
  }
6997
- } finally {
6998
- this.draining = false;
6999
6999
  }
7000
7000
  }
7001
7001
  async deliver(row) {
@@ -7175,9 +7175,7 @@ class CronService {
7175
7175
  start() {
7176
7176
  if (this.timer)
7177
7177
  return;
7178
- this.timer = setInterval(() => {
7179
- this.inFlight = this.tick();
7180
- }, this.tickMs);
7178
+ this.timer = setInterval(() => void this.tick(), this.tickMs);
7181
7179
  if (typeof this.timer === "object" && "unref" in this.timer)
7182
7180
  this.timer.unref();
7183
7181
  }
@@ -7188,7 +7186,17 @@ class CronService {
7188
7186
  await this.inFlight?.catch(() => {});
7189
7187
  this.inFlight = null;
7190
7188
  }
7191
- async tick() {
7189
+ tick() {
7190
+ if (this.inFlight)
7191
+ return this.inFlight;
7192
+ const inFlight = Promise.resolve().then(() => this.runTick()).finally(() => {
7193
+ if (this.inFlight === inFlight)
7194
+ this.inFlight = null;
7195
+ });
7196
+ this.inFlight = inFlight;
7197
+ return inFlight;
7198
+ }
7199
+ async runTick() {
7192
7200
  let jobs;
7193
7201
  try {
7194
7202
  jobs = (await this.db.query(`select jobid, schedule, command, jobname, active from cron.job where active`)).rows;
@@ -7293,7 +7301,7 @@ class RetentionService {
7293
7301
  db;
7294
7302
  now;
7295
7303
  timer = null;
7296
- inFlight = Promise.resolve();
7304
+ inFlight = null;
7297
7305
  intervalMs;
7298
7306
  auditLogDays;
7299
7307
  refreshTokenDays;
@@ -7307,10 +7315,8 @@ class RetentionService {
7307
7315
  start() {
7308
7316
  if (this.timer)
7309
7317
  return;
7310
- this.inFlight = this.sweep();
7311
- this.timer = setInterval(() => {
7312
- this.inFlight = this.sweep();
7313
- }, this.intervalMs);
7318
+ this.sweep();
7319
+ this.timer = setInterval(() => void this.sweep(), this.intervalMs);
7314
7320
  if (typeof this.timer === "object" && "unref" in this.timer)
7315
7321
  this.timer.unref();
7316
7322
  }
@@ -7318,9 +7324,19 @@ class RetentionService {
7318
7324
  if (this.timer)
7319
7325
  clearInterval(this.timer);
7320
7326
  this.timer = null;
7321
- await this.inFlight.catch(() => {});
7327
+ await this.inFlight?.catch(() => {});
7328
+ }
7329
+ sweep() {
7330
+ if (this.inFlight)
7331
+ return this.inFlight;
7332
+ const inFlight = Promise.resolve().then(() => this.runSweep()).finally(() => {
7333
+ if (this.inFlight === inFlight)
7334
+ this.inFlight = null;
7335
+ });
7336
+ this.inFlight = inFlight;
7337
+ return inFlight;
7322
7338
  }
7323
- async sweep() {
7339
+ async runSweep() {
7324
7340
  const now = this.now();
7325
7341
  await this.run(`delete from auth.one_time_tokens where expires_at < now()`);
7326
7342
  await this.run(`delete from auth.mfa_challenges where expires_at < now()`);
package/dist/index.js CHANGED
@@ -71,7 +71,7 @@ function randomToken(bytes = 32) {
71
71
  // package.json
72
72
  var package_default = {
73
73
  name: "@supacloud/lite",
74
- version: "0.5.2",
74
+ version: "0.5.3",
75
75
  description: "Bun-native, single-project Supabase-compatible backend powered by PGlite",
76
76
  type: "module",
77
77
  license: "Apache-2.0",
@@ -6955,7 +6955,6 @@ class NetService {
6955
6955
  tickMs;
6956
6956
  onDeliver;
6957
6957
  timer = null;
6958
- draining = false;
6959
6958
  inFlight = null;
6960
6959
  constructor(db, fetchImpl = fetch, tickMs = 500, onDeliver) {
6961
6960
  this.db = db;
@@ -6966,9 +6965,7 @@ class NetService {
6966
6965
  start() {
6967
6966
  if (this.timer)
6968
6967
  return;
6969
- this.timer = setInterval(() => {
6970
- this.inFlight = this.tick();
6971
- }, this.tickMs);
6968
+ this.timer = setInterval(() => void this.tick(), this.tickMs);
6972
6969
  if (typeof this.timer === "object" && "unref" in this.timer)
6973
6970
  this.timer.unref();
6974
6971
  }
@@ -6979,28 +6976,31 @@ class NetService {
6979
6976
  await this.inFlight?.catch(() => {});
6980
6977
  this.inFlight = null;
6981
6978
  }
6982
- async tick() {
6983
- if (this.draining)
6984
- return;
6985
- this.draining = true;
6979
+ tick() {
6980
+ if (this.inFlight)
6981
+ return this.inFlight;
6982
+ const inFlight = Promise.resolve().then(() => this.drainQueue()).finally(() => {
6983
+ if (this.inFlight === inFlight)
6984
+ this.inFlight = null;
6985
+ });
6986
+ this.inFlight = inFlight;
6987
+ return inFlight;
6988
+ }
6989
+ async drainQueue() {
6990
+ let rows;
6986
6991
  try {
6987
- let rows;
6992
+ rows = (await this.db.query(`select id, method, url, headers, body, timeout_milliseconds from net.http_request_queue order by id limit 20`)).rows;
6993
+ } catch {
6994
+ return;
6995
+ }
6996
+ for (const row of rows) {
6988
6997
  try {
6989
- rows = (await this.db.query(`select id, method, url, headers, body, timeout_milliseconds from net.http_request_queue order by id limit 20`)).rows;
6990
- } catch {
6991
- return;
6992
- }
6993
- for (const row of rows) {
6994
- try {
6995
- await this.deliver(row);
6996
- } catch (e) {
6997
- const msg = e instanceof Error ? e.message : String(e);
6998
- await this.record(row.id, null, null, null, null, false, msg);
6999
- this.onDeliver?.({ id: row.id, method: row.method, url: row.url, timedOut: false, error: msg });
7000
- }
6998
+ await this.deliver(row);
6999
+ } catch (e) {
7000
+ const msg = e instanceof Error ? e.message : String(e);
7001
+ await this.record(row.id, null, null, null, null, false, msg);
7002
+ this.onDeliver?.({ id: row.id, method: row.method, url: row.url, timedOut: false, error: msg });
7001
7003
  }
7002
- } finally {
7003
- this.draining = false;
7004
7004
  }
7005
7005
  }
7006
7006
  async deliver(row) {
@@ -7180,9 +7180,7 @@ class CronService {
7180
7180
  start() {
7181
7181
  if (this.timer)
7182
7182
  return;
7183
- this.timer = setInterval(() => {
7184
- this.inFlight = this.tick();
7185
- }, this.tickMs);
7183
+ this.timer = setInterval(() => void this.tick(), this.tickMs);
7186
7184
  if (typeof this.timer === "object" && "unref" in this.timer)
7187
7185
  this.timer.unref();
7188
7186
  }
@@ -7193,7 +7191,17 @@ class CronService {
7193
7191
  await this.inFlight?.catch(() => {});
7194
7192
  this.inFlight = null;
7195
7193
  }
7196
- async tick() {
7194
+ tick() {
7195
+ if (this.inFlight)
7196
+ return this.inFlight;
7197
+ const inFlight = Promise.resolve().then(() => this.runTick()).finally(() => {
7198
+ if (this.inFlight === inFlight)
7199
+ this.inFlight = null;
7200
+ });
7201
+ this.inFlight = inFlight;
7202
+ return inFlight;
7203
+ }
7204
+ async runTick() {
7197
7205
  let jobs;
7198
7206
  try {
7199
7207
  jobs = (await this.db.query(`select jobid, schedule, command, jobname, active from cron.job where active`)).rows;
@@ -7298,7 +7306,7 @@ class RetentionService {
7298
7306
  db;
7299
7307
  now;
7300
7308
  timer = null;
7301
- inFlight = Promise.resolve();
7309
+ inFlight = null;
7302
7310
  intervalMs;
7303
7311
  auditLogDays;
7304
7312
  refreshTokenDays;
@@ -7312,10 +7320,8 @@ class RetentionService {
7312
7320
  start() {
7313
7321
  if (this.timer)
7314
7322
  return;
7315
- this.inFlight = this.sweep();
7316
- this.timer = setInterval(() => {
7317
- this.inFlight = this.sweep();
7318
- }, this.intervalMs);
7323
+ this.sweep();
7324
+ this.timer = setInterval(() => void this.sweep(), this.intervalMs);
7319
7325
  if (typeof this.timer === "object" && "unref" in this.timer)
7320
7326
  this.timer.unref();
7321
7327
  }
@@ -7323,9 +7329,19 @@ class RetentionService {
7323
7329
  if (this.timer)
7324
7330
  clearInterval(this.timer);
7325
7331
  this.timer = null;
7326
- await this.inFlight.catch(() => {});
7332
+ await this.inFlight?.catch(() => {});
7333
+ }
7334
+ sweep() {
7335
+ if (this.inFlight)
7336
+ return this.inFlight;
7337
+ const inFlight = Promise.resolve().then(() => this.runSweep()).finally(() => {
7338
+ if (this.inFlight === inFlight)
7339
+ this.inFlight = null;
7340
+ });
7341
+ this.inFlight = inFlight;
7342
+ return inFlight;
7327
7343
  }
7328
- async sweep() {
7344
+ async runSweep() {
7329
7345
  const now = this.now();
7330
7346
  await this.run(`delete from auth.one_time_tokens where expires_at < now()`);
7331
7347
  await this.run(`delete from auth.mfa_challenges where expires_at < now()`);
@@ -35,6 +35,7 @@ export declare class CronService {
35
35
  stop(): Promise<void>;
36
36
  /** Run any due jobs once (also callable directly in tests). */
37
37
  tick(): Promise<void>;
38
+ private runTick;
38
39
  private isDue;
39
40
  private run;
40
41
  private log;
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/vendor/tinbase/cron/service.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAUjD;;;;GAIG;AACH,qBAAa,WAAW;IAQpB,OAAO,CAAC,EAAE;IACV,kFAAkF;IAClF,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,GAAG;IAVb,OAAO,CAAC,KAAK,CAA8C;IAC3D,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AYH,GAAG;CAWlB;AAED;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,GAAG,OAAO,CAe7D"}
@@ -49,7 +49,6 @@ export declare class NetService {
49
49
  private tickMs;
50
50
  private onDeliver?;
51
51
  private timer;
52
- private draining;
53
52
  /** The in-flight tick, tracked so stop() can drain it before db.close(). */
54
53
  private inFlight;
55
54
  constructor(db: Database, fetchImpl?: typeof fetch,
@@ -65,6 +64,7 @@ export declare class NetService {
65
64
  stop(): Promise<void>;
66
65
  /** Drain any queued requests once (also callable directly in tests). */
67
66
  tick(): Promise<void>;
67
+ private drainQueue;
68
68
  private deliver;
69
69
  /** Record the response and remove the request from the queue (best-effort). */
70
70
  private record;
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/vendor/tinbase/net/service.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAQjD;;;;;;;;GAQG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAmB9D;AAqBD;;;;;;GAMG;AACH,wBAAsB,YAAY,CAAC,SAAS,EAAE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,WAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAWlH;AAWD,mFAAmF;AACnF,MAAM,WAAW,WAAW;IAC1B,oCAAoC;IACpC,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,MAAM,CAAA;IACd,GAAG,EAAE,MAAM,CAAA;IACX,wEAAwE;IACxE,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,iDAAiD;IACjD,QAAQ,EAAE,OAAO,CAAA;IACjB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,qBAAa,UAAU;IAOnB,OAA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;IACjB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAA;CACf;AAED;;;;GAIG;AACH,qBAAa,UAAU;IAMnB,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,SAAS;IACjB,wCAAwC;IACxC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,SAAS,CAAC;IATpB,OAAO,CAAC,KAAK,CAA8C;IAC3D,4EAA4E;IAC5E,OAAO,CAAC,QAAQ,CAA6B;gBAGnC,EAAE,EAAE,QAAQ,EACZ,SAAS,GAAE,OAAO,KAAa;IACvC,wCAAwC;IAChC,MAAM,SAAM,EACZ,SAAS,CAAC,GAAE,CAAC,CAAC,EAAE,WAAW,KAAK,IAAI,aAAA;IAG9C,+EAA+E;IAC/E,KAAK,IAAI,IAAI;IAMb;;;;OAIG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAO3B,wEAAwE;IACxE,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;YAWP,UAAU;YAwBV,OAAO;IA6CrB,+EAA+E;YACjE,MAAM;CAoBrB"}
@@ -36,6 +36,7 @@ export declare class RetentionService {
36
36
  stop(): Promise<void>;
37
37
  /** Run a single retention pass (also callable directly in tests). */
38
38
  sweep(): Promise<void>;
39
+ private runSweep;
39
40
  private run;
40
41
  }
41
42
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../../../src/vendor/tinbase/retention/service.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAEjD,qFAAqF;AACrF,MAAM,WAAW,eAAe;IAC9B,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,yFAAyF;IACzF,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,8FAA8F;IAC9F,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B;AAID,wFAAwF;AACxF,qBAA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AAG,GAAE,MAAM,IAAuB;IAO5C,qFAAqF;IACrF,KAAK,IAAI,IAAI;IAOb;;;OAGG;IACG,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAM3B,qEAAqE;IACrE,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAWR,QAAQ;YAgBR,GAAG;CAOlB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supacloud/lite",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Bun-native, single-project Supabase-compatible backend powered by PGlite",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",