Principle:Wandb Weave Pre release Validation
| Knowledge Sources | |
|---|---|
| Domains | Release_Engineering, Testing |
| Last Updated | 2026-02-14 00:00 GMT |
Overview
A smoke-testing mechanism that validates core SDK functionality before initiating the release process.
Description
Pre-release Validation runs a minimal end-to-end test that exercises the SDK's critical path: initializing a client, decorating a function with tracing, executing it, and verifying that the call was correctly recorded. This catches regressions that would make a release non-functional.
Usage
Run this validation as the first step of any release process. If it fails, the release should be aborted and the issue fixed before proceeding.
Theoretical Basis
Pre-release validation follows the smoke test pattern:
- Initialize: Set up the SDK with a test project.
- Execute: Run a traced operation with known inputs and outputs.
- Verify: Assert that the call was recorded with correct data.
- Gate: Only proceed with the release if all assertions pass.