qa/AGENTS.md
Guidance for coding agents working with the QA test infrastructure. See also the root `AGENTS.md` for general project conventions.
## Overview
The `qa/` directory contains three independent test suites:
| Suite
No other project uses it yet
15k8mo agoReviewMountCreate a free account to mount
features. X-Pack is a separate Ruby package under `x-pack/` with its own test suite. Build without X-Pack by setting `OSS=true`.
## Features
| Feature | Path | Purpose |
|---------|------|---------|
| **Monitoring** | `lib/monitoring
No other project uses it yet
15k8mo agoReviewMountCreate a free account to mount
change root dependencies for an adapter-only task without a verified need.
- Add focused tests for the affected adapter, then follow `bun run check:impact`; adapter changes normally select
No other project uses it yet
15k2mo agoReviewMountCreate a free account to mount
within that scope; do not stop for approval after the first implementation or each test run.
- Investigate the affected behavior and its callers. Follow a fix across boundaries when needed
No other project uses it yet
15k2mo agoReviewMountCreate a free account to mount
lost their last import, and the coverage gate read "zero coverage" as "needs a test" — someone wrote suites for two of them, and a UI redesign then restyled all three
No other project uses it yet
15k2mo agoReviewMountCreate a free account to mount
package.json#packageManager` and use frozen lockfile installs in required jobs.
- Do not weaken coverage, test routing, CODEOWNERS, or branch protections to make another change pass. Maintainer override labels require
15k2mo agoReviewMountCreate a free account to mount
streaming changes also require the offline `bun run check:provider-contract` when selected.
- Keep tests hermetic: use fake credentials, intercepted requests or loopback servers, temporary `HOME`/`CLAUDE_CONFIG
15k2mo agoReviewMountCreate a free account to mount
command to make sure that there are no style issue.
* Always add tests when adding new features, and always make sure that all test cases can pass before committing
No other project uses it yet
15k4mo agoReviewMountCreate a free account to mount
narrate how it got there.
- Set `LLM_MODELS_ROOT` env var when running tests that need model weights
## Common Commands
| Task | Command |
|------|---------|
| Unit tests | `pytest tests/unittest/` |
| Specific test | `pytest tests/unittest/llmapi/test_llm_args.py
No other project uses it yet
15k4mo agoReviewMountCreate a free account to mount
Prefer minimal diffs.
- Ask before large refactors or new dependencies.
- After changes, run relevant tests if available.
- Explain what changed in plain language.
- Be concise and act like a collaborative
No other project uses it yet
15k4mo agoReviewMountCreate a free account to mount
temporary and will be removed after the migration.
The current C++ headers and tests are the source of truth. Historical Python
behavior remains useful for compatibility testing, but migration
15k4mo agoReviewMountCreate a free account to mount
cache_manager_v2`. Read
`cpp/tensorrt_llm/batch_manager/kv_cache_manager_v2/AGENTS.md` for the architecture, the
concurrency contract, and the C++ test suite.
This directory contains only:
- `__init__.py` — re-exports the nanobind surface, plus the plain
15k4mo agoReviewMountCreate a free account to mount
AGENTS.md — tests
Scope: this directory and everything under it. Supplements the repo-root `AGENTS.md`.
## Whether a new test runs in CI
This is a reminder for whoever adds a test
15k4mo agoReviewMountCreate a free account to mount
AGENTS.md — VisualGen integration tests
Scope: this directory (`tests/integration/defs/visual_gen/`). Supplements the
repo-root `AGENTS.md`.
## `pytest.skip` policy
A VisualGen test that cannot run because a resource CI is expected to provide
15k4mo agoReviewMountCreate a free account to mount
AGENTS.md — VisualGen unit tests
Scope: this directory and everything under it (`tests/unittest/_torch/visual_gen/`,
including `multi_gpu/`, `kernels/`, `sparse_attention/`). Supplements the repo-root
`AGENTS.md`.
## `pytest.skip` policy
A VisualGen test that cannot
15k4mo agoReviewMountCreate a free account to mount
arm64 only. Non-sandboxed Developer ID app.
## Build
```bash
swift build
swift run
swift test
```
Use `swift build --traits BundledSpeech` for changes that touch MLX, speech analysis, transcription, or bundled
No other project uses it yet
15k4mo agoReviewMountCreate a free account to mount
AGENTS.md
Instructions for AI coding agents working in the .NET codebase.
## Build, Test, and Lint Commands
See `./.github/skills/build-and-test/SKILL.md` for detailed instructions on building, testing, and linting projects.
## Project Structure
No other project uses it yet
14k10mo agoReviewMountCreate a free account to mount