Skip to content

Feat full e2e action#724

Open
mattmacf98 wants to merge 16 commits into
mainfrom
FEAT-full-e2e-action
Open

Feat full e2e action#724
mattmacf98 wants to merge 16 commits into
mainfrom
FEAT-full-e2e-action

Conversation

@mattmacf98

Copy link
Copy Markdown
Member

No description provided.

mattmacf98 and others added 2 commits May 28, 2026 10:44
Adds a manual workflow_dispatch workflow that runs the full Playwright
suite with --update-snapshots, then commits changed snapshot files and
opens a PR if any snapshots changed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The src/lib/buf/ generated files were missing, causing 9 test files to
fail with import resolution errors. Ran buf generate to produce the
TypeScript protobuf bindings and updated buf.lock with the latest
viamrobotics/api commit.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented May 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d04dbb4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@github-actions

github-actions Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://viamrobotics.github.io/visualization/pr-preview/pr-724/

Built to branch gh-pages at 2026-05-28 20:30 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

mattmacf98 and others added 14 commits May 28, 2026 11:10
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Authenticate with the Viam CLI using VIAM_KEY_ID and VIAM_KEY_VALUE
repository secrets immediately after the CLI verification step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The claude-ci-fix agent was failing tests because src/lib/buf/ (generated
TypeScript protobuf bindings) is gitignored and not available after pnpm install.
Added buf generate to the install_command so protos are ready before the agent runs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
keep_files: false would wipe pr-preview/ subdirectories on every main deploy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The buf generate step was failing when the system buf cache at
~/.cache/buf had files owned by a different user. Using /tmp/buf-cache
ensures a writable location regardless of prior cache state.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When BASE_URL is set, skip the local dev server and point Playwright
directly at the provided URL (e.g. the deployed GitHub Pages site).
The snapshot-update workflow now uses BASE_URL=https://viamrobotics.github.io/visualization/
and drops the Go setup + build steps since they are no longer needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The CI test job (claude-ci-fix.yml) runs `pnpm exec buf generate` as part
of its install step. Without buf installed via pnpm, this falls back to
the system PATH which has no buf binary on stock Linux CI runners, causing
src/lib/buf generation to silently fail and all tests that import from
$lib/buf/* to fail.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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