Skip to content

test(scripts): add invalid-JSON smoke test for append-run-log - #498

Open
pxmpsdev wants to merge 1 commit into
cobusgreyling:mainfrom
pxmpsdev:test/481-append-run-log-test
Open

test(scripts): add invalid-JSON smoke test for append-run-log#498
pxmpsdev wants to merge 1 commit into
cobusgreyling:mainfrom
pxmpsdev:test/481-append-run-log-test

Conversation

@pxmpsdev

Copy link
Copy Markdown
Contributor

Closes #481

Adds scripts/append-run-log.test.mjs (node:test, no deps):

  • Invalid JSON second arg → exit code 1 with a Usage / valid-JSON message
  • Valid minimal JSON entry appends without throwing (temp log file)

Wired into scripts/ci-validate-gates.sh so it runs in the validate gates. No secrets, small change.

Invalid JSON exits 1 with a Usage/valid-JSON message; a valid minimal
entry appends without throwing. Wired into the validate gates so CI
keeps the behavior locked in.
@pxmpsdev
pxmpsdev force-pushed the test/481-append-run-log-test branch from 618b83f to 7b72ca6 Compare August 10, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add invalid-JSON test for append-run-log

1 participant