Repository navigation
Prune benchmark comparisons after their last run is cleaned up - #3820
Merged
ashhart merged 2 commits intoNov 19, 2026
Merged
Conversation
Owner
|
Thanks @AIFlowML. The cleanup change reads right: it checks which runs remain before removing a finished comparison, and the storage test fails on main and passes here. Nothing in inference changes. The red Python job is the Web version check (
|
ashhart
force-pushed
the
codex/prune-empty-benchmark-comparisons
branch
from
November 19, 2026 00:12
43b2c1c to
df4edb7
Compare
Owner
|
Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
joshuaswarren
pushed a commit
to joshuaswarren/TensorFold
that referenced
this pull request
Nov 19, 2026
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 this changes
After deleting Bench runs, storage cleanup now checks which runs remain before removing finished comparisons. Two successive cleanups can remove the comparison when the last run goes. Age-filtered cleanup only considers comparisons touched by that pass. A full cleanup request through the API can also remove a previously orphaned comparison when zero Bench runs match.
mainat8cbef9777b9a05dfaff99d5aa9c2ce52fe2b00f8.Checks on this head
43b2c1c142bd23eb713b660e76deef430ee0a55a.pytest -q tests/test_storage.pyhad two expected failures and nine passes on main, then all 11 passed on this head. The public API replay now retains the comparison through the first cleanup and removes it after the second. Planted controls verified preservation of active comparisons and unrelated age-filtered records. An independent SQLite probe also verified write locking and rollback of both deletions.pytest -qpassed 458 tests with one skip and the inherited version assertion tracked by Web stand-in still reports 1.2.4 after native version bumps #3739. On composed commitc435157069b2d38f5dbf753ccc045778845b8461, which includes the independent Check the packaged Web version on native release bumps #3745 fix, both passed 475 tests with one skip.uv build --offline --wheelsucceeded. An isolated install imported the storage module and found the bundled Web page.memcpylink check failed, tracked by macOS native binary links internal memcpy after the device profile reader landed #3760 and fixed in ready Restore libSystem memcpy when reading device profiles #3761.Receipt
N/A. The change removes stale Web storage records outside inference.
Checklist
Igor Lessio - AIFLOW LABS