Skip to content

CI check (temporary): upstream main + #2019 + #2486 + clippy fixes - #1

Closed
ea0099 wants to merge 9 commits into
upstream-mainfrom
ci-check
Closed

ea0099 wants to merge 9 commits into
upstream-mainfrom
ci-check

Conversation

@ea0099

@ea0099 ea0099 commented Nov 29, 2026

Copy link
Copy Markdown
Owner

Temporary, to run upstream's CI (clippy -D warnings, diagnostics clippy, tests) on Windows for the three PRs together. Will be closed; not for merging.

101Leafy and others added 9 commits November 29, 2026 01:35
…mpler is in, so clippy -D warnings passes without it
…n unchanged flag, the record test helper's arguments)
…d_steps test, and launcher scripts

- victory-gpu (resource): honor the busy flag returned by descriptor::evict_slots in slot_evict so textures with active slot creation on another thread are skipped (incrementing SLOT_EVICT[6]) instead of being evicted.
- victory-gpu (streamline): use the adapter returned by game_adapter() in highest_shader_model instead of discarding it and re-querying hardware_adapter().
- victory-gpu (card_steps): clear the test page range in late::PAGES via late::forget before running places_written_after_sending_are_learned and fills_done_on_the_cpu_are_learned_too so parallel test runs do not collide on reused heap pages.
- victory-gpu (font): remove unreachable duplicate b'%' arm in the F3 panel bitmap font.
- PLAY_FRAMEGEN.cmd: preserve %errorlevel% before pause in the check branch so failed checks do not exit with 0.
- PLAY_FACES_FIX.cmd: default to Windows powershell and use pwsh only when available instead of failing when PowerShell 7 is not installed.
…r change

`cargo clippy --workspace --all-targets --locked -- -D warnings` (CI gate 1)
has 38 findings on main. trustno1-coder#2019 clears the five in victory-loader and
victory-shader, trustno1-coder#2486 four in victory-gpu (font.rs's second '%', which
clippy reports twice, `busy`, `adapter`). This clears the other 29, so
with the three in, the gate has none.

Written as clippy asks (same behaviour):
- shader_cache.rs: unused `AtomicBool` import
- panel.rs, pipeline/library.rs: `is_multiple_of`
- list.rs: `handles` is already a slice
- resource.rs: `unwrap_or` for a plain `match` on a local
- gameinput.rs (2): `then_some`
- compose.rs: `Composer::record` takes its eight arguments (allowed, as
  elsewhere in the tree)
- streamline.rs: the buffer-count test is a `const` assertion
- lib.rs, lifecycle.rs: the item after the test module moves above it
- Cargo.toml: rust-version 1.89, which the code already needs
  (`File::try_lock` in pipeline/library.rs; the toolchain is 1.98.1)

Unused since the 11.29.01 merge, kept and marked `#[allow(dead_code)]`
with a note, not deleted, so whoever wires them back has them:
Host::fetch_buffer with fetchmem::{sizes, buffer}, take_spare_wb,
flush_all's MANY_CHUNK and its ahead snapshot, Shadow::nothing_new_with
and watch::nothing_new_with, shadow::wide_chunk,
HostHeap::mirror_for_pass, recycle::Kind::Card, memory::lock_memory,
make::Queue::pop, and create_loose_compute with loose_compute,
fspx_container and MAX_LOOSE_PART.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ea0099

ea0099 commented Nov 29, 2026

Copy link
Copy Markdown
Owner Author

Temporary CI check, done: the Clippy gate passed; results are in trustno1-coder#2772.

@ea0099 ea0099 closed this Nov 29, 2026
@ea0099
ea0099 deleted the ci-check branch November 29, 2026 17:08
ea0099 added a commit that referenced this pull request Nov 29, 2026
…ecordings

Two screen recordings with the F3 panel (start-up and the first cutscenes
with FSR 3 frame generation 2x; the prison with frame generation off),
read at 16 points each. Series X, 2560x1440: 13-24 fps, 42-78 ms a frame,
the card busy 41-63 ms of it ("your GPU is fully busy"), video memory
full (12.9 of 13.3 GB) and 0.2-3.9 GB of 31 GB RAM free. Only the numbers
are committed, not the recordings (rule #1).

Also noted: the F3 panel's "DLSS OFF THE TITLE UPSCALES" line shows with
FSR too, since the panel only knows DLSS.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants