Skip to content

fix(intrade): restore legacy login and bound PoW lifecycle - #180

Merged
LimiNode merged 3 commits into
mainfrom
fix/intrade-site-login
Oct 28, 2026
Merged

LimiNode merged 3 commits into
mainfrom
fix/intrade-site-login

Conversation

@LimiNode

Copy link
Copy Markdown
Owner

Summary

  • restore legacy Intrade login across numbered intrade*.bar domains;
  • run site-login proof-of-work on a dedicated bounded worker with cancellation, auth-generation fencing, exception handling, and owner-loop completion;
  • serialize public broker HTTP facade entry points through the platform owner loop;
  • harden TaskManager queue admission against shutdown races and document the owner-loop contract.

Verification

  • intrade_bar_api_response_test: 111/111 passed
  • utils_task_manager_test: 8/8 passed
  • trade_manager_test: 27/27 passed
  • intrade_auth_lifecycle_test: 5/5 passed
  • git diff --check: passed

Classify Intrade login pages by their response contract, support the current site-form and modern SPA flows, and preserve cookies across manual redirect responses. Add regressions for numbered legacy origins, current modern login, and the full authenticated redirect chain.
Complete accepted Intrade trade-result, trade-history, and bar-history requests exactly once when manager admission fails or platform shutdown cancels the owner-loop task. Release site-login proof-of-work admission when CPU work ends instead of retaining it through queued delivery, and document the owner-loop callback contract with lifecycle regressions.
@LimiNode
LimiNode merged commit 9824134 into main Oct 28, 2026
2 checks passed
@LimiNode
LimiNode deleted the fix/intrade-site-login branch October 28, 2026 03:10
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