Skip to content

chore(ci): one-job pipeline + on-chain LCAI bridge history with Lightscan links - #26

Merged
lightnessonchain merged 2 commits into
mainfrom
feature/flow-improvements
Oct 8, 2026
Merged

lightnessonchain merged 2 commits into
mainfrom
feature/flow-improvements

Conversation

@waytofarout

@waytofarout waytofarout commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

CI has failed on every run in this repo since May. This fixes the causes and shrinks the pipeline to one job.

Root causes fixed

  • lint: three real eslint errors (unused OriginTokenCard prop, unused param and let→const in warpCoreConfig.ts).
  • test: vitest was collecting tests/**/*.spec.ts (Playwright e2e) and failing on the missing @playwright/test. Scoped to src/**/*.test.ts. 131 tests pass.
  • prettier: the repo was never formatted. One-time pnpm prettier pass over src/ (most of this diff).
  • setup-node: stray .yarnrc.yml pointed at .yarn/releases/yarn-4.5.0.cjs, which isn't in the repo (packageManager is pnpm). Removed .yarnrc.yml and .yarn/.
  • create-merge-prs / update-hyperlane-deps: Hyperlane template workflows wired to their GitHub App (HYPER_GONK_* secrets) and their branches. Removed. This is what produced the appId option is required failures on every push to main.

New ci.yml

One job, one install: typecheck → lint → test → build. Triggers on push to main/testnet and on every PR. Prettier is no longer a merge gate; pnpm prettier stays for local use.

Not in this PR

claude-code-review.yml is still present. It needs an ANTHROPIC_API_KEY repo secret or should be deleted; I'm not able to remove workflow files from this session.

On-chain bridge history (tray)

Hyperlane's hosted explorer does not index Lightchain, so the tray's history was always empty and Buy & Bridge transfers were never recorded. New useBridgeHistory rebuilds the wallet's history from the warp-route SentTransferRemote / ReceivedTransferRemote events via the Etherscan logs API (Ethereum/Sepolia) and Lightscan's Blockscout API (Lightchain), pairs sends with deliveries, and links each row to the Lightscan tx. Zaps are also recorded locally the moment they mine. Verified against the test wallet: 3 zaps, all Delivered, ~40s each.

Verification

  • Local: typecheck, next lint, vitest, all pass
  • Manual workflow_dispatch of the new ci on this branch (see checks)
  • After merge: sync testnet from main so both branches carry the new pipeline

🤖 Generated with Claude Code

…ale workflows

CI has failed on every run since May. Root causes, all fixed here:

- lint: 3 real eslint errors (unused OriginTokenCard prop, unused param and
  let->const in warpCoreConfig)
- test: vitest collected tests/**/*.spec.ts (Playwright e2e) and failed on
  the missing @playwright/test. Scope vitest to src/**/*.test.ts.
- prettier: repo was never formatted. Format src once so the check is
  meaningful going forward.
- setup-node: stray .yarnrc.yml pointed at a yarn binary that is not in the
  repo (packageManager is pnpm). Remove .yarnrc.yml and .yarn/.
- create-merge-prs / update-hyperlane-deps: Hyperlane template workflows
  wired to their GitHub App and their branches. Removed.
- ci.yml: collapse 5 jobs (5 installs) into one: typecheck -> lint -> test
  -> build. Triggers: push to main/testnet, all PRs. Prettier is no longer
  a merge gate; `pnpm prettier` remains for local use.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
bridge-ui Ready Ready Preview Oct 8, 2026 6:39pm UTC

Request Review

The security-review job ran on every non-draft PR and failed at
"Validate API key is provided" because the repo has no ANTHROPIC_API_KEY
secret. Gate every step in the three Claude jobs on the secret being
present so the jobs succeed with a notice instead of failing the PR.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@lightnessonchain
lightnessonchain merged commit 2f14bce into main Oct 8, 2026
6 checks passed
@waytofarout waytofarout changed the title chore(ci): one-job pipeline, fix lint/test/prettier failures, drop stale workflows chore(ci): one-job pipeline + on-chain LCAI bridge history with Lightscan links Oct 8, 2026

This branch was successfully deployed

1 active deployment
Preview — 5f975723 Deployed Oct 8, 2026 by vercel[bot]
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