Skip to content

fix(strategy29): retain recent summary progress across visibility changes - #275

Merged
jackhai9 merged 2 commits into
mainfrom
codex/strategy29-summary-bootstrap
Sep 6, 2026
Merged

jackhai9 merged 2 commits into
mainfrom
codex/strategy29-summary-bootstrap

Conversation

@jackhai9

@jackhai9 jackhai9 commented Sep 6, 2026 •

Copy link
Copy Markdown
Owner

Strategy29 could replay retained global history after opening a summary or returning to a hidden page, delaying recent signals. Start with the server's bounded latest-symbol snapshot, follow its global increment cursor, and preserve the current client's cursor and rows across visibility pauses. Reject cancelled responses before they can publish state or clear a resumed request's in-flight flag.

Keep recent rows in durable sequence order and recover expired cursors with another latest snapshot. Publish userscript 0.2.1 with unchanged detector bytes and install/update URLs. Server dependency: https://github.com/jackhai9/CorsairQuant/pull/328 must be deployed before this client is published.

Validation

  • Default npm test: 812 unit/DOM tests passed
  • Browser fixtures: 64 passed, including both generated-script load orders
  • Build, generated metadata, syntax and diff checks passed
  • Real runtime/client/panel test covers visibility recovery and symbol changes
  • Offline rendered panel inspected; collapse and viewport checks passed
  • Real Python gateway latest/increment responses accepted by generated contract
  • Independent read-only plan and implementation reviews: GO, no new functional findings
  • Artifact SHA-256: 013b474e1fd68c3274422d1136777035f4004c65a8acf3a9b5822bf6cbd31307

Installed-source readback/reload and the affected non-financial live page path follow publication. This change does not enable the production observer, gateway or notifications.

Permanent runtime failures dispose the remote panel and pending request. Regression tests cover an embedded-observer conflict and native interval-subscription failure after the panel has populated, including late response and pageshow behavior.

The default test command explicitly selects every unit/DOM test file, so manual previews and the external TradingView demo probe are not executed accidentally. An earlier bare-discovery run failed on that network probe and a 100 ms coalescer deadline under concurrent suites; all actual tests passed both in isolation and through the corrected default command, with the coalescer deadline and assertions unchanged.

@jackhai9

jackhai9 commented Sep 6, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8493f0bc4c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/binance-strategy29-bollinger/remote-summary.js
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-06T01:32:27.764275Z e84faf1 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jackhai9

jackhai9 commented Sep 6, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: e84faf176d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@jackhai9
jackhai9 merged commit 710c392 into main Sep 6, 2026
2 checks passed
@jackhai9
jackhai9 deleted the codex/strategy29-summary-bootstrap branch September 8, 2026 09:50
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