Skip to content

feat(fspy,vt): propagate structured TrackingIncomplete reason to summary - #1054

Merged
wan9chi merged 1 commit into
fspy-loss/4-typed-ipc-channelfrom
fspy-loss/5-tracking-incomplete-reason
Dec 2, 2026
Merged

wan9chi merged 1 commit into
fspy-loss/4-typed-ipc-channelfrom
fspy-loss/5-tracking-incomplete-reason

Conversation

@wan9chi

@wan9chi wan9chi commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Motivation

When automatic file-access tracking could not record everything a task did, fspy::TrackingIncomplete discarded the underlying reason and vp run always printed a generic "Not cached" message, leaving users unable to tell whether the tracking channel ran out of capacity or a traced process explicitly opted out of tracking.

Changes

  • Turn fspy::TrackingIncomplete into an enum distinguishing ChannelCapacityExceeded and Reported from AccessCloseError.
  • Carry TrackingIncomplete through vt's CacheNotUpdatedReason::TrackingIncomplete and SavedCacheNotUpdatedReason::TrackingIncomplete(SavedError) into the formatted task summary.
  • Update the fspy_shm_capacity e2e snapshot, summary unit tests, and CHANGELOG.md.

Stack created with GitHub Stacks CLI • Give Feedback 💬

@wan9chi
wan9chi added this pull request to stack #1057 December 2, 2026 10:19
Preserve the channel close reason through fspy::TrackingIncomplete into
vt's CacheNotUpdatedReason and SavedCacheNotUpdatedReason::TrackingIncomplete
(using SavedError) so users see why automatic file tracking was incomplete.

Co-authored-by: Gemini 4 Neon <noreply@google.com>
@wan9chi
wan9chi force-pushed the fspy-loss/5-tracking-incomplete-reason branch from 326f999 to c6862a5 Compare December 2, 2026 10:20
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown

fspy benchmark

linux

dynamic/launch             change  +0.28%  [ -5.01% ..  +4.99%]  overhead   +60.03%
dynamic/access             change  +0.82%  [ -6.51% ..  +7.25%]  overhead   +26.74%
dynamic/access-relative    change  +0.53%  [ -5.60% ..  +3.21%]  overhead   +71.40%
dynamic/access-contended   change  +2.14%  [ -4.37% .. +10.79%]  overhead   +11.37%
static/launch              change  +1.48%  [ -3.58% ..  +6.68%]  overhead  +190.66%
static/access              change  +0.26%  [ -1.07% ..  +2.12%]  overhead +1462.39%
static/access-relative     change  +0.45%  [ -1.17% ..  +1.65%]  overhead +1960.79%
static/access-contended    change  -0.47%  [ -1.23% ..  +1.73%]  overhead +2283.61%

macos

dynamic/launch             change  -0.08%  [ -2.71% ..  +2.48%]  overhead  +231.70%
dynamic/access             change  +0.01%  [ -3.45% ..  +3.47%]  overhead    +6.85%
dynamic/access-relative    change  -0.33%  [ -1.42% ..  +1.64%]  overhead  +257.27%
dynamic/access-contended   change  +0.09%  [ -0.93% ..  +2.31%]  overhead    +4.25%

windows

dynamic/launch             change  +0.02%  [ -6.63% ..  +8.11%]  overhead   +27.71%
dynamic/access             change  -0.35%  [-21.27% .. +10.78%]  overhead    +2.17%
dynamic/access-relative    change  +0.39%  [ -2.48% ..  +2.15%]  overhead    +1.77%
dynamic/access-contended   change  +0.19%  [ -0.98% ..  +1.37%]  overhead    +2.00%

@wan9chi
wan9chi merged commit f1fbec4 into main Dec 2, 2026
23 checks passed
@wan9chi
wan9chi deleted the fspy-loss/5-tracking-incomplete-reason branch December 2, 2026 10:34
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.

1 participant