XPackage: wire XPackageEnumerateChunkAvailability (slot 13 / 0x68) #1930

Closed
github-bot wants to merge 3 commits from gh-pr/1930/head into gh-pr/1930/base
Owner

@⁠ashrafsdrop on GitHub · 2026-11-25 01:08 UTC · original
ashrafsdrop:xpackage/chunk-availability → main · +79 −4 · 1 files · 3 commits · closed without merging

Summary

Wires \XPackageEnumerateChunkAvailability\ into slot 13 (offset \

**@⁠ashrafsdrop** on GitHub · 2026-11-25 01:08 UTC · [original](https://github.com/Marvisak/VIctory/pull/1930) `ashrafsdrop:xpackage/chunk-availability` → `main` · +79 −4 · 1 files · 3 commits · closed without merging ### Summary Wires \XPackageEnumerateChunkAvailability\ into slot 13 (offset \
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:49:07 +00:00
github-bot closed this pull request 2026-11-26 04:49:07 +00:00
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 08:17 UTC · original

Automated triage for the maintainers.

Needs work.

crates/victory-hle/src/modules/xpackage.rs, enumerate_chunk_availability (slot 0x68): the stub returns S_OK and never calls the callback. A caller would read that as "the package has no chunks". On main the slot is missing::<13>, which logs the call and returns E_NOTIMPL, so an unexpected call shows up in the log. Replacing that with a silent success changes runtime behaviour, and the PR gives no evidence for it: the description is cut off after "offset", and nothing shows the title calls this slot or what it expects back. The parameter list (id, selector count, selectors, context, callback) also doesn't match the publicly documented function, which takes a selector type rather than a selector list. To change the verdict:

  • Show that the title calls this slot (call site or log), with the signature it uses.
  • Have the stub report the installed chunks through the callback the way the title expects, or keep missing until that's known.
  • Drop the added register/unregister test: completed_installation_unregisters_progress_immediately on main already covers it.
  • Keep the vtable comment columns aligned as in the rest of the table.

CI: check failing.


Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 08:17 UTC · [original](https://github.com/Marvisak/VIctory/pull/1930#issuecomment-7156847252) <!-- victory-triage v1 head=e462eb1b9b8b33106164edb0e5fc3d5e1d3d0a5e verdict=needs-work at=2026-11-25T08:17:26Z --> Automated triage for the maintainers. **Needs work.** `crates/victory-hle/src/modules/xpackage.rs`, `enumerate_chunk_availability` (slot 0x68): the stub returns `S_OK` and never calls the callback. A caller would read that as "the package has no chunks". On `main` the slot is `missing::<13>`, which logs the call and returns `E_NOTIMPL`, so an unexpected call shows up in the log. Replacing that with a silent success changes runtime behaviour, and the PR gives no evidence for it: the description is cut off after "offset", and nothing shows the title calls this slot or what it expects back. The parameter list (id, selector count, selectors, context, callback) also doesn't match the publicly documented function, which takes a selector type rather than a selector list. To change the verdict: - Show that the title calls this slot (call site or log), with the signature it uses. - Have the stub report the installed chunks through the callback the way the title expects, or keep `missing` until that's known. - Drop the added register/unregister test: `completed_installation_unregisters_progress_immediately` on `main` already covers it. - Keep the vtable comment columns aligned as in the rest of the table. CI: `check` failing. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠ashrafsdrop on GitHub · 2026-11-25 11:05 UTC · original

Closing this pull request in accordance with maintainer feedback. Retaining missing::<13> (E_NOTIMPL) preserves call logging for any title attempting to query chunk availability until trace telemetry confirms the exact interface signature and expected callback data.

**@⁠ashrafsdrop** on GitHub · 2026-11-25 11:05 UTC · [original](https://github.com/Marvisak/VIctory/pull/1930#issuecomment-7160563743) Closing this pull request in accordance with maintainer feedback. Retaining `missing::<13>` (`E_NOTIMPL`) preserves call logging for any title attempting to query chunk availability until trace telemetry confirms the exact interface signature and expected callback data.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/Marvisak--VIctory!1930
No description provided.