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
Smaller dev-loop gaps: OpenAPI check command, local signal sink, find user by email, one error envelope #917
Found by the #841 trial (#909). All four are low priority.
No user-facing OpenAPI validation. The export is validated only by a repository test against the vendored schema. A site needed a third-party validator. Expected: urlcode openapi --check, or a documented recommended validator.
Signals can't be checked locally. Delivery can't be asserted or captured in local tests; urlcode test --verbose logs signal outcome: failed for a placeholder hook. Expected: a test-mode signal sink or a fixture assertion.
No way to look up a user's id by email.urlcode-store members add --principal <id> needs the Better Auth user id. urlcode-auth has only migrate and create-user, so for self-registered users the operator has to query SQLite. Expected: urlcode-auth find-user --email, or members add accepting an email when auth is installed.
Two error envelopes. A body-schema 422 is {"error":"body_validation_failed","message","issues"}, but store errors are {"error":{"code","message","issues"}}, so a frontend needs two parsers. Unverified: whether errors.format: json aligns them.
Items 1, 3 and 4 are in #921. Options for item 2 (checking signals locally):
(a)urlcode test swaps the egress broker for an in-process recorder, and fixtures assert expect.signals: [{event, count, payload-shape}]. Nothing is delivered in tests.
(b)urlcode dev --signal-sink stdout|<file.jsonl> records each would-be delivery as a JSON event, with outcome captured.
(c) Document an operator grant to a local HTTP receiver. This needs a loopback egress exception, which cuts against the egress rules.
Recommended: (a) and (b) sharing one recorder, with never any real delivery in test mode.
Activity
jimhoyd commentedon Sep 29, 2026
Items 1, 3 and 4 are in #921. Options for item 2 (checking signals locally):
urlcode testswaps the egress broker for an in-process recorder, and fixtures assertexpect.signals: [{event, count, payload-shape}]. Nothing is delivered in tests.urlcode dev --signal-sink stdout|<file.jsonl>records each would-be delivery as a JSON event, with outcomecaptured.Recommended: (a) and (b) sharing one recorder, with never any real delivery in test mode.
Trial fixes: init --with names version skew, pinned shipped README li…
jimhoyd commentedon Sep 29, 2026
Items 1, 3 and 4 landed in #921. Item 2 (local signal recorder, options (a)+(b)) is in progress.
feat(core): record signals in test/audit and assert them with expectS…