Make scripts/verify-*.mjs harnesses runnable on any machine
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 78/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, nodejs, playwright, typescript
- Domain
- documentation, testing-qa, tooling
Research direction
Start with scripts/verify-script-generation.mjs, scripts/verify-voice-presets.mjs, scripts/verify-render-flows.mjs, and frontend/src/engine/cartoon/harness/run-vo-proof.mjs; replace the hard-coded repository path and /tmp/api-key.txt dependency as described. Check CONTRIBUTING.md for the build prerequisites, Playwright Chromium setup, commands, and artifact locations. Done means the harnesses run from a fresh clone on Linux, case B is explicitly skipped when no API key is available, the required reports and MP4 output are produced, and grep -rn '/Users/' scripts frontend/src finds nothing.
Written by the indexing model from the issue text.
Description
Context
The ROADMAP asks contributors to expand the scripts/verify-*.mjs harnesses, but today they only run on the maintainer's laptop. Each one hard-codes REPO_ROOT to an absolute macOS path, and the script-generation harness also reads an API key from /tmp/api-key.txt at import time, so it crashes before doing anything if that file is missing.
Where
scripts/verify-script-generation.mjs:31(REPO_ROOT = '/Users/…/contentine-create-canonical') and:36(readFileSync('/tmp/api-key.txt'))scripts/verify-voice-presets.mjs:32scripts/verify-render-flows.mjs:26frontend/src/engine/cartoon/harness/run-vo-proof.mjs:14
What to do
- Derive the root from the script location:
path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..')(adjust the depth for the harness file). - Read the API key from
process.env.CONTENTINE_API_KEY(optionally a--api-key-file). Only require it for the backend-reachable case B. With no key, mark case B as skipped with a reason inreport.json; never fake a pass. - Add a short "Running the verify harnesses" section to CONTRIBUTING.md: prerequisites (
npm run build, Playwright Chromium), the commands, and where artifacts land.
Acceptance criteria
-
grep -rn '/Users/' scripts frontend/srcreturns nothing -
node scripts/verify-voice-presets.mjsruns from a fresh clone on Linux; attach itsreport.json - Render-flow harness output includes an ffprobe-valid MP4 path
Getting started
Read CONTRIBUTING.md for dev setup and the quality bar (no facades, evidence before done). Comment here to claim the issue.
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 3
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from BeyondITL/contentine-create
-
good first issue level: 1 ui
Difficulty 2/5 1-3 hours Newbie friendliness 94/100
BeyondITL/contentine-create#58 ·
Maintainers usually reply within 1 day
-
Fix Enter on the marketplace Buy button opening details instead of buyingPossibly taken @developedbyBob claimed this 7 days ago. Openaccessibility claimed good first issue level: 1
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
BeyondITL/contentine-create#57 · 3 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Enable JSX in vitest so React component tests can runPossibly taken @29miaoet claimed this 7 days ago. Openclaimed good first issue level: 1 testing
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
BeyondITL/contentine-create#56 · 2 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
good first issue level: 1 testing
Difficulty 2/5 1-3 hours Newbie friendliness 94/100
BeyondITL/contentine-create#55 ·
Maintainers usually reply within 1 day
-
good first issue level: 1 testing
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
BeyondITL/contentine-create#54 ·
Maintainers usually reply within 1 day
All issues in BeyondITL/contentine-create
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/vscode-containers#655 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 comment ·
-
[docs] RELEASE.md: wrong branch name, no check that the prepare PR merged with the right subject, manual publish stepPossibly taken @albertteoh claimed this today. Opendocumentation
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
jaegertracing/jaeger-ui#4739 ·
Maintainers usually reply within 1 day
-
Add: Shop On TV SDOpencheck:passed streams:add
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day