test(ci): full-pipeline integration smoke test (0.24.15)#28
Merged
Conversation
…d sandbox) Exercises the shipped CLI bundles end-to-end — SP-3 setup-scan → SP-2 raw inbox → SP-4 drain plumbing → SP-1 project-scoped serving — in temp BRAIN_DIR/KNOWLEDGE_DIR (never touches the real KB). Skip-guarded when node/bundles absent. The only real-bundle composition test (vs per-component unit tests). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new end-to-end shell smoke test that exercises the built MCP CLI bundles together (scan → capture → drain plumbing → scoped search) inside an isolated temp sandbox, and bumps the plugin version/migration table to 0.24.15.
Changes:
- Add
tests/test-pipeline-smoke.shfull-pipeline integration smoke test (skip-guarded if node/bundles are absent). - Add the 0.24.15 migration-table row documenting the new smoke test.
- Bump plugin/marketplace versions to
0.24.15.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
tests/test-pipeline-smoke.sh |
New isolated end-to-end smoke test that validates the shipped CLI bundles compose correctly. |
skills/upgrade/SKILL.md |
Adds the 0.24.15 migration row describing the new smoke test and how to run it. |
.claude-plugin/plugin.json |
Version bump to 0.24.15. |
.claude-plugin/marketplace.json |
Version bump to 0.24.15. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| [ -z "$(ls -A "$RAW" 2>/dev/null)" ] || fail "dry-run wrote items (should preview only)" | ||
| SCAN_ROOT="$RP" node "$SCAN_CLI" 2>&1 | grep -q 'Captured 3' || fail "scan capture should report 3" | ||
| [ "$(ls "$RAW"/*.md 2>/dev/null | wc -l)" -eq 3 ] || fail "expected 3 raw items after scan" | ||
| grep -lq '^captured_by: setup-scan$' "$RAW"/*.md || fail "scan items not stamped captured_by: setup-scan" |
Comment on lines
+72
to
+75
| w a1 alpha; w a2 alpha; w a3 alpha; w b1 beta | ||
| SCOPED=$(SB_ACTIVE_SLUG=alpha node "$SEARCH_CLI" "wireguard tunnel" 2>&1) | ||
| printf '%s\n' "$SCOPED" | grep -q 'b1' && fail "scoped(alpha) search leaked the beta page b1" | ||
| printf '%s\n' "$SCOPED" | grep -qE 'a[123]' || fail "scoped(alpha) search returned no alpha page" |
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.
Full-pipeline integration smoke test
Adds
tests/test-pipeline-smoke.sh— the only test that proves the shipped CLI bundles compose end-to-end (the per-component suites test each in isolation). Runs in a fully isolated sandbox (tempBRAIN_DIR/KNOWLEDGE_DIR— never touches the real~/.second-brainor~/knowledge):node_modules/+CHANGELOG; dry-run writes nothingtext/uri-list); paste capturedpending5-column TSV →process … --nodeflipsstatus→processed+ writes thetarget_nodeback-ref → excluded frompending(5→4)alpha, thebetapage is suppressedSkip-guarded when
nodeor the bundles are absent; picked up bytests/run-all.sh. Phase 4c's node-authoring is LLM-driven, so only the deterministic plumbing it relies on is exercised (its wiring stays guarded bytest-maintainer-raw-drain.sh+test-maintain-skill.sh).Test-only — no plugin-runtime change, no MCP server change (stays 2.6.4). Full suite 85 pass / 0 fail / 1 known skip.
Plugin 0.24.14 → 0.24.15 + migration row.
🤖 Generated with Claude Code