Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
6a23db4
feat(config): add static vite config extraction to avoid NAPI for `ru…
branchseer Mar 3, 2026
dd8f2b1
fix(static-config): match Vite's DEFAULT_CONFIG_FILES resolution order
branchseer Mar 4, 2026
dc69f48
docs(static-config): add permalink to Vite's DEFAULT_CONFIG_FILES
branchseer Mar 4, 2026
0f49faa
fix(static-config): correct permalink line ranges, explain no oxc_res…
branchseer Mar 4, 2026
487f982
refactor(static-config): distinguish not-analyzable from field-absent
branchseer Mar 4, 2026
86d928e
refactor(static-config): use oxc utility methods instead of manual ma…
branchseer Mar 4, 2026
dd117c3
feat(static-config): support module.exports CJS pattern
branchseer Mar 4, 2026
52fa070
refactor(static-config): use specific oxc_* crates and add README
branchseer Mar 4, 2026
9052846
refactor(static-config): simplify f64_to_json_number and rename Field…
branchseer Mar 4, 2026
ecbafe2
feat(static-config): support defineConfig(fn) and skip NAPI when no c…
branchseer Mar 4, 2026
ecc3fc2
feat(static-config): resolve indirect exports via top-level identifie…
branchseer Mar 12, 2026
4592307
Revert "feat(static-config): resolve indirect exports via top-level i…
branchseer Mar 12, 2026
431526c
fix(static-config): spread invalidates previously-seen fields
branchseer Mar 12, 2026
45787e4
fix(static-config): computed keys invalidate previously-seen fields
branchseer Mar 12, 2026
0ef22cc
feat: add Chrome tracing support and performance instrumentation
branchseer Mar 1, 2026
daea544
fix: remove unused tracing dependency from vite_shared
branchseer Mar 1, 2026
cd646bf
feat: add tracing to callbacks, NAPI entry, and JS startup
branchseer Mar 1, 2026
8635623
fix: resolve Send bounds and formatting issues
branchseer Mar 1, 2026
14091ec
fix: use console.error for startup timing to satisfy no-console lint
branchseer Mar 1, 2026
bcd9e7c
chore: update Cargo.lock for new vite-task revision
branchseer Mar 1, 2026
098bd4a
fix: store tracing guard in OnceLock to prevent early drop
branchseer Mar 1, 2026
6b26752
fix: add Sync bound to TRACING_GUARD via Mutex wrapper
branchseer Mar 1, 2026
67c3ed7
fix: add shutdownTracing() to flush chrome trace before process exit
branchseer Mar 1, 2026
1a913e3
docs: add comprehensive performance analysis
branchseer Mar 1, 2026
a031579
fix: add shutdownTracing export to NAPI binding files
branchseer Mar 1, 2026
51cd0ce
style: format performance.md tables with oxfmt
branchseer Mar 1, 2026
b3066e3
fix: reorder shutdownTracing declaration to match NAPI-RS generation
branchseer Mar 1, 2026
7813c0c
fix: write trace files to dedicated directory to avoid breaking forma…
branchseer Mar 1, 2026
6382c50
docs: update performance.md with comprehensive multi-project analysis
branchseer Mar 2, 2026
497bc9a
feat: enable cacheScripts and add cache miss scenario in e2e tests
branchseer Mar 2, 2026
4280329
chore: update vite-task to 7380f757 (fingerprint span names)
branchseer Mar 2, 2026
54a86de
fix: detect vite.config.js when vite.config.ts doesn't exist
branchseer Mar 2, 2026
7e3ab11
fix: create vite.config.ts when migration doesn't produce one
branchseer Mar 2, 2026
f9a3b3d
fix: run prettier on modified vite config to avoid format check failures
branchseer Mar 2, 2026
85566cb
fix: create vite.config.js instead of .ts to avoid TS-ESLint errors
branchseer Mar 2, 2026
689da9c
docs: combine cache performance analysis into single performance.md
branchseer Mar 2, 2026
c480558
chore: trigger CI after rebase
branchseer Mar 4, 2026
0f9cfd8
style: format performance.md tables with oxfmt
branchseer Mar 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,55 @@ jobs:

- name: Run vite-plus commands in ${{ matrix.project.name }}
working-directory: ${{ runner.temp }}/vite-plus-ecosystem-ci/${{ matrix.project.name }}${{ matrix.project.directory && format('/{0}', matrix.project.directory) || '' }}
env:
VITE_LOG: debug
VITE_LOG_OUTPUT: chrome-json
VITE_LOG_OUTPUT_DIR: ${{ runner.temp }}/trace-artifacts
run: ${{ matrix.project.command }}

- name: Run vite-plus commands again (cache run) in ${{ matrix.project.name }}
working-directory: ${{ runner.temp }}/vite-plus-ecosystem-ci/${{ matrix.project.name }}${{ matrix.project.directory && format('/{0}', matrix.project.directory) || '' }}
env:
VITE_LOG: debug
VITE_LOG_OUTPUT: chrome-json
VITE_LOG_OUTPUT_DIR: ${{ runner.temp }}/trace-artifacts
run: ${{ matrix.project.command }}

- name: Invalidate task cache in ${{ matrix.project.name }}
working-directory: ${{ runner.temp }}/vite-plus-ecosystem-ci/${{ matrix.project.name }}${{ matrix.project.directory && format('/{0}', matrix.project.directory) || '' }}
run: |
# Modify package.json to trigger PostRunFingerprintMismatch on next vp run
node -e "
const fs = require('fs');
const pkg = JSON.parse(fs.readFileSync('package.json', 'utf-8'));
pkg._cacheInvalidation = Date.now().toString();
fs.writeFileSync('package.json', JSON.stringify(pkg, null, 2) + '\n');
"

- name: Run vite-plus commands (cache miss run) in ${{ matrix.project.name }}
working-directory: ${{ runner.temp }}/vite-plus-ecosystem-ci/${{ matrix.project.name }}${{ matrix.project.directory && format('/{0}', matrix.project.directory) || '' }}
env:
VITE_LOG: debug
VITE_LOG_OUTPUT: chrome-json
VITE_LOG_OUTPUT_DIR: ${{ runner.temp }}/trace-artifacts
run: ${{ matrix.project.command }}

- name: Collect trace files
if: always()
shell: bash
run: |
mkdir -p ${{ runner.temp }}/trace-artifacts
ls -la ${{ runner.temp }}/trace-artifacts/ 2>/dev/null || echo "No trace files found"

- name: Upload trace artifacts
if: always()
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: trace-${{ matrix.project.name }}-${{ matrix.os }}
path: ${{ runner.temp }}/trace-artifacts/
retention-days: 7
if-no-files-found: ignore

notify-failure:
name: Notify on failure
runs-on: ubuntu-latest
Expand Down
80 changes: 49 additions & 31 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading