feat(tools): select progress history by UTC date #12767
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12767"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by StoneDC on 2026-10-29T08:39:38Z.
What
Adds inclusive
--since/--untilUTC calendar-day bounds to progress history. Bounds are strictly YYYY-MM-DD and filter existing first-parent daily snapshots before measurement while retaining per-commit cache keys and the default full-history selection.Implementation basis and limits: the existing daily_commits()/collect() contract. Real Git fixtures include two commits on one UTC day and midnight boundaries; measurement calls, cache reuse, selected dates and invalid/inverted bounds are checked. This selects days with existing snapshots and does not invent points for days without commits or make a speed claim.
Integration review: the exact topic head was checked with the repository overlap tool against main
edf6804cf52c62eacafc592dd6142cb4efe5bd05. The tool reported shared CMake registration files in older PRs that already conflict with main: #674, #1835, #3786, #5021, #9508, #9539. Their scoped file diffs were reviewed separately. 5 file comparisons could be projected onto the audit base and then combined with this topic without a new file conflict. 1 peer file changes already conflict with main and are not described as automatically mergeable; their registration changes were inspected directly. These peers do not provide this feature or test matrix. This uses a separate test/registration block and has no functional landing-order dependency. If a shared registration file changes before landing, this branch will need its affected merge and test checks refreshed. All 20 topic commits also merged independently into current validation main4c7d275bef89d309313d16bc2bc05d37a1b50be2; their combined integration2a0489dd307a9c98b9b353ea7282b65809db07ddwas built and tested. Depends on: none; no other candidate branch is required to build or exercise this change.Tested
python tools/tests/test_progress_history.py: 16 cases per platform; suite succeeded with one existing platform-specific skip on each.HistoryDateWindowTestspassed on both platforms with no skips.Topic head:
a441b4933429ac9a0fa306de6377f1cc2d514298, based onf88c86bf6cdd2c74bcdb31e45ba877d4993e62e5. Local platforms: Ubuntu/WSL GCC 15.2, CMake 4.2.3, Python 3.14.4; Windows MinGW GCC 15.2, CMake 4.3.1, Python 3.14.3. Applicable conventions, whitespace, script registration and current-main three-way merge checks passed. Linux full-product builds and subsequent focused library rebuilds were performed; Windows used the full configuration and the affected library/test targets. The combined 11 system-library CTests passed on both platforms. No game or PS5 measurement is claimed; macOS and hosted full-build CI are not reported as passed.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)Imported from boykopovar/AnyPS5. Originally posted by BunnyFl on 2026-11-02T01:50:01Z.
Review: APPROVED
Windows 11, Python 3.14.7. Head
4a310be7abmerged into upstream/main93dbd0f82a:tools/tests/test_progress_history.py: 22 tests OK (2 skipped on this platform).tools/progress_history.py,test_window_filters_days_before_measurement_and_reuses_cacheerrors, so the new test covers the new bounds.check_test_registration.py --scriptspasses, and this merges cleanly together with #12874 and #12879 (all three add rootCMakeLists.txtregistrations).