feat(projects): add runner cache clear mutation

Add Projects.ClearRunnerCache for the documented runnerCacheClear GraphQL mutation. The wrapper accepts a numeric project ID, builds the GraphQL GID internally, and returns errors for request failures, GraphQL errors, mutation errors, or missing mutation payloads.

This is the upstream change requested in CLI !4418, which implements CLI #8747.

Validation: regenerated the typed project mock, ran go test ./... -race and lint for the changed lines, and tested the CLI cache command locally against the patched client. The tests use a mock HTTP server and do not clear a real cache.

Prepared with AI assistance.

Merge request reports

Loading
Loading