Repository navigation
fix(atlas-core): read label COUNT(*) as i64 in scan_labels (#16845) - #16848
Merged
developing-today-fleet[bot] merged 1 commit intoNov 29, 2026
Merged
Conversation
rusqlite 0.43 has no FromSql impl for u64; COUNT(*) is a non-negative SQLite integer, so reading i64 and casting to u64 is exact. Unblocks the fleet-static build, which compiles atlas-core against rusqlite 0.43.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
developing-today-fleet
Bot
deleted the
archer/16845-label-migration-u64
branch
November 29, 2026 15:58
This was referenced Nov 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #16845.
scan_labelsreadCOUNT(*)viarow.get::<_, u64>(1), but rusqlite 0.43 implementsFromSqlfor i64 and the smaller ints, not u64 — atlas-core fails to compile (E0277) in the fleet-static build at main 5cf40a1, which blocks the fleet binary refresh (#16577 remainder).COUNT(*) is a non-negative SQLite integer, so reading it as i64 and casting to u64 is exact. One line.
Found and fixed by lane 0922-F (delta PRESS work loop); verification = the fleet-static nix build proceeding past atlas-core, run by the same lane.
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T15:56:47Z", "session_id": null, "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/wt-16845-0922F", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/wt-16845-0922F", "repo": "developing-today/code", "branch": "archer/16845-label-migration-u64", "sha": "9c0016ab3e0951d034fc59e01808840e67d15746" }, "auth_subject": "oc-code-06", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.