Transition E2E: epoch roll, leaderboard refresh, claim state #350
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega#350
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Parent
Transition Gap Analysis (#342) — P2 #10.
Current codebase
e2e/anvil-arena-05-play-feel.spec.ts,e2e/anvil-indexer-first.spec.tswithYIELDOMEGA_E2E_INDEXER=1 bash scripts/e2e-anvil.sh.verify-podium-live-anvil.sh,verify-podium-timers-anvil.sh) but not full browser transition.Why needed
Runtime transition wiring is untested across indexer + frontend; poll-lag and settling UX regressions would not be caught by unit tests alone.
Constraints / guardrails
YIELDOMEGA_E2E_INDEXER=1and Anvil--code-size-limit 524288perdocs/testing/e2e-anvil.md.data-testidselectors; depend on sibling UX issue for settling states.Relevant files
scripts/e2e-anvil.shfrontend/e2e/(new spec e.g.anvil-arena-06-transitions.spec.ts)docs/testing/e2e-anvil.mddocs/testing/invariants-and-business-logic.mdRecommended direction
rollPodiumEpoch(cast or helper), wait for indexer ingest.INV-FRONTEND-342-TRANSITION-E2Eor extend #340 family.e2e-anvil.md.Acceptance criteria
YIELDOMEGA_E2E_INDEXER=1.npm run test:e2e -- --workers=5.Test plan
YIELDOMEGA_E2E_INDEXER=1 bash scripts/e2e-anvil.shcd frontend && CI=1 npm run test:e2e -- --workers=5 e2e/anvil-arena-06-transitions.spec.tsbash scripts/verify-podium-live-anvil.shAttack / abuse test plan
Verification criteria
mentioned in issue #342
mentioned in merge request !526
mentioned in commit
1a4150f4afmentioned in merge request !527
Verification (#350) — Cloud agent
Verified transition E2E on Cloud VM. Implementation on
mainmeets acceptance; one suite-compat fix opened as MR.Results
YIELDOMEGA_E2E_INDEXER=1 PLAYWRIGHT_SPECS="e2e/anvil-arena-06-transitions.spec.ts" bash scripts/e2e-anvil.shYIELDOMEGA_E2E_INDEXER=1 bash scripts/e2e-anvil.shanvil-arena-06-transitions.spec.tsafter helper fix; 16/17 specs green (anvil-arena-04-cred-buypre-existing cooldown flake — out of #350 scope)bash scripts/verify-podium-live-anvil.shread_block=24, live_rows=12)arena-timer-expired-pending-roll,arena-timer-settling, epoch 0→1,arena-podium-roll-ctawinners[0]cleared +arena-last-buy-podium-leaderboardarena-charm-cred-claimenabled after Last Buy epoch endINV-FRONTEND-342-TRANSITION-E2E,docs/testing/e2e-anvil.md§350MR
Suite-compat fix: !527 — warp/skip in
ensureArenaLevelTwoViaCastwhen prioranvil-arena-*specs already bought.Issue left open until MR merges.
mentioned in commit
c91c2cfa59Verification (#350) — Cloud agent (re-verify after MR !527 merge)
Re-verified transition E2E on Cloud VM. MR !527 (suite-compat fix for
ensureArenaLevelTwoViaCast) is merged onmain; all acceptance criteria pass.Results
YIELDOMEGA_E2E_INDEXER=1 PLAYWRIGHT_SPECS="e2e/anvil-arena-06-transitions.spec.ts" bash scripts/e2e-anvil.shbash scripts/verify-podium-live-anvil.shread_block=25, live_rows=12arena-timer-expired-pending-roll,arena-timer-settling, epoch 0→1,arena-podium-roll-ctawinners[0]cleared +arena-last-buy-podium-leaderboardarena-charm-cred-claimenabled after Last Buy epoch endINV-FRONTEND-342-TRANSITION-E2E,docs/testing/e2e-anvil.md§350docs/testing/ci.mdreferencesYIELDOMEGA_E2E_INDEXER=1 bash scripts/e2e-anvil.shwaitIndexerPodiumUxEpoch+ epoch corner assertionsHow verified
YIELDOMEGA_E2E_INDEXER=1, Anvil--code-size-limit 524288, native Postgres on:5433).verify-podium-live-anvil.sh.invariants-and-business-logic.md,e2e-anvil.md, andskills/play-active-time-arena/SKILL.md.Closing issue — implementation complete on
main, MR !527 merged.