Skip to content

test(ci): full-pipeline integration smoke test (0.24.15)#28

Merged
Cain-Ish merged 2 commits into
mainfrom
test/pipeline-smoke
Jun 4, 2026
Merged

test(ci): full-pipeline integration smoke test (0.24.15)#28
Cain-Ish merged 2 commits into
mainfrom
test/pipeline-smoke

Conversation

@Cain-Ish

@Cain-Ish Cain-Ish commented Jun 4, 2026

Copy link
Copy Markdown
Owner

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 (temp BRAIN_DIR/KNOWLEDGE_DIR — never touches the real ~/.second-brain or ~/knowledge):

  • SP-3 setup-scan → curates 3 high-signal docs; excludes node_modules/ + CHANGELOG; dry-run writes nothing
  • SP-2 raw inbox → URL stored as an offline pointer (text/uri-list); paste captured
  • SP-4 drain plumbingpending 5-column TSV → process … --node flips status→processed + writes the target_node back-ref → excluded from pending (5→4)
  • SP-1 scoped serving → scoped to alpha, the beta page is suppressed
  • isolation → asserts the real KB is untouched

Skip-guarded when node or the bundles are absent; picked up by tests/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 by test-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

Cain-Ish and others added 2 commits June 4, 2026 14:17
…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>
Copilot AI review requested due to automatic review settings June 4, 2026 12:23
@Cain-Ish Cain-Ish merged commit caed3d2 into main Jun 4, 2026
1 check passed
@Cain-Ish Cain-Ish deleted the test/pipeline-smoke branch June 4, 2026 12:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.sh full-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"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants