Skip to content

fix: bump viem/wagmi/tempo.ts to fix e2e, require e2e for merge#159

Closed
decofe wants to merge 2 commits intomainfrom
tmm/fix-e2e-version-mismatch
Closed

fix: bump viem/wagmi/tempo.ts to fix e2e, require e2e for merge#159
decofe wants to merge 2 commits intomainfrom
tmm/fix-e2e-version-mismatch

Conversation

@decofe
Copy link
Member

@decofe decofe commented Mar 17, 2026

Summary

Fixes e2e tests that have been failing since March 9 and adds merge protection.

Motivation

The original e2e failure coincides with viem@2.47.0 being released March 4 (breaking: chainId required for access key auth) and viem@2.47.1 on March 9 (default access key internal_version changed from v1 → v2). Since the docs lockfile pinned viem@2.44.4, pnpm install without --frozen-lockfile in CI could resolve a newer version, and the fee-payer worker was also redeployed with 2.47.x around this time.

Bumping to 2.47.x breaks WebAuthn sign-up entirely because keys.tempo.xyz doesn't support v2 access keys yet. So the fix is to cap viem below 2.47.0 while bumping to 2.46.3 for latest safe patches.

Changes

  • Cap viem at >=2.44.4 <2.47.0 (resolves to 2.46.3) — avoids v2 access key breakage
  • Bump tempo.ts to 0.14.2 (latest in ^0.14.0 range via lockfile refresh)
  • Use pnpm install --frozen-lockfile in CI to prevent future version drift
  • Add e2e-result summary job so branch protection can require a single E2E Tests check

Testing

  • pnpm run check:types passes
  • CI will validate e2e tests pass with the capped viem version

Branch protection (post-merge)

After merging, add a ruleset on main requiring status checks Check and E2E Tests, with admin bypass enabled. I don't have admin access to create this.

Co-Authored-By: tmm 6759464+tmm@users.noreply.github.com

Prompted by: tmm

@vercel
Copy link

vercel bot commented Mar 17, 2026

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

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Mar 17, 2026 8:34pm
tempo-docs Ready Ready Preview, Comment Mar 17, 2026 8:34pm

Request Review

viem 2.47.x changed default access key internal_version to v2 which
breaks WebAuthn sign-up with keys.tempo.xyz. Cap at <2.47.0 while
bumping from 2.44.4 to 2.46.3 for latest bug fixes.

Co-Authored-By: tmm <6759464+tmm@users.noreply.github.com>
Amp-Thread-ID: https://ampcode.com/threads/T-019cfd05-d8b4-730e-986e-df7a859a9243
@tmm
Copy link
Member

tmm commented Mar 18, 2026

Fixed #180

@tmm tmm closed this Mar 18, 2026
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