Repository navigation
feat(artifacts): read Godot 3 PCK version 1 archives - #7781
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
[Medium impact] The reviewed changes appear safe to merge; no actionable defect was found. SummaryAdds ordinary Godot 3 PCK format-1 reading alongside formats 2–4.
No actionable defect or security issue was established from the reviewed code. Tests were not run during this review. The supersession check could not complete because GitHub access required authentication. Acknowledged by ShuaixinHuang: existing Windows open-file rename failures, the baseline unused-type check failure, no current-head real-engine or Linux/macOS verification, and pending latest-head hosted checks. The historical real-export report was not treated as a rerun of this replacement. Diagram%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Selected source file] --> B[Locate standalone or embedded PCK]
B --> C{PCK format}
C -->|1| D[84-byte header and absolute offsets]
C -->|2–4| E[Existing header and offset rules]
D --> F[Shared directory and byte-range checks]
E --> F
F --> G[Inventory and integrity checks]
G --> H[CLI or MCP inspection]
G --> I[Shared safe extraction]
Reviews (1) · Last reviewed commit: "feat(artifacts): read Godot 3 PCK versio..." · Reviewed by Greptile |
|
Since the description notes the Godot 3.6.3 check was on the old #7063 head and not on this replacement, I reran it on merged
The only project file missing from the output is |
Problem and result
Replaces #7063 at the author's request, on pinned main
18a8e71c. This retains only the original six PCK feature files, removing historical shared CI repairs and unrelated changes.Read ordinary Godot 3 PCK format 1 alongside existing formats 2/3/4. Format 1 has an 84-byte header, no pack/member flags or file-base field, and absolute member offsets even in an embedded carrier. Existing identity, bounds, path, MD5/integrity, cancellation and extraction containment rules remain enforced; zero-offset patch removal records remain unsupported.
The original feature semantics are unchanged. The upstream
readArtifactFileBytesowner is preserved; its predecessor is not restored. No game execution, Godot dependency, new target interaction or package change is introduced.Verification
Windows x64, pinned Node 24.22.1 / npm 11.16.0, fresh locked dependencies and matching verified Windows native 6.8.0 prerequisite:
embedded: false/true): Windows returnsEPERMwhen renaming the open selected file. Restoring all six feature files to exact clean18a8e71creproduces both same failures (28 other base cases unselected); every working file was restored byte-for-byte afterward. No assertion, skip, process or ownership rule was changed. The complete focused command is not green locally.npm run checkstopped at ordinary Knip's unchangedHexRecordRegionMetadataunused type (4/6 tasks complete), also reproduced on clean pinned upstream during this resubmission. fix: remove unused hex record metadata type #7718 addresses that independent issue. The aggregate check is not green.npm run docs:check: six tasks passed, then 9/9 README tests passed.An independent report on original #7063 tested official Godot 3.6.3 Windows exports: a seven-entry pack and another 206 project files extracted byte-identically. This is historical external evidence, not a rerun on this replacement; embedded real exports and other Godot 3 releases were not covered.
The replacement is 6 files, 199 additions / 33 deletions. No real Godot engine or Linux/macOS runtime was run locally in this refresh. Hosted CI must validate this new head independently; old #7063's green checks do not qualify it.
Author readiness
Human owner: @ShuaixinHuang
The human owner explicitly confirmed review and responsibility for this PR and requested formal maintainer review in this session on 2026-10-25.
The existing initial human review and responsibility declaration is retained for this same feature and upstream refresh, with no expanded semantics.
Before merge