Merge remote-tracking branch 'origin/main'
# Conflicts: # .pql/changelog/ticket_idmap/2026-06.sql # .pql/changelog/tickets/2026-06.sql
This commit is contained in:
@@ -267,3 +267,4 @@ INSERT INTO ticket_idmap (record_id, ticket_id, created_at, updated_at, deleted_
|
||||
INSERT INTO ticket_idmap (record_id, ticket_id, created_at, updated_at, deleted_at, hash, canonical_version) VALUES ('06FCQZ47MAN835B215GSSMRV8W', 'T-440', '2026-06-15 15:53:05', '2026-06-15 15:53:05', NULL, 'f219bb1a70eb1f49e30975ce8c526051', 2) ON CONFLICT(record_id) DO UPDATE SET ticket_id=excluded.ticket_id, updated_at=excluded.updated_at, deleted_at=excluded.deleted_at, hash=excluded.hash, canonical_version=excluded.canonical_version WHERE excluded.updated_at > ticket_idmap.updated_at OR (excluded.updated_at = ticket_idmap.updated_at AND excluded.hash > ticket_idmap.hash);
|
||||
INSERT INTO ticket_idmap (record_id, ticket_id, created_at, updated_at, deleted_at, hash, canonical_version) VALUES ('06FCZDVPBWGM5NHJ9BNQBVKCD0', 'T-441', '2026-06-16 09:16:07', '2026-06-16 09:16:07', NULL, 'fbabc4fc344b34476b38a186c2f44a16', 2) ON CONFLICT(record_id) DO UPDATE SET ticket_id=excluded.ticket_id, updated_at=excluded.updated_at, deleted_at=excluded.deleted_at, hash=excluded.hash, canonical_version=excluded.canonical_version WHERE excluded.updated_at > ticket_idmap.updated_at OR (excluded.updated_at = ticket_idmap.updated_at AND excluded.hash > ticket_idmap.hash);
|
||||
INSERT INTO ticket_idmap (record_id, ticket_id, created_at, updated_at, deleted_at, hash, canonical_version) VALUES ('06FCZGG38FF8T9ADF945Z0XPMG', 'T-442', '2026-06-16 09:27:39', '2026-06-16 09:27:39', NULL, 'c85d8fd95cd73aec1e83b477612e1131', 2) ON CONFLICT(record_id) DO UPDATE SET ticket_id=excluded.ticket_id, updated_at=excluded.updated_at, deleted_at=excluded.deleted_at, hash=excluded.hash, canonical_version=excluded.canonical_version WHERE excluded.updated_at > ticket_idmap.updated_at OR (excluded.updated_at = ticket_idmap.updated_at AND excluded.hash > ticket_idmap.hash);
|
||||
INSERT INTO ticket_idmap (record_id, ticket_id, created_at, updated_at, deleted_at, hash, canonical_version) VALUES ('06FCRERT7X5WMZSGKQCA6T0VB4', 'T-440', '2026-06-15 17:01:25', '2026-06-15 17:01:25', NULL, 'b8e152bf87ec8d81d1bddeb023f37883', 2) ON CONFLICT(record_id) DO UPDATE SET ticket_id=excluded.ticket_id, updated_at=excluded.updated_at, deleted_at=excluded.deleted_at, hash=excluded.hash, canonical_version=excluded.canonical_version WHERE excluded.updated_at > ticket_idmap.updated_at OR (excluded.updated_at = ticket_idmap.updated_at AND excluded.hash > ticket_idmap.hash);
|
||||
|
||||
@@ -6892,3 +6892,16 @@ the real .clide vs ~/.clide files), gear (collides with "settings"). Note that
|
||||
every Phosphor glyph already renders via PhosphorIconPainter(0xNNNN); only named
|
||||
consts need adding. Preview/picking is blocked on a native glyph card (see the
|
||||
new ticket) — goldens render the font as Ahem boxes.', 'in_progress', 'medium', NULL, NULL, NULL, '2026-06-09 20:24:54', '2026-06-16 10:09:07', NULL, 'ad0504d2e30938d0597029852df3e3aa', 2) ON CONFLICT(record_id) DO UPDATE SET type=excluded.type, parent_record_id=excluded.parent_record_id, title=excluded.title, description=excluded.description, status=excluded.status, priority=excluded.priority, assigned_to=excluded.assigned_to, team=excluded.team, decision_ref=excluded.decision_ref, updated_at=excluded.updated_at, deleted_at=excluded.deleted_at, hash=excluded.hash, canonical_version=excluded.canonical_version WHERE excluded.updated_at > tickets.updated_at OR (excluded.updated_at = tickets.updated_at AND excluded.hash > tickets.hash);
|
||||
INSERT INTO tickets (record_id, type, parent_record_id, title, description, status, priority, assigned_to, team, decision_ref, created_at, updated_at, deleted_at, hash, canonical_version) VALUES ('06FCRERT7X5WMZSGKQCA6T0VB4', 'task', '06FB0TNQM4W194B2421P2SF83R', 'Build + vendor tree-sitter.dll for Windows x64', 'Split from T-25 (cross-OS libtree-sitter build). Narrow, immediately-useful slice: get tree-sitter syntax highlighting working on Windows now, ahead of the full reproducible-CI cross-compile story.
|
||||
|
||||
**Current state (verified 2026-06-15):** The FFI loader already selects ''tree-sitter.dll'' on Windows (lib/kernel/src/syntax/tree_sitter_ffi.dart:261), but NO Windows binary is vendored — git ls-files shows the only tree-sitter artifact in the repo is native/linux-x64/libtree-sitter.so. native/windows-x64/ contains only clide.exe (the CLI client). Result: on Windows the loader hits the null / lastOpenError path and tree-sitter highlighting silently does not load (plain-text fallback). Same gap exists for macOS .dylib, tracked separately under T-25.
|
||||
|
||||
**Scope:** build tree-sitter v0.26.8 (tag v0.26.8, commit cd5b087cd9f45ca6d93ab1954f6b7c8534f324d2 — same pin as the Linux build) for x86_64-windows with TREE_SITTER_FEATURE_WASM=ON and wasmtime statically linked, producing tree-sitter.dll. Vendor it at native/windows-x64/tree-sitter.dll, alongside a native/windows-x64/BUILD.md build record mirroring native/linux-x64/BUILD.md (source repo, version, commit, build command, MSVC/toolchain, wasmtime version + static-link note, exports, SHA-256, binary size). Add/extend the assets/licenses.yaml entry so the Windows artifact + wasmtime are documented (D-42). Ensure the Windows Flutter bundle places the DLL where DynamicLibrary.open finds it (bundle dir / next to clide.exe — loader already probes ''$exe'' and ''$exe/lib'').
|
||||
|
||||
**Acceptance:**
|
||||
- native/windows-x64/tree-sitter.dll committed; SHA-256 recorded in native/windows-x64/BUILD.md.
|
||||
- On Windows, TreeSitterLib.init() succeeds (lastOpenError == null) and a code file renders with tree-sitter highlighting (not plain-text fallback).
|
||||
- licenses.yaml documents the Windows tree-sitter artifact + statically-linked wasmtime.
|
||||
- DLL is included in the make build-windows / Windows bundle output and loads from the bundled path.
|
||||
|
||||
**Out of scope:** CI reproducibility, macOS .dylib cross-compile, and the wasmtime NOTICE-file vendoring — those stay on the T-25 umbrella. This ticket is the hand-built Windows DLL to unblock highlighting locally now. Once T-25''s CI cross-compile lands, the Windows target folds into it.', 'backlog', 'medium', NULL, NULL, NULL, '2026-06-15 17:01:25', '2026-06-15 17:01:25', NULL, '9965c3d1b894e3af420f2e625b46efc4', 2) ON CONFLICT(record_id) DO UPDATE SET type=excluded.type, parent_record_id=excluded.parent_record_id, title=excluded.title, description=excluded.description, status=excluded.status, priority=excluded.priority, assigned_to=excluded.assigned_to, team=excluded.team, decision_ref=excluded.decision_ref, updated_at=excluded.updated_at, deleted_at=excluded.deleted_at, hash=excluded.hash, canonical_version=excluded.canonical_version WHERE excluded.updated_at > tickets.updated_at OR (excluded.updated_at = tickets.updated_at AND excluded.hash > tickets.hash);
|
||||
|
||||
Reference in New Issue
Block a user