You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cfb8f30
Browse filesBrowse the repository at this point in the historyBrowse files
fix(verify): a passing `os verify` run and a passing starter `pnpm test` no longer print the boot's INFO chatter, the `[Registry] …` lines or warnings about the harness's own secret
7
+
8
+
Clause-②: no
9
+
Metadata-protocol: none
10
+
11
+
On the blank starter a passing `os verify` printed 626 lines before its verdict: 346 INFO records, 263 `[Registry] …` lines and four better-auth warnings that the harness's secret was short and low-entropy. A failing run still prints its failure: a boot that fails prints the kernel's ERROR record naming the plugin, and the error reaches the caller.
12
+
13
+
-**`@objectstack/verify`**: `bootStack` boots at `warn` unless `OS_LOG_LEVEL` (or the legacy `LOG_LEVEL`) names another level, the default `objectstack serve` already uses. The ObjectQL registry's `[Registry] …` lines follow the same level unless `OS_REGISTRY_LOG` is set. To see the whole boot log, run with `OS_LOG_LEVEL=info` or `OS_LOG_LEVEL=debug`. The auth signing secret, when `authSecret` is not passed, is 32 random bytes held in the process's memory for its lifetime, instead of a fixed 25-character string; a restart in the same process over the same database file still accepts the sessions it issued.
14
+
-**`create-objectstack`**: the starter's `vitest.config.ts` no longer sets `OS_REGISTRY_LOG`, because the booted stack is quiet by default; its comment names `OS_LOG_LEVEL=info pnpm test` for the whole boot log.
fix(service-job): a job run's history row records the trigger of the call that ran it, and a replay is one row
6
+
7
+
Clause-②: no
8
+
Metadata-protocol: none
9
+
10
+
`DbJobAdapter` writes one `sys_job_run` row per attempt, and its `trigger` column is documented as `schedule` | `manual` | `replay`. The wrapper that writes the row used to fix that value when the job was scheduled, so every row said `schedule`:
11
+
12
+
- a manual `trigger(name)` was recorded as a scheduled tick (`trigger: 'schedule'`);
13
+
- a `replay(name)` landed two rows for one run: a `replay` row of its own beside the wrapper's `schedule` row.
14
+
15
+
The value is now read per call: a scheduled fire writes `schedule`, `trigger()` writes `manual`, and `replay()` writes one `replay` row per attempt, settled to the run's real status (`success`, `failed`, `timeout` or `degraded`). The handler's context is unchanged: a replayed handler is still told `trigger: 'manual'`, and its `runId` now names the `replay` row, so a replayed sync-in pull names that row on its `sys_sync_run` record.
16
+
17
+
What an operator sees: in `sys_job_run`, manual runs now read `manual`, and a replay is one row instead of two, so run counts read from the table no longer count a replay twice. Rows written before this release keep the values they were written with.
0 commit comments