Eight of the nineteen roll-up items were safe, self-contained fixes: - dolt: autoResolveConflictsAfterCLIPull pins a single connection and resets @@dolt_allow_commit_conflicts before releasing it (discarding the conn if the reset fails) so the session variable no longer leaks into the pool (item 4) - issueops: mergeAffectedSets propagates context cancellation instead of degrading to a full recompute on a dead context (item 6) - .gitattributes: migration SQL pinned to LF so CRLF checkouts hash identically to release builds (item 8) - schema: remote-migrate gate message warns that re-cloning discards unpushed local work and says how to save it first (item 13) - dberrors: ancestor-PK table extraction regex is now case-insensitive, matching the lowercased detector; add unit tests (item 14) - hygiene lint: flag UUID_SHORT() and migration-time CURRENT_TIMESTAMP (DEFAULT / ON UPDATE attribute positions excluded); run the check on direct pushes to main, not just PRs (item 16) - embeddeddolt: TestSchemaAfterInit asserts dependencies.id has no DEFAULT, proving 0050's prepared DROP DEFAULT applies via dolt sql and settling the 0051-variant premise question (item 17) - doctor dep-keys: failed repairs are counted and summarized as FAILED instead of Fixed, and the Dolt commit stages only the repaired tables instead of -Am sweeping the whole working set (item 19) Remaining items are accepted with dispositions recorded on the issue. Also gofmt cycles.go (left unformatted by the round-3 commit). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
16 lines
843 B
Text
16 lines
843 B
Text
|
|
# Shell scripts must always use LF line endings (especially git hook templates)
|
|
*.sh text eol=lf
|
|
cmd/bd/templates/hooks/* text eol=lf
|
|
|
|
# Embedded markdown templates are shipped data, not user-edited text. Pin LF so
|
|
# Windows checkouts (default core.autocrlf=true) don't bake CRLF into //go:embed
|
|
# bytes, which breaks LF-only marker stripping in templateBody() and produces
|
|
# doubled BEGIN/END BEADS INTEGRATION markers in installed AGENTS.md (#3552).
|
|
internal/templates/agents/defaults/*.md text eol=lf
|
|
|
|
# Migration SQL is embedded into the binary and content-hashed after apply
|
|
# (schema_migrations.content_hash, PR 4270). Pin LF so from-source builds on
|
|
# Windows checkouts (core.autocrlf=true) hash identically to release builds
|
|
# instead of reporting false migration-content skew.
|
|
internal/storage/schema/migrations/**/*.sql text eol=lf
|