Testing and CI strategy
Fast feedback on pushes, confidence before merge, and deeper verification when needed. Run only the tests justified by the change and its dependencies.
Performance assessment is advisory. No benchmark result, numerical threshold or benchmark job status may block CI, merges or releases. Functional correctness, security and build checks still apply.
Validation tiers
| Check | Branch push / draft PR | Ready PR | Main | Scheduled / requested |
|---|---|---|---|---|
| Format, lint, build, unit | Fast | Required as applicable | Smoke / affected | As needed |
| Integration | Fast subset | Affected full suites | Affected | Extended |
| End-to-end | — | Critical smoke flows | Smoke as needed | Comprehensive |
| Property-based | Bounded | Relevant | As needed | Extended |
| Fuzz / concurrency stress | — | Risk-based | — | Extended |
| Visual / accessibility | Targeted where practical | Relevant UI changes | As needed | Broader |
| Supported platforms | Primary | Affected platforms | Packaging checks if applicable | Broader |
| Security / dependency checks | Fast as available | Applicable required checks | As needed | Extended |
| Performance measurements | Optional advisory | Optional advisory | Optional advisory | Advisory |
| Documentation | Affected build | Build and relevant browser checks | Publish | As needed |
A dash means not routinely scheduled, not that a developer cannot run the check. Draft PRs normally receive fast validation only. Required checks must reflect the reviewed commit and applicable merge result; deduplicate only when equivalent evidence is available.
The performance assessment has no automated dependency on the publishing path.
Select tests by impact
- Text and editor core: editing invariants, Unicode, undo, concurrency and cancellation.
- Language services: protocol contracts, stale responses, lifecycle and polyglot workspaces.
- UI and themes: rendering, keyboard access, contrast and responsive layout.
- Extensions and AI: permissions, isolation, invalid input and failure recovery.
- Documentation and website: production build, links, diagrams and affected browser interactions.
- Shared contracts, dependencies or toolchains: expand to all affected dependants. If impact is unclear, run broader checks.
CI efficiency
Cancel superseded validation runs, deduplicate equivalent push and PR checks, bound job execution time, cache dependencies safely, and reuse compatible artifacts. Choose runner sizes based on actual workload. Keep untrusted PR builds isolated from deployment permissions.
A path-filtered workflow can be absent entirely. Do not configure it as an unconditional required status check. Required checks should always report a meaningful pass, fail or explicitly not-applicable result.
Release assessment
Before a release, prepare a concise assessment of representative startup, input latency, indexing, idle CPU and total process-tree memory where implemented. Record the baseline, environment, workload, results, limitations and material regressions. The maintainer reviews findings and decides whether to improve, defer or accept them. Benchmark failures and thresholds do not stop publishing automatically.
Implementation status
The repository currently contains the website and documentation, not the Rust IDE. IDE test suites, CI quality gates, packaging workflows and supported platform matrices will be introduced with working vertical slices. Candidate tools and timing budgets are not yet approved or measured.
The documentation PR build is an initial applicable check; the existing main-branch website publishing workflow remains separate. No scheduled IDE tests or release performance gates are enabled.