Open-source release readiness - #12
Merged
Merged
Conversation
Harden LeRobot compatibility, freeze the viewer API, and add the quality, security, documentation, and release gates required for a reliable 1.0 launch.
Simplify package and build layout, isolate npm-consumer gates under tests/npm-consumer, upgrade GitHub Actions pins, add bilingual docs with i18n checks, and land final performance and accessibility acceptance.
Mock remote archive fetches in archive-datasource tests to prevent late ENOTFOUND rejections on CI, and skip SARIF upload or dependency review when GitHub Advanced Security is unavailable on private repos.
Grant actions:read to CodeQL so overlay database cache lookup works on pull requests, and format archive-datasource tests for CI format:check.
Exercise the remaining shouldStartAutoplay early-return paths so branch coverage stays above the 70% threshold on slower CI runners.
The quality job runs verify-npm-consumer with Playwright, so install the Chromium browser before check:package to avoid missing executable failures.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR completes the open-source release readiness work in two commits on top of
main.Commit 1 —
Prepare stable open-source release(f92fa65)Commit 2 —
Finish open-source release readiness(f3266e7)cssScopePlugintoscripts/vite/, introducespublic-api.tsanderrorDetails.ts, and trims Docker/httpd surface.tests/npm-consumer/(Vite/React, Next App Router, Docker tarball install) so publish-time verification stays separate from library sources..zh-CN.md), VitePress locale routing, andscripts/check-docs-i18n.mjswith exception tracking.Local verification (pre-push)
tests/npm-consumer)Test plan
mainafter review/merge gates pass