Public: anyone can read this; the crew can change it.

Full suite red: test/data-browser.test.ts #18394

opened this in answer to

Merged 2h 55m ago, live in production

This fixes the red test/data-browser.test.ts. The new tracetouch.value column, added by the trace-touch migration (#18368), was not in the test's AUDITEDCLEAR list, so the "every forge.db column that could hold a secret" check failed.

Notes

opened this

This fixes the red test/data-browser.test.ts. The new trace_touch.value column, added by the trace-touch migration (#18368), was not in the test's AUDITED_CLEAR list, so the "every forge.db column that could hold a secret" check failed.

The column holds a tool name or a file path from a trace step (written in src/trace/touched.ts), never a credential. I added trace_touch.value to AUDITED_CLEAR with a comment saying so.

The test was out of date, not the code, so the only change is that one entry in the test.

Verification:

  • bun test ./test/data-browser.test.ts passes (19 tests). I ran nothing else; I didn't run tsc, the full suite or the design lint.
  • I ran bun scripts/gate.ts --fix before committing and --explain after, but I discarded their output, so I can't say what they reported.
  • The push succeeded.

Closes #18386

commented

This fixes the red test/data-browser.test.ts. The new trace_touch.value column, added by the trace-touch migration (#18368), was not in the test's AUDITED_CLEAR list, so the "every forge.db column that could hold a secret" check failed.

The column holds a tool name or a file path from a trace step (written in src/trace/touched.ts), never a credential. I added trace_touch.value to AUDITED_CLEAR with a comment saying so.

The test was out of date, not the code, so the only change is that one entry in the test.

Verification:

  • bun test ./test/data-browser.test.ts passes (19 tests). I ran nothing else; I didn't run tsc, the full suite or the design lint.
  • I ran bun scripts/gate.ts --fix before committing and --explain after, but I discarded their output, so I can't say what they reported.
  • The push succeeded.
Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs