README: document xcl rpf --full #2586

Open
romeawayfromhome-rgb wants to merge 1 commit from upstream-pr/2596 into main
romeawayfromhome-rgb commented 2026-11-26 01:11:15 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by romeawayfromhome-rgb on 2026-11-26T01:11:15Z.


Documents the xcl rpf --full flag in the README command examples. The CLI help (crates/xcl/src/main.rs) and crates/xcl/src/rpf.rs already implement it: archives larger than 1 GB use a bounded-memory header probe by default, detailed options on such archives require --full, and --full requests the detailed scan. The README rpf example did not mention it.

What is in it

  • README.md: add a comment to the xcl rpf --extract example noting the 1 GB bounded-memory probe default and that --full forces a detailed scan.

Tested

  • Verified against current main: HELP text in crates/xcl/src/main.rs documents --full; crates/xcl/src/rpf.rs parses --full, prints "archive exceeds 1 GB; using bounded-memory probe (pass --full to request a detailed scan)", and requires --full for detailed options on archives over 1 GB.
  • README.md on current main has no --full mention.
  • Not built or tested locally: this is a README-only change prepared from a Linux VM, and XCL builds on Windows only; relying on CI.

Regression run
Not needed: README-only change; no change under crates/xcl/src.

Not tested

  • No Windows build or test run (Linux VM; README-only change).
  • No GPU or title run.

AI use

  • Muse Spark (Muse agent) prepared this change for romeawayfromhome-rgb: verified the flag in the CLI help and rpf source and drafted the README line and this description. No code was changed.
<!-- greyfinch-sync:ivall/xcl:issue:5502084144 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2596). Originally posted by [romeawayfromhome-rgb](https://github.com/romeawayfromhome-rgb) on 2026-11-26T01:11:15Z. --- Documents the `xcl rpf --full` flag in the README command examples. The CLI help (crates/xcl/src/main.rs) and crates/xcl/src/rpf.rs already implement it: archives larger than 1 GB use a bounded-memory header probe by default, detailed options on such archives require `--full`, and `--full` requests the detailed scan. The README rpf example did not mention it. **What is in it** - README.md: add a comment to the `xcl rpf --extract` example noting the 1 GB bounded-memory probe default and that `--full` forces a detailed scan. **Tested** - Verified against current main: HELP text in crates/xcl/src/main.rs documents `--full`; crates/xcl/src/rpf.rs parses `--full`, prints "archive exceeds 1 GB; using bounded-memory probe (pass --full to request a detailed scan)", and requires `--full` for detailed options on archives over 1 GB. - README.md on current main has no `--full` mention. - Not built or tested locally: this is a README-only change prepared from a Linux VM, and XCL builds on Windows only; relying on CI. **Regression run** Not needed: README-only change; no change under crates/xcl/src. **Not tested** - No Windows build or test run (Linux VM; README-only change). - No GPU or title run. **AI use** - Muse Spark (Muse agent) prepared this change for romeawayfromhome-rgb: verified the flag in the CLI help and rpf source and drafted the README line and this description. No code was changed.
DavidM1911 commented 2026-11-26 02:08:19 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by DavidM1911 on 2026-11-26T01:17:36Z.


Verification on RTX 3060 Ti (Windows 11), branch merged with current main:

  • cargo test -p xcl --lib: all passed, 0 failed, 26 ignored.

Thanks!

— Devin

<!-- greyfinch-sync:ivall/xcl:comment:7179628053 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2596#issuecomment-7179628053). Originally posted by [DavidM1911](https://github.com/DavidM1911) on 2026-11-26T01:17:36Z. --- Verification on RTX 3060 Ti (Windows 11), branch merged with current `main`: - `cargo test -p xcl --lib`: all passed, 0 failed, 26 ignored. Thanks! — Devin
luckyteagirl commented 2026-11-26 02:21:35 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by luckyteagirl on 2026-11-26T02:21:35Z.

Review: COMMENTED


The --extract example says archives over 1 GB use the bounded-memory probe, but that probe is only the default when no detailed option is requested. In rpf::run, an archive over 1 GB with --extract and without --full exits with code 2: detailed options on archives larger than 1 GB require --full (crates/xcl/src/rpf.rs:120-125).

Could the comment say add --full for archives over 1 GB, or show --full in the extraction command? That would keep the example usable on large packages. I checked this against PR head 7ecec07aa6c1978aa39107b78f7b8b1bf298154b; no runtime test was needed for this source/documentation mismatch.

AI-assisted review: OpenAI Codex (GPT-6; exact serving variant unavailable).

<!-- greyfinch-sync:ivall/xcl:review:6067712727 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2596#pullrequestreview-6067712727). Originally posted by [luckyteagirl](https://github.com/luckyteagirl) on 2026-11-26T02:21:35Z. **Review:** COMMENTED --- The `--extract` example says archives over 1 GB use the bounded-memory probe, but that probe is only the default when no detailed option is requested. In `rpf::run`, an archive over 1 GB with `--extract` and without `--full` exits with code 2: `detailed options on archives larger than 1 GB require --full` (`crates/xcl/src/rpf.rs:120-125`). Could the comment say `add --full for archives over 1 GB`, or show `--full` in the extraction command? That would keep the example usable on large packages. I checked this against PR head `7ecec07aa6c1978aa39107b78f7b8b1bf298154b`; no runtime test was needed for this source/documentation mismatch. AI-assisted review: OpenAI Codex (GPT-6; exact serving variant unavailable).
github-actions[bot] commented 2026-11-30 08:41:06 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by github-actions[bot] on 2026-11-30T08:41:06Z.


Nothing has happened on this PR for 3 days, so it is marked stale and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto main if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.

<!-- greyfinch-sync:ivall/xcl:comment:7273214717 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2596#issuecomment-7273214717). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-11-30T08:41:06Z. --- Nothing has happened on this PR for 3 days, so it is marked `stale` and will be closed in 4 days. A push or a comment takes the mark off: rebase it onto `main` if it conflicts, and say in one line what it still fixes. If it only waits for a maintainer, a comment saying so is enough.
Foniass commented 2026-12-01 08:26:52 +00:00 (Migrated from github.com)

Imported from ivall/xcl. Originally posted by Foniass on 2026-12-01T08:26:52Z.


Triage (#1607) – head 7ecec07

The note is added to the xcl rpf ... --extract NAME --out folder line of README.md. It says archives over 1 GB use a bounded-memory probe, but rpf::run does not probe in that case: with --extract or --find on an archive over 1 GB and no --full, it prints "detailed options on archives larger than 1 GB require --full" and exits 2. Only a plain listing falls back to the probe.
#3065 puts the correct statement on the same line ("over 1 GB needs --full"). #2570 edits that line too, so these three PRs conflict with each other.
Recommendation: close (bad: the README note describes --extract on large archives wrongly).

AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.

<!-- greyfinch-sync:ivall/xcl:comment:7305329405 --> Imported from [ivall/xcl](https://github.com/xcl-dev/xcl/pull/2596#issuecomment-7305329405). Originally posted by [Foniass](https://github.com/Foniass) on 2026-12-01T08:26:52Z. --- **Triage (#1607)** – head 7ecec07 The note is added to the `xcl rpf ... --extract NAME --out folder` line of README.md. It says archives over 1 GB use a bounded-memory probe, but `rpf::run` does not probe in that case: with `--extract` or `--find` on an archive over 1 GB and no `--full`, it prints "detailed options on archives larger than 1 GB require --full" and exits 2. Only a plain listing falls back to the probe. #3065 puts the correct statement on the same line ("over 1 GB needs --full"). #2570 edits that line too, so these three PRs conflict with each other. Recommendation: close (bad: the README note describes --extract on large archives wrongly). AI review: Claude Code (Claude Opus 5.5), diffs read only, not built or run; not checked by a human.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2596:upstream-pr/2596'
git switch 'upstream-pr/2596'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2596'
git switch 'upstream-pr/2596'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2596'
git switch 'upstream-pr/2596'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2596'
git switch 'main'
git merge --squash 'upstream-pr/2596'
git switch 'main'
git merge --ff-only 'upstream-pr/2596'
git switch 'main'
git merge 'upstream-pr/2596'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
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.

Reference
xcl-dev/xcl!2586
No description provided.