From fec12dfc1899edfd16925779d10acb927b5d5254 Mon Sep 17 00:00:00 2001 From: piquel Date: Wed, 4 Nov 2026 11:23:58 +0100 Subject: [PATCH 1/2] chore: mark generated files so GitHub collapses them in diffs Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..9cb91e9cd --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# Generated files, which GitHub collapses in diffs and leaves out of language +# statistics. CI fails while any of them is stale. Linguist already knows +# Cargo.lock and pnpm-lock.yaml. + +# SQLx's query cache, written by `just db prepare`. +crates/database/.sqlx/** linguist-generated +# The SDK test vectors, written by `just sdk-vectors`; the keys and README are not. +tests/sdk-vectors/**/*.json linguist-generated +# The TypeScript SDK's wire types, written by `just sdk-types`. +packages/auth/src/protocol.ts linguist-generated From b4e9e71c2a1bb0db8fab4f44d44aefd836c01256 Mon Sep 17 00:00:00 2001 From: piquel Date: Wed, 4 Nov 2026 11:27:27 +0100 Subject: [PATCH 2/2] chore: say the cache check catches missing or changed queries, not leftovers Co-Authored-By: Claude Opus 5.5 --- .gitattributes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitattributes b/.gitattributes index 9cb91e9cd..771fde337 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,6 +1,6 @@ # Generated files, which GitHub collapses in diffs and leaves out of language -# statistics. CI fails while any of them is stale. Linguist already knows -# Cargo.lock and pnpm-lock.yaml. +# statistics. CI fails while any of them is missing or out of date. Linguist +# already knows Cargo.lock and pnpm-lock.yaml. # SQLx's query cache, written by `just db prepare`. crates/database/.sqlx/** linguist-generated