Add frontend lint to CI; indexer-first Anvil E2E; workflow defaults #322
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#322
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
Gap analysis follow-up from #309.
Current codebase
.github/workflows/unit-tests.ymljobfrontend-test: runstypecheck+npm test— nonpm run lint(AGENTS.md andINV-FRONTEND-301expect lint)..github/workflows/e2e-anvil.yml:workflow_dispatchonly; not merge gate.scripts/e2e-anvil.shL127–128:export VITE_INDEXER_URL=(empty) — E2E never exercises indexer-first display (#301).anvil-referrals.spec.tsexists but may be excluded from default E2E run per gap report.GitLab: No
.gitlab-ci.yml; repo hosted on GitLab; CI runs on GitHub Actions. Approved: document minimal GitLab CI strategy (not duplicate heavy GitHub jobs on GitLab runners).Why needed
Approved: Add lint to CI; fix indexer-first E2E; improve Anvil E2E defaults (include referrals). Document GitLab vs GitHub CI posture.
Constraints / guardrails
e2e-anvil.shshould setVITE_INDEXER_URLwhen indexer spawned, or document dual-mode.Relevant files
.github/workflows/unit-tests.yml.github/workflows/e2e-anvil.ymlscripts/e2e-anvil.shfrontend/e2e/anvil-referrals.spec.tsdocs/testing/ci.md,docs/testing/e2e-anvil.mdAGENTS.mdverification tableRecommended direction
npm run linttofrontend-testjob (fix warnings first or--max-warnings 0after cleanup).e2e-anvil.shoptional full-stack mode: start indexer, setVITE_INDEXER_URL, smoke indexer-first static assertions.anvil-referrals.spec.tsin default Anvil E2E suite.docs/testing/ci.md: GitLab is canonical host; GitHub Actions runs merge gate; GitLab CI stays minimal/absent by design.Acceptance criteria
frontend-testruns lint.anvil-referrals.spec.tsruns in defaulte2e-anvil.shflow.ci.mdexplains GitLab/GitHub split.Test plan
frontend-testgreen.bash scripts/e2e-anvil.shwith indexer mode.cd frontend && npm run lint.Attack / abuse test plan
Verification criteria
indexerFirstDisplaysmoke or dedicated spec.mentioned in issue #309
mentioned in commit
93c0cff974mentioned in merge request !470
mentioned in commit
3615a4fe35mentioned in commit
8dd5705214mentioned in commit
ce43305a60mentioned in merge request !483
mentioned in commit
6b857630a5mentioned in merge request !490
mentioned in commit
7495a1c264mentioned in commit
52b7512136mentioned in merge request !496
mentioned in commit
f83ad52f7bVerification complete — GitLab #322
Verified on
main@2026-06-14. No repo changes required; closing issue.Acceptance criteria
frontend-testruns lint.github/workflows/unit-tests.ymlL106:npm run lintafter typecheck. Local:cd frontend && npm run lint— 0 errors, 2 warnings (allowed perINV-CI-322-FRONTEND-LINT).docs/testing/e2e-anvil.md§ indexer-first vs minimal;scripts/e2e-anvil.shYIELDOMEGA_E2E_INDEXER=1starts Postgres indexer, setsVITE_INDEXER_URL, runse2e/anvil-indexer-first.spec.ts.YIELDOMEGA_E2E_INDEXER=1 bash scripts/e2e-anvil.sh— 8 passed (incl. indexer-first spec).anvil-referrals.spec.tsin default E2E flowbash scripts/e2e-anvil.sh— Playwright specse2e/anvil-arena-*.spec.ts e2e/anvil-referrals.spec.ts; referrals spec ✓ (7 passed total).ci.mdexplains GitLab/GitHub splitdocs/testing/ci.md§ GitLab vs GitHub CI (#322); no.gitlab-ci.ymlon disk. Invariants:INV-DEVOPS-322-GITLAB-CI-MINIMAL.Verification criteria (issue body)
anvil-indexer-first.spec.ts✓ (indexer status bar, protocol podiums, timer epoch). Unit:indexerFirstDisplay.test.ts— 9/9 passed.Infra used
:5433—bash scripts/verify-cloud-postgres.shPASS--code-size-limit 524288viascripts/e2e-anvil.sh:3100for indexer-first run