Skip to content

chore(bench-arena): label the Attaform rows by zod major (Zod 3 / Zod 4)#411

Merged
ozzyfromspace merged 2 commits into
mainfrom
chore/bench-zod-version-labels
Jun 14, 2026
Merged

chore(bench-arena): label the Attaform rows by zod major (Zod 3 / Zod 4)#411
ozzyfromspace merged 2 commits into
mainfrom
chore/bench-zod-version-labels

Conversation

@ozzyfromspace

@ozzyfromspace ozzyfromspace commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

What

The benchmark comparison table labeled Attaform's two rows as Attaform and Attaform (Zod 4).
The bare "Attaform" leaves a reader to infer it is the zod-v3 adapter, which is not obvious at a
glance. This makes the zod major explicit on both rows, in the "Zod 3" / "Zod 4" style the capability
table's schema column already uses:

  • Attaform becomes Attaform (Zod 3)
  • Attaform (Zod 4) is unchanged

Where

The label is each adapter's meta.displayName, which the bench bakes into results.json and the
docs render (BenchArena.vue reads capabilities[].displayName). So this updates:

  • the adapter meta (apps/bench-arena/src/adapters/attaform/adapter.ts), the source of truth
  • the matching displayName field in the committed results.json, so the docs show the new label
    immediately

Net effect: only the v3 row gains the explicit "(Zod 3)"; the v4 row keeps "Attaform (Zod 4)". The
next bench refresh regenerates results.json from the adapter metas, producing the same labels.

🤖 Generated with Claude Code

…d@v4)

The benchmark's two Attaform rows were "Attaform" and "Attaform (Zod 4)". The bare "Attaform"
left a reader to infer it is the zod-v3 adapter, which is not obvious at a glance. Rename both
displayName labels to "Attaform (zod@v3)" and "Attaform (zod@v4)" so the comparison table names
the zod major on each row explicitly.

The labels live in each adapter's meta (the source the bench bakes into results.json); the two
committed results.json displayName fields are updated to match so the docs render the new names
now, and the next refresh regenerates them identically from the meta.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
attaform Ready Ready Preview, Comment Jun 14, 2026 4:02am

Match the capability table's schema-column style (SCHEMA_LABEL's "Zod 3" / "Zod 4") rather
than the "zod@vN" form. The v4 row returns to its original "Attaform (Zod 4)"; only the v3 row
gains the explicit "(Zod 3)".

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ozzyfromspace ozzyfromspace changed the title chore(bench-arena): label the Attaform rows by zod major (zod@v3 / zod@v4) chore(bench-arena): label the Attaform rows by zod major (Zod 3 / Zod 4) Jun 14, 2026
@ozzyfromspace ozzyfromspace merged commit 22578d0 into main Jun 14, 2026
15 checks passed
@ozzyfromspace ozzyfromspace deleted the chore/bench-zod-version-labels branch June 14, 2026 04:25
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.

1 participant