check / check (push) Successful in 4m30s
Vendor .golangci.yml byte-identical from sneak/prompts at cc440118 and move the Dockerfile lint phase to golangci-lint v2.14.0 by the digest REPO_POLICIES.md names. Fix the code to that config with flags, help text, output files, SQL and the order of steps unchanged; long functions are split into named steps. Judgement call: the extraction transaction is now rolled back on every early return; the old deferred rollback missed most failures and could dereference a nil transaction. Wording change: the reversed-range error reads "--from is after --to (--from X, --to Y)", since err113 requires a wrapped sentinel. Ten //nolint directives (gosec, mnd, unqueryvet), each with its reason. Model: opus-5-5
1.9 KiB
1.9 KiB
Workflow
- branch (from
main) - do the work in Next Step
- move Next Step to the top of Completed Steps
- move the top item of Future Steps into Next Step
- commit (
TODO.mdchanges in the same commit as the work) - merge to
mainif the branch is not protected, otherwise open a PR - push
Status
pre-1.0
Next Step
Format Markdown with prettier in script/fmt and script/fmt-check
(#7).
Completed Steps
- 2026-10-06: Added the canonical
.golangci.yml, moved the lint phase to golangci-lint v2.14.0, and fixed the code to pass it (#6). - 2026-10-05: Brought the repo up to the standard layout: canonical
.gitignore,.dockerignoreand.editorconfig;lintandtestphases in theDockerfile, built byscript/lintandscript/test; canonicalscript/cibuild,script/dockerand CI workflow; no linter installed on the host; re-vendoredREPO_POLICIES.md. - 2026-07-07 Adopted scripts-to-rule-them-all:
script/entrypoints, Makefile shims, README Entrypoints section - 2026-06-28: Fixed errcheck lint failures; added compilation smoke test; tidied go.mod.
- 2026-06-28: Added repo scaffolding: README, LICENSE, Makefile, Dockerfile, REPO_POLICIES.md, and Gitea CI.
- 2026-02-12: Fixed SQLite database locking by removing parallel processing; fixed Linux build via golang.org/x/sys/unix Fadvise.
- 2026-02-12: Optimized file copy for large databases; moved temp directory to NVMe scratch storage.
- 2026-02-11: Added date range support.
- 2026-02-09: Initial implementation: single-day extraction, specific-date targeting, faster pruning of throwaway database copies.
Future Steps
- Expand tests beyond the compilation smoke test: unit tests for the extraction, verification, and atomic-publish paths.
- Cut a first SemVer release once compliance and test coverage land.