perf: harden quotas and reduce compression overhead
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
237899745
2026-07-25 23:10:59 +08:00
parent 49189d346b
commit 86da5cf1f5
15 changed files with 464 additions and 210 deletions

View File

@@ -12,6 +12,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
- name: Verify migration line endings
run: |
python3 - <<'PY'
from pathlib import Path
invalid = []
for path in sorted(Path("migrations").glob("*.sql")):
data = path.read_bytes()
if b"\n" in data.replace(b"\r\n", b""):
invalid.append(str(path))
if invalid:
raise SystemExit("migrations must use CRLF: " + ", ".join(invalid))
PY
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with: