Skip to content

Conversation

@aadityasondhi
Copy link
Contributor

BREAKING CHANGE: Migrated from REST API to Twirp RPC protocol

  • Changed endpoint from REST DELETE to Twirp POST /DeleteCacheEntry
  • Updated request format to use JSON body with 'key', 'version', 'prefix' fields
  • Removed unused repoName and region parameters
  • Updated tests to match new API structure
  • Fixed response handling to use 'count' field instead of 'deleted'

This aligns with the github.actions.results.api.v1.CacheService proto definition

@aadityasondhi
Copy link
Contributor Author

Should only merge this once the following are merged and deployed:
https://github.com/useblacksmith/web/pull/1804 and https://github.com/FastActions/fa/pull/2066 since this is breaking change and merging to main will bump the version.

cursor[bot]

This comment was marked as outdated.

@aadityasondhi aadityasondhi force-pushed the 20250714.twirp-delete branch from 4ca3f59 to cc6cfb7 Compare July 14, 2025 18:43
Copy link
Contributor

@aayushshah15 aayushshah15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to run the codegen and include the generated code changes here I think

BREAKING CHANGE: Migrated from REST API to Twirp RPC protocol

- Changed endpoint from REST DELETE to Twirp POST /DeleteCacheEntry
- Updated request format to use JSON body with 'key', 'version', 'prefix' fields
- Removed unused repoName and region parameters
- Updated tests to match new API structure
- Fixed response handling to use 'count' field instead of 'deleted'

This aligns with the github.actions.results.api.v1.CacheService proto definition
@aadityasondhi aadityasondhi force-pushed the 20250714.twirp-delete branch from cc6cfb7 to a98c8a2 Compare July 16, 2025 14:44
@aadityasondhi
Copy link
Contributor Author

We need to run the codegen and include the generated code changes here I think

done

@aadityasondhi aadityasondhi merged commit 941f534 into main Jul 16, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants