Repository navigation
Conversation
… is the 95th percentile A scene failing only at a secondary --scales scale, a run with no scene, a stale GL error from an earlier scene, --frames 0, overflowing frame counts and bad --size values no longer pass silently. The all-black check reads the scene's own frame, not the --meta one. The probe reads its start state before its rows change it, the readback busy check fails when no picture arrives, and --post and --readback fail on a GL error.
…keeps crash messages under the socket's limit A failed create_minidump_file was never recorded, so the crash left no report and no notice. A failed dump after a panic is now written into the panic report, the monitor's own trouble goes to crashes/monitor.log, a stale panic report no longer claims a later native crash, a flush waits for room in a full log queue, and crash messages keep their newest lines within 32 KiB. Two racy tests take shared turns; docs that contradicted the code are corrected and two unused accessors removed.
…go-deny's lockfile A timeout killed only the direct child, leaving Xvfb and the app under xvfb-run, or the test binary under cargo, running. A run without the test lane no longer reports an older run's skip log, cargo deny runs with --locked, and a path with an apostrophe is quoted for PowerShell. The docs, CLAUDE.md's command list and the workflow comment now say what the lanes run.
…and fits the canvas to the driver's texture limit Silence no longer allocates every frame, a script uniform of an unsupported size is refused instead of shifting the ones after it, and a picture path written with backslashes is found by its file name. Docs that said the Shadertoy audio texture, cube maps and MEDIA were not in the browser are corrected, and W-01 lists what is left.
…ths is fine (D267)
Contributor
|
Claude finished @lnorton89's task in 16s —— View job Review of PR #153I found nothing to flag in the part I read, but I did not review the whole PR. What I read:
What I did not read: the strobe-web, strobe-diag and strobe-bench changes, and the rest of the xtask changes. I couldn't compute a diff against House rules
Not covered anywhere: |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A line-by-line review of the four crates the earlier pass skipped: strobe-web, strobe-diag, strobe-bench and xtask. Every file was read in full (sources, build scripts, examples, tests, READMEs, Cargo.toml).
Every bug fix comes with a test that failed before the fix and passes after. Each fix was made in two steps: first the code under test was extracted with its old behaviour and the test was run and seen to fail, then the fix was applied and the test was seen to pass. The before and after runs are summarised under each crate. Doc-only corrections have no test.
There are no new decisions. No files were touched in
crates/strobe-conventions,deny.tomlorsite/.strobe-bench
--scalesscale, the run still passed, against D56 (main.rs:396).a_failure_at_another_scale_fails_the_runfloor(n*0.95). That is one rank too high, and equals the max for fewer than 20 samples, so CI's 10-frame runs always showed p95 = max (main.rs:756).p95_is_the_nearest_rank_not_the_maximummain.rs:624,:720).bench_scene, and drained after a scene reports one.an_error_an_earlier_scene_left_does_not_fail_the_next(headless GL)--meta master=0, the all-black "context drew nothing" check failed a context that did draw, because it looked at the meta frame (main.rs:727).meta_that_darkens_the_saved_frame_is_not_a_dead_context--filtertypo, an empty library) passed (main.rs:448).a_run_that_benchmarks_no_scene_fails--warmup + --frameswas added inu32, which panics in debug and wraps in release (main.rs:765).u64.the_frame_count_does_not_overflow--sizeaccepted0x0, negative values and huge values, and errors did not name--size.--post/--sharebuilt aw*h*4buffer before any check (main.rs:566).a_size_must_be_two_positive_edges--scalespart that failed to parse gave a bare "invalid float literal". The empty-list branch could never run (main.rs:498).a_bad_scale_says_which_part--frames 0"passed" with made-up numbers. Two modes at once (--probe --readback) silently ran only the first (main.rs:80,:90).--framestakes 1 or more, and the four modes are an exclusive clap group.zero_frames_and_two_modes_are_refusedprobe.rs:91).the_start_state_is_the_one_the_context_had_before_the_probe(headless GL)readback.rs:303).a_busy_run_where_no_picture_arrives_failsreadback.rs:116).a_gl_error_after_a_check_fails_it(headless GL). Hardening: no error can be provoked inside a check from outside, so the test drives the new check directly.--postcould never fail on a GL error (post.rs:119).--shareand--readbackdo.results.mdwas written, against the comment's promise (main.rs:421).readback::renderallocated aVecon every call, inside timed loops (readback.rs:150).--post/--meta.share.rs:24said "fixed 1920x1080".probe.rssaid rows were ascending (they are now sorted by pixel count).readback.rsclaimed a stall threshold. Thesweep_tabledoc said "smallest" scale.Run before the fixes: 11 of 17 failed. After: 18 of 18 pass.
strobe-diag
minidumpernever calledon_minidump_created.finish()returnedNone, so there was no report and no notice, silently (crash.rs:513).create_minidump_file. The crash still gets its.txtand its notice, saying "minidump NOT WRITTEN".a_dump_file_that_cannot_be_made_is_still_reportedcrash.rs:441).a_dump_that_failed_after_a_panic_is_written_into_its_reportcrash.rs:343).crashes/monitor.log. Documented in DEBUGGING.md.the_monitors_trouble_is_written_to_a_fileminidumperwants them well under 64 KiB, and an oversized one fails or desyncs the stream (crash.rs:819).a_crash_message_keeps_the_newest_parts_within_the_cappanic_hook.rs:65).an_old_panic_report_is_not_claimed_by_a_later_native_crashflush_withingave up at once when the log queue was full, which is the log-storm-then-crash case, so up to 8192 lines were lost (logger.rs:112).a_flush_waits_for_room_in_a_full_queue-
context's hook-swapping test could drop our panic hook mid-install;-
failure's flood could evict whatcrash's test looked for.lib.rs:78).- "a panic inside the hook skips to the previous hook" is false: std aborts.
- notify's "isolated" claim.
-
native.rs's SAFETY note said the handler does no blocking work; it now says the handler allocates and pings.- the README used
args()and skippedset_notifier.- the socket location, the unsafe count, the
Subsystemlist, the dependents, failure.rs's header, the log-pruning note.MonitorHandle::monitor_pidandLogger::filter, with no users.Run before the fixes: 6 of the 76 lib tests failed. After: 76 of 76, plus 7 of 7 pipeline tests.
D7 was measured with the test binary run 360 times, 6 copies at once with
--test-threads 32:a_panic_leaves_a_report…11 times,a_lost_monitor_becomes_one_diagnostics_failureonce);xtask
xvfb-run's Xvfb and app, andcargo test's test binary, kept running (ci.rswait,package.rswait).process::kill_tree(process.rs:26):- Windows:
taskkill /T /F;- elsewhere: reads the tree from
ps, thenSIGKILLs it all.The child is deliberately not moved to its own process group, so Ctrl+C still reaches it.
a_grandchild_is_stopped_with_its_parent,descendants_are_found_at_any_depth_and_nothing_elsetest-skips.logas its own (ci.rs:1211).a_run_without_tests_does_not_report_an_old_skip_logcargo deny checkran without--locked, against ci.rs's own rule. The--lockedtest did not look atdenyordoc(ci.rs:490).cargo deny --locked check.--lockedis cargo-deny's global flag, confirmed in its docs. The test now coversdocanddeny.every_dependency_resolving_cargo_command_is_locked(extended; failed oncargo deny check)C:\Users\O'Brien\…(package.rs:567, the lint lane).ps_quote, which doubles'.an_apostrophe_in_a_path_is_quoted_for_powershell- the Windows cross-check also excludes and separately checks
strobe-forge;- the wasm clippy is
-p strobe-web -p strobe-gfx --no-default-features;- tests run with
--all-features;- the
checklane's prose was incomplete;- the
ci.ymlcomment said the generated lane checks three files, not four.- the README's "skip with a stated reason" (these steps are actually
MISSINGand fail under--strict), its exclude list, the LAN-test note, the tool list andbrand's outputs;- main.rs's "baked in at compile time" and the
cihelp text;- the Cargo.toml description and ci.rs's header;
-
package.rs's "FileVersion" and "nothing else";- the notices' preamble omitted Spout.
pub(crate)but used only in their own module:imports,codeview,pdb_guid,run_diagnose,BUNDLES,add_components.Run before the fixes: 5 of 47 failed. After: 47 of 47.
strobe-web
Vecevery frame, against CLAUDE.md's per-frame rule (sandbox.rs:160).silence_allocates_nothing_per_frame(headless GLES)sandbox.rs:810).min(8192, max_texture_size), presented letterboxed into the canvas.the_canvas_is_fitted_to_the_drivers_texture_limitsandbox.rs:840).canvas_mousemaps it as the app'smouse::to_renderdoes, keeping the click's sign.the_pointer_follows_a_letterboxed_picturesandbox.rs:823, moved out of the wasm-onlyweb.rsso it can be tested natively).a_bad_script_uniform_size_is_refused_not_droppedimages\sky.png) was not found by its file name (sandbox.rs:697).a_picture_is_found_by_its_file_name_whichever_separatorgenerate_stepwith no bound, so a hung job would hang CI.generate_steps.- the README said the Shadertoy audio texture was not in the browser (it is, D577);
- lib.rs's wasm-bindgen output path;
- the notes docs still said cube maps and MEDIA don't load;
-
read_outputwas "the page's thumbnail";- the preset doc omitted the media channel;
- the "allocation-free" reason on
frame's lint expectation;- the header Dependencies lines;
-
extrasJsonis now noted as test and debug only.Run before the fixes: 5 failed (4 in
tests/sandbox.rs, 1 lib). After: 26 of 26 and 1 of 1.Left, and why
All of these are recorded in
docs/IMPLEMENTATION_BACKLOG.md(R-04, R-09, W-01).pings without a timeout, before it asks for the dump. Reordering needs the monitor to keep reading messages after the dump. That is a protocol change to prove on Windows. The SAFETY comment now says this honestly.context::note_passis never called by the renderer. Wiring it is strobe-gfx/strobe-app work, outside these four crates.package-checkandrccompare an older zip against the checkout's scenes, pins and notices. Fixing it needs the files read at the tag, which is a design choice.tracked()returns an empty list when git fails, so the lint lane passes having linted nothing.%TEMP%unpack folders are never deleted. Proving the remove-failure case needs a failing remove, which root in the container cannot produce.strobe_autocontrol::Jobto accept them.site/, which another session owns.contact-sheet, overwrite each other's PNG.--metais parsed per scene rather than once.taskkill /Tin X1.Test plan
Commands run in a Linux cloud container on Mesa llvmpipe, with
STROBE_REQUIRE_HEADLESS_GL=1:cargo fmt --all -- --checkcargo clippy -p strobe-web --all-targets --all-features -- -D warningscargo clippy -p strobe-diag --all-targets --all-features -- -D warningscargo clippy -p strobe-bench --all-targets --all-features -- -D warningscargo clippy -p xtask --all-targets --all-features -- -D warningscargo clippy -p strobe-web -p strobe-gfx --no-default-features --target wasm32-unknown-unknown -- -D warningscargo test -p strobe-webcargo test -p strobe-diagcargo test -p strobe-benchcargo test -p xtaskcargo test -p strobe-conventionsb6bebed.cargo xtask decisions --checkcargo xtask changelog --checkgit rev-parse --is-shallow-repositoryistrue), so it lacks the tags. CI'sgeneratedlane runs it with full history.cargo xtask credits --check: could not run, because this checkout is shallow (the command says so). CI'sgeneratedlane runs it with full history. No dependency or contributor changed.cargo clippy … --target x86_64-pc-windows-msvc): not run, as it cannot run in the cloud container. CI'swindowsjob runs it. The new xtask code usescfg!values only.Not on a real GPU or a real Windows machine: everything ran on Mesa llvmpipe in a Linux container. Nothing here changes a frame. The bench fixes change only verdicts and reports, and strobe-web's only render-size change applies above the driver's texture limit.
Checklist
cargo fmt --all -- --checkpasses-D warningspasses for the four crates, plus the wasm32 build (the whole workspace was not re-run; no other crate changed)cargo testpasses for the four crates and strobe-conventionswindowsjob runs itunwrap/expect/panic!crates/xtask/src/process.rs) carries the header bannerunsafedocs/ROADMAP.mdanddocs/IMPLEMENTATION_BACKLOG.mdupdated; no new decisionsCHANGELOG.mdnot hand-editedGenerated by Claude Code