Goal
Add a minimal CI smoke test for fatal-guard that verifies the full crash→tombstone→draft chain.
Context
fatal-guard has CI (dependencies:
FAIL: expected 0 dependencies) but it only runs unit tests. There's no end-to-end smoke test that proves:
npm install succeeds
- A crash is captured
- A tombstone JSON is produced
tombstone_to_draft.py converts it to a draft lesson
Scope
- Add
tests/smoke.test.js that:
- Spawns a child process that crashes
- Captures tombstone JSON output
- Validates tombstone schema (4 required fields)
- Runs
tombstone_to_draft.py --dry-run on the tombstone
- Verifies draft lesson is valid markdown
- Add this smoke test to CI
- Run on Linux + Windows
Deliverable
npm test includes smoke test
- CI runs smoke test on Linux + Windows
- Full chain: crash → tombstone → draft lesson works
Labels
ready, agent-friendly, zero-bounty
This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting /reward 100 (replace 100 with the amount).
🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment /try to let everyone know!
🙌 And when they open the PR, they can comment /claim #1011 either in the PR description or in a PR's comment.
🪙 Also, everyone can tip any user commenting /tip 20 @Ikalus1988 (replace 20 with the amount, and @Ikalus1988 with the user to tip).
📖 If you want to learn more, check out our documentation.
Goal
Add a minimal CI smoke test for fatal-guard that verifies the full crash→tombstone→draft chain.
Context
fatal-guard has CI (dependencies:
FAIL: expected 0 dependencies) but it only runs unit tests. There's no end-to-end smoke test that proves:
npm installsucceedstombstone_to_draft.pyconverts it to a draft lessonScope
tests/smoke.test.jsthat:tombstone_to_draft.py --dry-runon the tombstoneDeliverable
npm testincludes smoke testLabels
ready, agent-friendly, zero-bounty
This repo is using Opire - what does it mean? 👇
💵 Everyone can add rewards for this issue commenting
/reward 100(replace100with the amount).🕵️♂️ If someone starts working on this issue to earn the rewards, they can comment
/tryto let everyone know!🙌 And when they open the PR, they can comment
/claim #1011either in the PR description or in a PR's comment.🪙 Also, everyone can tip any user commenting
/tip 20 @Ikalus1988(replace20with the amount, and@Ikalus1988with the user to tip).📖 If you want to learn more, check out our documentation.