Artifact 7b897f3123d594dad43273f4fb98ab1e744c6d1e0b9fc1cf4849f5935d73a55b:
- File
internal/manifest/ticket.go
-
2026-10-19 22:51:58
— part of check-in
[88f824a32b]
on branch fix/ticket-optional-columns
— fix(manifest): honor fossil's optional ticket columns
Port ticket_insert and ticket_rebuild_entry's schema probes from src/tkt.c: the ticket table, tkt_ctime, the ticketchng table, tkt_rid and tkt_user are optional, a change row is written only when it has a field or bookkeeping column to fill, fields stored in both tables are copied from the ticket row, and baseline columns record the assigning rid. Rebuilding fossil's own repository failed on its missing tkt_user. (user: [email protected], size: 16548) [annotate] [blame] [check-ins using]
-
2026-10-20 03:15:49
— part of check-in
[1f46e25556]
on branch main
— fix(manifest): honor fossil's optional ticket columns (#456)
* test(manifest): cover ticket schemas without fossil's optional columns
Fossil treats the ticket table, ticket.tkt_ctime, the ticketchng table, ticketchng.tkt_rid and ticketchng.tkt_user as optional. Each schema here must derive the rows fossil rebuild derives; all fail today.
* fix(manifest): honor fossil's optional ticket columns
Port ticket_insert and ticket_rebuild_entry's schema probes from src/tkt.c: the ticket table, tkt_ctime, the ticketchng table, tkt_rid and tkt_user are optional, a change row is written only when it has a field or bookkeeping column to fill, fields stored in both tables are copied from the ticket row, and baseline columns record the assigning rid. Rebuilding fossil's own repository failed on its missing tkt_user.
* docs(changelog): note optional ticket columns fix
* test(manifest): pin ticket append to an unset field, baselines and shared columns
The corpus now appends to a field no artifact set, to a field with a baseline column, and to a field stored in both tables, so the comparison against fossil rebuild covers each branch of the append path. (user: [email protected], size: 16548) [annotate] [blame] [check-ins using]
- 2026-10-20 18:14:14 — part of check-in [ef382ed65e] on branch perf/tag-repair-batch — Merge main into batch tag repair, preserving unreleased changes (user: [email protected], size: 16548) [annotate] [blame] [check-ins using]
- 2026-10-20 18:14:37 — part of check-in [bc196580e4] on branch fix/verify-leaf-rule — Merge main into fix/verify-leaf-rule (user: [email protected], size: 16548) [annotate] [blame] [check-ins using]
-
2026-10-19 22:51:58
— part of check-in
[88f824a32b]
on branch fix/ticket-optional-columns
— fix(manifest): honor fossil's optional ticket columns