Skip to content

chore: update @probelabs/probe to v0.6.0-rc312#565

Open
probelabs[bot] wants to merge 1 commit intomainfrom
update-probe-v0.6.0-rc312
Open

chore: update @probelabs/probe to v0.6.0-rc312#565
probelabs[bot] wants to merge 1 commit intomainfrom
update-probe-v0.6.0-rc312

Conversation

@probelabs
Copy link
Copy Markdown
Contributor

@probelabs probelabs bot commented Mar 27, 2026

This PR updates @probelabs/probe to version v0.6.0-rc312.

Triggered by release: probelabs/probe@v0.6.0-rc312

Changes

  • Updates @probelabs/probe dependency to v0.6.0-rc312

🤖 Auto-generated by release workflow

@probelabs
Copy link
Copy Markdown
Contributor Author

probelabs bot commented Mar 27, 2026

PR Overview: Update @probelabs/probe to v0.6.0-rc312

Summary

This PR updates the @probelabs/probe dependency from version 0.6.0-rc311 to 0.6.0-rc312. This is a routine dependency update for the Probe SDK, which is the core AI agent framework used throughout Visor.

Files Changed

  • package.json: Updated dependency version from ^0.6.0-rc311 to ^0.6.0-rc312
  • package-lock.json: Updated locked version, integrity hash, and tarball URL

Architecture & Impact Assessment

What This PR Accomplishes

This is a dependency-only update that brings in the latest release candidate of the Probe SDK. No code changes are required in Visor itself.

Key Technical Changes

  • Version bump: 0.6.0-rc3110.6.0-rc312
  • New integrity hash: sha512-LYhehKhVicD5/Ak8Rv7wLqGXPZqIDgBen+ZhgbzARa5EvgFAVOMWcN3/w7G4zzKwO2OJPUN0ekaUDUWIXMo4tA==
  • Updated tarball: Points to probe-0.6.0-rc312.tgz on npm registry

Affected System Components

The @probelabs/probe package is deeply integrated throughout Visor:

  1. AI Review Service (src/ai-review-service.ts)

    • Uses ProbeAgent class for AI-powered code review
    • Implements session management, timeout handling, and telemetry integration
    • Wraps ProbeAgent with custom tracer adapters for OpenTelemetry
  2. Session Registry (src/session-registry.ts)

    • Manages ProbeAgent session lifecycle for reuse across checks
    • Implements session cloning with intelligent message filtering
    • Handles cleanup and process exit handlers
  3. Diff Processing (src/utils/diff-processor.ts)

    • Uses extract function from Probe for outline-diff format processing
  4. Task Evaluator (src/agent-protocol/task-evaluator.ts)

    • Uses ProbeAgent for LLM-as-judge evaluation of agent tasks
  5. Tracer Initialization (src/utils/tracer-init.ts)

    • Dynamic import of Probe's telemetry classes (SimpleTelemetry, SimpleAppTracer)
  6. Test Infrastructure

    • Mock implementations in __mocks__/@probelabs/probe.ts
    • Jest transform for ESM compatibility in tests/transforms/probe-esm-fix.js
    • E2E tests for MCP integration
  7. Version Injection (scripts/inject-version.js)

    • Reads Probe version at build time for runtime display
    • Injects version into distributed artifacts

Component Relationships

graph TD
    A[Visor Core] --> B[AI Review Service]
    A --> C[Session Registry]
    A --> D[Task Evaluator]
    A --> E[Diff Processor]
    
    B --> F["@probelabs/probe"]
    C --> F
    D --> F
    E --> F
    
    F --> G[ProbeAgent]
    F --> H[extract function]
    F --> I[Telemetry Classes]
    
    J[Version Injection Script] --> K[package-lock.json]
    K --> F
    
    L[Tests] --> F
    M[MCP Integration] --> F

Loading

Scope Discovery & Context Expansion

Immediate Impact

  • Build process: The inject-version.js script will detect the new version and inject it into dist/index.js
  • Runtime: Visor will report the new Probe version in CLI output and telemetry
  • Tests: Mock implementations may need verification if Probe's API changed

Related Files to Verify

Based on the search results, these files interact closely with Probe and should be verified after merge:

  1. Core Integration Points:

    • src/ai-review-service.ts - Main ProbeAgent usage
    • src/session-registry.ts - Session lifecycle management
    • src/agent-protocol/task-evaluator.ts - LLM evaluation
    • src/utils/diff-processor.ts - Uses extract function
    • src/utils/tracer-init.ts - Telemetry initialization
  2. Testing Infrastructure:

    • __mocks__/@probelabs/probe.ts - Mock implementations
    • tests/transforms/probe-esm-fix.js - Jest ESM transform
    • tests/unit/ai-review-service.test.ts
    • tests/unit/session-registry.test.ts
    • tests/e2e/mcp-probe-e2e.test.ts
  3. Build & Release:

    • scripts/inject-version.js - Version detection
    • scripts/release.sh - Release automation

Potential Breaking Changes

Since this is a release candidate update (rc311 → rc312), changes should be minimal. However, reviewers should:

  1. Check Probe's changelog for API changes
  2. Verify mock implementations still match the new API
  3. Run the full test suite to ensure compatibility
  4. Monitor telemetry for any behavioral changes

Testing Recommendations

  1. Unit tests: Run all tests in tests/unit/ that mock ProbeAgent
  2. E2E tests: Run MCP integration tests
  3. Manual testing: Execute a few AI review checks to verify session reuse works
  4. Version display: Run visor --version to confirm new version is reported

Review Notes

  • This is an automated PR triggered by the Probe release workflow
  • The update is from one release candidate to another (rc311 → rc312)
  • No code changes in Visor are required
  • The integrity hash change is expected for the new version
  • Review effort is low since this is a dependency-only update

References

  • package.json:125 - Dependency declaration
  • package-lock.json:5656 - Locked version and integrity hash
  • scripts/inject-version.js:32-47 - Version detection logic
  • src/ai-review-service.ts - Main ProbeAgent integration
  • src/session-registry.ts - Session management
  • src/utils/diff-processor.ts - Uses extract from Probe
  • src/agent-protocol/task-evaluator.ts - LLM evaluation
  • src/utils/tracer-init.ts - Telemetry initialization
  • __mocks__/@probelabs/probe.ts - Test mocks
  • tests/transforms/probe-esm-fix.js - Jest ESM transform
Metadata
  • Review Effort: 1 / 5
  • Primary Label: chore

Powered by Visor from Probelabs

Last updated: 2026-03-27T21:59:10.969Z | Triggered by: pr_opened | Commit: e835e4a

💡 TIP: You can chat with Visor using /visor ask <your question>

@probelabs
Copy link
Copy Markdown
Contributor Author

probelabs bot commented Mar 27, 2026

✅ Security Check Passed

No security issues found – changes LGTM.

✅ Performance Check Passed

No performance issues found – changes LGTM.

Quality Issues (1)

Severity Location Issue
🟠 Error contract:0
Output schema validation failed: must have required property 'issues'

Powered by Visor from Probelabs

Last updated: 2026-03-27T21:51:06.298Z | Triggered by: pr_opened | Commit: e835e4a

💡 TIP: You can chat with Visor using /visor ask <your question>

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.

1 participant