Skip to content

fix(strategy27): restore externally evicted chart markers - #269

Merged
jackhai9 merged 1 commit into
mainfrom
codex/strategy27-marker-recovery-release
Sep 4, 2026
Merged

fix(strategy27): restore externally evicted chart markers#269
jackhai9 merged 1 commit into
mainfrom
codex/strategy27-marker-recovery-release

Conversation

@jackhai9

@jackhai9 jackhai9 commented Sep 4, 2026

Copy link
Copy Markdown
Owner

When TradingView removes a transient Strategy27 drawing, the in-memory registry still marks it as rendered. This leaves ordinary markers and compound candidates missing indefinitely, even when subsequent messages arrive.

Restore missing owned entities from their original points and drawing options. Reuse the existing one-second context check, preserve compound slots and surviving parts, and share in-flight repairs across timer and message callbacks. Clear, retention eviction and chart-context changes invalidate pending repairs, including late first-time ordinary drawings. Bump the install artifact to 0.4.1.

Validation:

  • Isolated release checkout: 712 tests passed. Shared development checkout: 759 tests passed, including unrelated pending orderbook tests.
  • Strategy27 suite: 118 tests passed, including source and generated entrypoint recovery, partial compound eviction, concurrent repairs, manual clear, retention and context invalidation.
  • Affected generated build, syntax checks, metadata consistency and git diff checks passed.
  • Post-merge main CI passed. Public install artifact and existing Tampermonkey source readback exactly match version 0.4.1 (SHA-256 420c662594061e6f8559c88523ddb71c349b4a7f0d51c5d5a3403fb7692f13c6).
  • Hard-reloaded the BTRUSDT 1S page: ordinary events update, compound client is connected, and panel collapse/expand works with its original state restored.
  • Page-debugger acquisition timed out. Raw CDP loaded-source equality and a live forced-eviction recovery probe remain unverified; automated source/generated recovery tests passed.

@jackhai9
jackhai9 merged commit 7e6836d into main Sep 4, 2026
1 check passed
@jackhai9
jackhai9 deleted the codex/strategy27-marker-recovery-release branch September 4, 2026 17:23
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