Skip to main content

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.

Accepted policy

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​

CheckBranch push / draft PRReady PRMainScheduled / requested
Format, lint, build, unitFastRequired as applicableSmoke / affectedAs needed
IntegrationFast subsetAffected full suitesAffectedExtended
End-to-end—Critical smoke flowsSmoke as neededComprehensive
Property-basedBoundedRelevantAs neededExtended
Fuzz / concurrency stress—Risk-based—Extended
Visual / accessibilityTargeted where practicalRelevant UI changesAs neededBroader
Supported platformsPrimaryAffected platformsPackaging checks if applicableBroader
Security / dependency checksFast as availableApplicable required checksAs neededExtended
Performance measurementsOptional advisoryOptional advisoryOptional advisoryAdvisory
DocumentationAffected buildBuild and relevant browser checksPublishAs 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.

Required check selection

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.