Skip to content

Make API route and capability coverage exhaustive and trustworthy #102

Description

@sjohnston1972

The master test plan overstates route-contract and authorization coverage. The API contract currently has 68 routes, while prior tests used partial hand-maintained subsets.

Acceptance criteria:

  • Every handled API route is represented in apiRouteContract.
  • A generated/table-driven test covers access and capability policy for every contract route.
  • Explicit route tests include auth session, behavioural eval listing, Lab list/detail/rebuild-evidence, and repository manifest retrieval.
  • Existing coverage statuses for operations metrics, diagnostics, sequence conflicts, and rate limiting are corrected.
  • Route inventory drift fails CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: apiCloudflare Worker API and control planeauditRaised from a repository auditenhancementNew feature or requestpriority: highHigh-impact correctness or reliability risk

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions