Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
if: runner.os == 'Linux' && !cancelled()
- run: bun run typecheck
if: runner.os == 'Linux' && !cancelled()
- run: bun audit
- run: bun run audit
if: runner.os == 'Linux' && !cancelled()
- run: bun run secrets:check
if: runner.os == 'Linux' && !cancelled()
Expand Down
4 changes: 2 additions & 2 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"!dist/bin"
],
"scripts": {
"audit": "bun audit --ignore GHSA-vfj7-8cjw-p6xm",
"build": "bun scripts/build.ts bundle",
"compile": "bun run compile:darwin-x64 && bun run compile:darwin-arm64 && bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:windows-arm64",
"compile:darwin-x64": "bun scripts/build.ts compile bun-darwin-x64",
Expand Down
6 changes: 6 additions & 0 deletions src/techDebt.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { techDebtTest } from "./testing/techDebt.ts";

techDebtTest(
new Date("2026-10-13T20:37:51.000Z"),
"The braces audit exception expired. Check https://github.com/advisories/GHSA-vfj7-8cjw-p6xm for a patched release, update bun.lock, and remove the audit ignore.",
);
13 changes: 13 additions & 0 deletions src/testing/techDebt.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { expect, test } from "bun:test";

export function techDebtTest(expiresAt: Date, message: string): void {
test(`tech debt review deadline: ${expiresAt.toISOString()}`, () => {
const now = Date.now();

if (now >= expiresAt.getTime()) {
console.error(message);
}

expect(now).toBeLessThan(expiresAt.getTime());
});
}
Loading