Skip to content

Realtime battle UX with settle keepers, live replay, and Render deploy fixes - #66

Merged
aichannode merged 64 commits into
mainfrom
feat/update-battle-architecture
Jul 21, 2026
Merged

Realtime battle UX with settle keepers, live replay, and Render deploy fixes#66
aichannode merged 64 commits into
mainfrom
feat/update-battle-architecture

Conversation

@heyradcode

Copy link
Copy Markdown
Collaborator

Summary

  • Add EVM and Solana settle keepers so players no longer double-sign settle txs; snapshot battle inputs at request/commit time to close train/level-up front-runs.
  • Port combat sim to TypeScript and wire live battle replay (WebSocket push on EVM, Switchboard-derived seed on Solana), plus battle rooms, HUD/log UX, and battle fees to fund keeper gas.
  • Harden Render deploys for API + indexer-go (health probes, proto path, shared Node bundle, lockfile, cache package gitignore, pnpm dev rename).

Test plan

  • EVM: request battle → keeper settles without a second wallet prompt; live overlay animates; cancel refunds battle fee
  • Solana: commit_battle → keeper settle_battle; fallback settle still works if keeper is down
  • Golden combat vectors still pass (Solidity / Rust / Go / TS)
  • Frontend: gallery → battle preselect, room URL, Watch Again, mechanical log HUD
  • Render: do-not-stop-api /api/health returns 200; do-not-stop-indexer /healthz returns ok; no proto/@shared/core boot crashes
  • Backend settle-keeper + Solana keeper unit tests; shared useEvmBattleFlow / battle VRF tests

@heyradcode
heyradcode requested a review from aichannode July 21, 2026 01:50
@heyradcode heyradcode self-assigned this Jul 21, 2026
@cursor

cursor Bot commented Jul 21, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@vercel

vercel Bot commented Jul 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
do-not-stop-frontend Ready Ready Preview, Comment Jul 21, 2026 1:50am
do-not-stop-website Ready Ready Preview, Comment Jul 21, 2026 1:50am

@aichannode aichannode left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice! Thank you 💯

@aichannode
aichannode merged commit 5b69fe4 into main Jul 21, 2026
4 checks passed
@github-actions

Copy link
Copy Markdown

🧪 Coverage

Package Statements Branches Functions Lines Overall
backend 81.44% (869/1067) 75.13% (405/539) 83.41% (181/217) 82.88% (809/976) 80.89% (2264/2799)
frontend 66.81% (1228/1838) 67.61% (1025/1516) 63.15% (300/475) 67.27% (1114/1656) 66.86% (3667/5485)
shared 59.35% (1491/2512) 58.10% (900/1549) 59.07% (267/452) 62.31% (1379/2213) 60.02% (4037/6726)

@aichannode
aichannode deleted the feat/update-battle-architecture branch July 21, 2026 01:53
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.

2 participants