Skip to content

test(design-data): capture S2 Web Figma variables baseline snapshot (11k.3) - #1319

Merged
GarthDB merged 1 commit into
mainfrom
test/figma-variables-baseline-snapshot-11k.3
Jul 30, 2026
Merged

test(design-data): capture S2 Web Figma variables baseline snapshot (11k.3)#1319
GarthDB merged 1 commit into
mainfrom
test/figma-variables-baseline-snapshot-11k.3

Conversation

@GarthDB

@GarthDB GarthDB commented Jul 30, 2026

Copy link
Copy Markdown
Member

Description

Committed a checked-in baseline snapshot of all local Figma Variables in the
"S2 – Web" file (file-key xHBWBBIe2eo5vwoCeNrC4Q), captured via
design-data figma read --file-key ... --format json, key-sorted with jq -S
for stable, reviewable git diffs.

  • sdk/core/tests/fixtures/figma/s2-web-variables.baseline.json: the captured
    VariablesMeta (2961 variables across 9 collections).
  • sdk/core/tests/fixtures/figma/README.md: collection/mode/variable-count
    summary and capture provenance.
  • sdk/core/src/figma/mapping.rs: smoke test deserializing the fixture back
    into VariablesMeta, guarding against corruption/schema drift.
  • .changeset/figma-variables-baseline-snapshot.md: patch changeset.

Related Issue

Closes spectrum-design-data-11k.3 (bead). Part of epic
spectrum-design-data-11k, "Authoring engine & roadmap sequencing alignment."

Motivation and Context

This snapshot is the ground-truth fixture two downstream beads depend on:

  • 11k.4 — audits design-data→Figma name mapping by comparing this
    baseline against figma export --dry-run names.
  • 11k.6 — adds a figma diff --snapshot <path> subcommand that uses this
    baseline for offline value-level diffing.

No production code changes — this is purely a captured data fixture plus a
guard test.

How Has This Been Tested?

  • moon run sdk:test (full workspace cargo test --workspace) — includes the
    new s2_web_baseline_fixture_deserializes smoke test.
  • moon run sdk:lint (clippy -D warnings).
  • moon run sdk:build.
  • node tools/changeset-linter/src/cli.js check --fail-on-warnings.

All passed clean.

Screenshots (if appropriate):

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

(This is a test-fixture/data addition — none of the above apply directly.)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

…11k.3)

Committed ground-truth snapshot of all local Figma Variables in the
"S2 – Web" file, unblocking the design-data→Figma name-mapping audit
(spectrum-design-data-11k.4) and the offline figma diff work (11k.6).

- sdk/core/tests/fixtures/figma/s2-web-variables.baseline.json: key-sorted
  VariablesMeta captured via `design-data figma read --format json`.
- sdk/core/tests/fixtures/figma/README.md: collection/mode/variable-count
  summary and capture provenance.
- sdk/core/src/figma/mapping.rs: smoke test deserializing the fixture back
  into VariablesMeta.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Jul 30, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6f7b761

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
@adobe/spectrum-design-data Patch
@adobe/spectrum-component-api-schemas Patch
@adobe/design-system-registry Patch
@adobe/design-data-agent-mcp Patch
@adobe/design-data-mcp Patch
markdown-generator Patch
@adobe/token-corpus-migrate Patch
@adobe/token-naming-audit Patch
component-options-editor Patch
@adobe/spectrum-design-data-mcp Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

🎨 Token Changes Report

Tokens Changed (0)

Original Branch: main


This comment was automatically generated by the token diff tool. 🤖

@github-actions

Copy link
Copy Markdown
Contributor

🧩 Component Schema Changes Report

No component schema changes detected.

This comment was automatically generated by the component schema diff tool. 🤖

@github-actions

Copy link
Copy Markdown
Contributor

Run report for 6f7b761b

Total time: 2m 48s | Comparison time: 3m 7s | Estimated savings: 18.2s (9.7% faster)

Action Time Status Info
⬛️ SetupProto(0.57.4) 0ms Skipped
🟩 SyncWorkspace 10.9ms Passed
🟩 SyncProject(sdk) 0.5ms Passed
⬛️ SetupToolchain(rust:1.88.0) 768ms Skipped
🟩 SetupEnvironment(rust, sdk) 123.9ms Passed
⬛️ InstallDependencies(rust, sdk) 2.9ms Skipped
🟩 RunTask(sdk:fmt-check) 574.4ms Passed
⬛️ SetupToolchain(node:20.17.0) 2.4s Skipped
⬛️ SetupToolchain(pnpm:10.17.1) 561.2ms Skipped
⬛️ SetupToolchain(javascript) 0ms Skipped
⬛️ SetupEnvironment(javascript, sdk) 0.6ms Skipped
🟩 InstallDependencies(javascript, sdk) 8s Passed
🟩 RunTask(sdk:codegen-check) 238.8ms Passed
🟩 RunTask(sdk:lint) 47.8s Passed
🟩 RunTask(sdk:test) 2m 37s Passed SLOW
Changed files
.changeset/figma-variables-baseline-snapshot.md
sdk/core/src/figma/mapping.rs
sdk/core/tests/fixtures/figma/README.md
sdk/core/tests/fixtures/figma/s2-web-variables.baseline.json

@GarthDB
GarthDB merged commit d35aea8 into main Jul 30, 2026
10 checks passed
@GarthDB
GarthDB deleted the test/figma-variables-baseline-snapshot-11k.3 branch July 30, 2026 23:44
@GarthDB GarthDB mentioned this pull request Jul 30, 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.

1 participant