Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Change: Other Merge Risk:
|
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.
What
agc_screenshot_triggerrunsagc_screenshot_tests trigger. Trigger mode first ran every case of the plainagc_screenshottest (the PNG writes, 32 concurrent writers 20 times, the invalid frames) and only then the trigger cases, so itsTIMEOUT 20also had to cover the whole ofagc_screenshot. On the 4-vCPU Windows 11 VM I test on,agc_screenshotalone takes 20.1 to 23.8 s, soagc_screenshot_triggertimed out in each of 5 runs onmain.With this change, trigger mode runs
requestsMergeandtriggerRequestsonly. The PNG-writing cases still run inagc_screenshot, and the held-open trigger case from boykopovar#20344 still runs in trigger mode on Windows. Nothing writes a screenshot in trigger mode now, so the test creates its temporary root itself beforetriggerRequestsmakes the trigger file in it.Test only; no source change.
Tested
ANYPS5_REQUIRE_VULKAN=1):main9a1d772cf1:agc_screenshot_triggertimed out at 20 s in each of 5 runs. Run directly, outside ctest, trigger mode passed in 22.9 and 22.3 s.6e40dd9ce2(this PR, one commit onmain76d0a4a7dc):agc_screenshotandagc_screenshot_triggerpass in each of 3 runs.agc_screenshot_triggertakes 0.06 to 0.08 s andagc_screenshot20.1 to 22.2 s.6e40dd9ce2: both pass in each of 3 runs. In two further timed runs,agc_screenshot_triggertook under 0.01 s andagc_screenshot0.26 and 0.28 s.agc_screenshotandagc_screenshot_triggerpass in each of 3 runs.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)Summary by CodeRabbit