[GH-ISSUE #3047] [Other] Completed recovery leaves stale conversation-cache metrics #1220

Closed
opened 2026-11-04 01:49:28 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @oscarlius on GitHub (Oct 18, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3047

Area

Other — Python source server / metrics observer.

Desktop app, Terminal or source?

Source checkout with the repository CPU fixture/mock engine and a loopback HTTP server.

What happened

Completed non-finite recovery messages clear the native cache but the Python observer keeps its previous parked count and bytes because these messages do not contain its usual conversation-cache tag.

Expected: Recognize only the two completed native clear messages, set current occupancy to zero, and preserve historical park/restore/eviction counters and last-event metadata. Ignore warnings and quoted diagnostics.

Reproduction status

Reproduced locally on unmodified upstream production files, then fixed by PR #3337. This is a deterministic source-derived fixture reproduction, not a new real-model failure.

Strata version

Strata v0.2.1.4, upstream main 9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4. Fixed candidate: 3be5514166764f6be565ab19c49dbd22e974acbe.

Graphics card, memory and system

Windows CPU-only regression. No graphics card, VRAM allocation or model weights are needed for the fixture. Python 3.14.3.

Reproduction

In a disposable checkout of PR #3337, retain the PR's regression tests and restore only its production file(s) to upstream main:

git restore --source 9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4 -- serve/server.py
python -m unittest serve.test_cache_log_clear -v

The baseline produces the failure described above. Restore the fixed production file(s) and run the same command:

git restore --source HEAD -- serve/server.py
python -m unittest serve.test_cache_log_clear -v

The candidate passes. Full results, exact tested revision and limitations are in PR #3337. Original reproduction history is retained in the GitHub edit history; this update re-tests the same problem on v0.2.1.4 after the tracker reset.

Limits

Tests start fresh Python/mock-server processes and use temporary local logs. They do not restart or qualify a live model deployment, induce native allocation/non-finite failures, or establish performance or cross-backend compatibility.

Originally created by @oscarlius on GitHub (Oct 18, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/3047 ### Area Other — Python source server / metrics observer. ### Desktop app, Terminal or source? Source checkout with the repository CPU fixture/mock engine and a loopback HTTP server. ### What happened Completed non-finite recovery messages clear the native cache but the Python observer keeps its previous parked count and bytes because these messages do not contain its usual conversation-cache tag. Expected: Recognize only the two completed native clear messages, set current occupancy to zero, and preserve historical park/restore/eviction counters and last-event metadata. Ignore warnings and quoted diagnostics. ### Reproduction status Reproduced locally on unmodified upstream production files, then fixed by PR #3337. This is a deterministic source-derived fixture reproduction, not a new real-model failure. ### Strata version Strata v0.2.1.4, upstream main `9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4`. Fixed candidate: `3be5514166764f6be565ab19c49dbd22e974acbe`. ### Graphics card, memory and system Windows CPU-only regression. No graphics card, VRAM allocation or model weights are needed for the fixture. Python 3.14.3. ### Reproduction In a disposable checkout of PR #3337, retain the PR's regression tests and restore only its production file(s) to upstream main: ```sh git restore --source 9de04cd44e927a9a3df6bbc0e94fc1be8b844ba4 -- serve/server.py python -m unittest serve.test_cache_log_clear -v ``` The baseline produces the failure described above. Restore the fixed production file(s) and run the same command: ```sh git restore --source HEAD -- serve/server.py python -m unittest serve.test_cache_log_clear -v ``` The candidate passes. Full results, exact tested revision and limitations are in PR #3337. Original reproduction history is retained in the GitHub edit history; this update re-tests the same problem on v0.2.1.4 after the tracker reset. ### Limits Tests start fresh Python/mock-server processes and use temporary local logs. They do not restart or qualify a live model deployment, induce native allocation/non-finite failures, or establish performance or cross-backend compatibility.
Author
Owner

@Niko1221 commented on GitHub (Oct 19, 2026):

Thanks for taking the time to report this.

We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6271439848 --> @Niko1221 commented on GitHub (Oct 19, 2026): Thanks for taking the time to report this. We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.0-beta. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Author
Owner

@oscarlius commented on GitHub (Oct 20, 2026):

/reopen

Re-tested on Strata 0.2.0-beta, upstream main e88ee39d1d6be6e3364183af3b39b62a7ed6f211. Candidate bc1a4e54b722d985c9205542bfc4fe17226d7987 has fresh local validation recorded in the updated issue and linked PR #3049. Passed, expected baseline failures, and unrun hardware checks are listed separately.

<!-- gh-comment-id:6282594138 --> @oscarlius commented on GitHub (Oct 20, 2026): /reopen Re-tested on Strata 0.2.0-beta, upstream main `e88ee39d1d6be6e3364183af3b39b62a7ed6f211`. Candidate `bc1a4e54b722d985c9205542bfc4fe17226d7987` has fresh local validation recorded in the updated issue and linked PR #3049. Passed, expected baseline failures, and unrun hardware checks are listed separately.
Author
Owner

@github-actions[bot] commented on GitHub (Oct 20, 2026):

Reopened, thank you. A maintainer will pick it up from here.

<!-- gh-comment-id:6282596006 --> @github-actions[bot] commented on GitHub (Oct 20, 2026): Reopened, thank you. A maintainer will pick it up from here.
Author
Owner

@Niko1221 commented on GitHub (Nov 5, 2026):

Thanks for taking the time to report this.

Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.

To reopen it takes about two minutes:

  1. Re-test on 0.2.11. It may already be fixed. Write down what you see.
  2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other].
  3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system.
  4. Comment /reopen. A check runs and either reopens the issue or lists what is still missing.

The rules are in CONTRIBUTING.md.

<!-- gh-comment-id:6659371676 --> @Niko1221 commented on GitHub (Nov 5, 2026): Thanks for taking the time to report this. Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected. To reopen it takes about two minutes: 1. Re-test on 0.2.11. It may already be fixed. Write down what you see. 2. Start the title with its area: [Engine], [GUI], [TUI], [Benchmark], [Docs] or [Other]. 3. Fill in the parts of the issue form: what happened, the Strata version, your graphics card, memory and system. 4. Comment `/reopen`. A check runs and either reopens the issue or lists what is still missing. The rules are in [CONTRIBUTING.md](https://github.com/Niko1221/Strata/blob/main/CONTRIBUTING.md).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#1220
No description provided.