Skip to content

Develop - #103

Merged
sampleXbro merged 6 commits into
masterfrom
develop
Jul 21, 2026
Merged

Develop#103
sampleXbro merged 6 commits into
masterfrom
develop

Conversation

@sampleXbro

@sampleXbro sampleXbro commented Jul 21, 2026

Copy link
Copy Markdown
Owner

What does this PR do?

Type of change

  • Bug fix
  • New feature
  • Refactor
  • Documentation
  • Test coverage

Checklist

  • Tests written first (TDD)
  • All CI checks pass (pnpm test, pnpm lint, pnpm typecheck)
  • Changeset added (pnpm changeset) for user-visible changes

VVeb1250 and others added 6 commits July 21, 2026 15:30
The stale-output scan spread config.pluginTargets directly; every other
call site in the codebase guards it with '?? []'. ValidatedConfig always
populates the field, so this is a robustness/consistency fix for configs
constructed outside the Zod parse path.
Per the repo 'plugins are first-class targets' contract, any code that
iterates targets must hold for registered plugin descriptors, not just
builtins. The stale-output scan iterates config.pluginTargets, so add a
lock-sync test that registers a plugin descriptor with a managedOutputs
layout and asserts a hand-added file under its managed dir is reported in
outputsStale (resolved via getDescriptor, not builtin-only).
Stale-output detection adds new user-facing behavior plus additive CLI
JSON and MCP result fields (canonicalDrift, outputDrift, outputsStale).
Under semver that is a backward-compatible feature, so minor is the
correct bump for a 0.x release rather than patch.
pnpm audit --prod --audit-level=high failed on tar versions up to 7.5.18:
- critical GHSA-23hp-3jrh-7fpw (decompression/parse DoS), patched 7.5.19+
- high GHSA-8x88-c5mf-7j5w (negative entry size infinite loop), patched 7.5.18+

tar is a direct prod dependency, so bumping the pin from 7.5.13 to 7.5.20
clears both. Lockfile regenerated with pnpm 10 to match CI; frozen install
and the audit gate both verified green. Pre-existing issue, unrelated to
the check changes on this branch.
fix(check): detect stale generated outputs
@codecov

codecov Bot commented Jul 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
src/cli/commands/check.ts 100.00% <ø> (ø)
src/cli/renderers/check.ts 100.00% <100.00%> (ø)
src/core/check/lock-sync.ts 100.00% <100.00%> (ø)
src/core/generate/stale-cleanup.ts 100.00% <100.00%> (ø)
src/mcp/handlers/orchestrate-types.ts 100.00% <ø> (ø)
src/mcp/handlers/orchestrate.ts 100.00% <ø> (ø)
src/mcp/tool-tables/orchestrate-tools.ts 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sampleXbro
sampleXbro merged commit 69ec833 into master Jul 21, 2026
27 checks passed
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.

3 participants