Uh oh!
There was an error while loading. Please reload this page.
fix: begins_with on binary sort keys returns results instead of ISE - #17
Merged
Conversation
The query builder used chr(1114111) (Unicode max codepoint) appended to the prefix for the exclusive upper bound. This only works for TEXT columns — on BYTEA columns it causes a PostgreSQL type error, surfacing as an InternalServerError. Fix: detect binary sort key columns (sk_b) and compute the upper bound in Rust by incrementing the prefix bytes with carry propagation. Bind both prefix and upper bound as separate BYTEA parameters.
LeeroyHannigan added a commit
that referenced
this pull request
Aug 18, 2026
CodeQL (actions/cache-poisoning/poisonable-step) flags writing the default branch's actions cache from a job that checks out a dispatch-resolved SHA. The gate proves that SHA is an ancestor of origin/main, so the checkout is reviewed history, but the cache write is still the one genuine poisoning vector the rule describes, and it buys little on a rare release build that the LTO link dominates. Removed. The remaining alert on the gate job has no cache usage at all and mirrors the two open alerts on release-image.yml (#16, #17): the rule matches any checkout-and-execute of a resolved SHA under workflow_dispatch.
LeeroyHannigan added a commit
that referenced
this pull request
Aug 19, 2026
CodeQL (actions/cache-poisoning/poisonable-step) flags writing the default branch's actions cache from a job that checks out a dispatch-resolved SHA. The gate proves that SHA is an ancestor of origin/main, so the checkout is reviewed history, but the cache write is still the one genuine poisoning vector the rule describes, and it buys little on a rare release build that the LTO link dominates. Removed. The remaining alert on the gate job has no cache usage at all and mirrors the two open alerts on release-image.yml (#16, #17): the rule matches any checkout-and-execute of a resolved SHA under workflow_dispatch.
rlunar pushed a commit
to rlunar/extenddb
that referenced
this pull request
Aug 20, 2026
CodeQL (actions/cache-poisoning/poisonable-step) flags writing the default branch's actions cache from a job that checks out a dispatch-resolved SHA. The gate proves that SHA is an ancestor of origin/main, so the checkout is reviewed history, but the cache write is still the one genuine poisoning vector the rule describes, and it buys little on a rare release build that the LTO link dominates. Removed. The remaining alert on the gate job has no cache usage at all and mirrors the two open alerts on release-image.yml (ExtendDB#16, ExtendDB#17): the rule matches any checkout-and-execute of a resolved SHA under workflow_dispatch.
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 freeto 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.
The query builder used chr(1114111) (Unicode max codepoint) appended to the prefix for the exclusive upper bound. This only works for TEXT columns, on BYTEA columns it causes a PostgreSQL type error, surfacing as an InternalServerError.
Fix: detect binary sort key columns (sk_b) and compute the upper bound in Rust by incrementing the prefix bytes with carry propagation. Bind both prefix and upper bound as separate BYTEA parameters.