fix(test): add src/torch-config.mjs to e2e test environment

- Ensure `src/torch-config.mjs` is copied to the temporary test directory in `test/scheduler-preflight-lock.e2e.test.mjs`.
- Fixes `ERR_MODULE_NOT_FOUND` in CI during `test:integration:e2e`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-26 23:28:28 +00:00
1 parent 09bb01be3c
commit 08febcda75
3 files changed
+1 -61

No files matched your search

@@ -1,39 +0,0 @@
# Design System Audit Report
Headline:
- ✓ No violations
## 1) Inline styles
- Total count: 0
- Top 10 sample files (file:count): N/A
- First snippet example: N/A
## 2) Raw lengths
- Total count: 0
- Top 10 sample files (file:count): N/A
- First snippet example: N/A
## 3) Hex colors
- Total count: 0
- Top 10 sample files (file:count): N/A
- First snippet example: N/A
## 4) Tailwind palette
- Total count: 0
- Top 10 sample files (file:count): N/A
- First snippet example: N/A
## 5) Bracket utilities
- Total count: 0
- Top 10 sample files (file:count): N/A
- First snippet example: N/A
---
## Footer
- Links to PR(s) or Issue(s) created: N/A (No violations found)
- Commands run:
- `npm run lint` (Exit: 0)
- `npm run lint:inline-styles` (Exit: 0)
- Next steps:
- Continue daily monitoring.
@@ -1,22 +0,0 @@
---
agent: design-system-audit-agent
cadence: daily
run-start: 2026-02-26T23:04:51Z
status: completed
---
## Daily Design System Audit
**Status:** Success
**Agent:** design-system-audit-agent
**Prompt:** src/prompts/daily/design-system-audit-agent.md
**Reason:** Scheduled run
**Learnings:** No new learnings recorded.
### Summary
Executed `npm run lint` and `npm run lint:inline-styles` to audit the design system. No violations were found. A report was generated at `reports/design-system/design-system-report-2026-02-26.md`.
### Artifacts
- `reports/design-system/design-system-report-2026-02-26.md`
- `.scheduler-memory/latest/daily/retrieve.ok`
- `.scheduler-memory/latest/daily/store.ok`
@@ -47,6 +47,7 @@ async function setupFixture({ lockShellBody = ':', schedulerPolicy = {} }) {
await fs.copyFile(path.resolve('scripts/agent/scheduler-lock.mjs'), path.join(scriptsDir, 'scheduler-lock.mjs'));
await fs.copyFile(path.resolve('src/utils.mjs'), path.join(root, 'src', 'utils.mjs'));
await fs.copyFile(path.resolve('src/constants.mjs'), path.join(root, 'src', 'constants.mjs'));
await fs.copyFile(path.resolve('src/torch-config.mjs'), path.join(root, 'src', 'torch-config.mjs'));
await fs.writeFile(
path.join(scriptsDir, 'verify-run-artifacts.mjs'),
'#!/usr/bin/env node\nprocess.exit(0);\n',