Repository navigation
feat(python): add explicit streaming checkpoint provenance - #4640
akshitkhokhani wants to merge 3 commits into
Conversation
42174fc to
f93ffad
Compare
|
Security incident update from the PR author — unauthorized malicious changes Unauthorized malicious code was pushed through my GitHub account into the source repository associated with this PR. This PR is closed. Please do not merge or run the affected original commits. I am sorry for the risk and disruption to the project. What the investigation established The injected files include a hidden VS Code task configured to run on folder opening and a Node payload disguised as The observed account action does not identify the person or credential behind it. The exact initial access method remains unconfirmed. Commit author/committer dates can be preserved or manipulated, so I am using GitHub timeline timestamps below for the public activity log. Public PR activity (UTC)
Affected source files and indicators in this public fork
Observed loader indicators: Payload/loader Git blob identifiers (Git SHA-1, not SHA-256):
The cleanup also removes the payload camouflage files and restores altered ignore/configuration rules where supported by the original parent revision. The source review was static; it does not establish whether automated builds or deployed environments executed affected code. Branch repair activity in
Status snapshot: 2026-11-03T04:15:37+00:00. Repairs are being checked by comparing file contents/Git object hashes and branch references; this is static verification, not a successful test/build claim. Legitimate project changes are retained where separable from the injection. I will update this comment as the remaining verification completes. Limits and maintainer follow-up
|
Related to #4018. This draft adds explicit checkpoint provenance; the default-mode and migration decision remains open.
A cursor saved after rows 0–1 can currently restore against another same-shaped table and return 102–107. Explicit snapshot mode binds the built plan's branch/version, selected input schema, configuration and caller identity, plus a non-secret local filesystem locator where available. Logical-reference mode supports caller-declared immutable data revisions across compaction. Restore validates detached state before changing progress; rank merge validates provenance in either input order and rejects conflicting packed buffers.
Ordinary asserted plans now also record the actual final logical occurrence order. The native builder records source ordinals separately, leaves the original sorter batches and memory reservation unchanged, then correlates final occurrences through bounded temporary streams and external sorts. For the same canonical eligible source scan order, this detects changed native plan output even under the same public seed without hashing compaction-sensitive physical row IDs. Existing custom-plan fingerprints and supported elastic rank/worker changes remain intact.
Design boundaries:
Validation:
(row_id, split_id)pairs and preserved metadata; repeated identity builds agree.