Skip to content

Allow external API clients to request a gzipped response#9995

Draft
david-crespo wants to merge 5 commits intomainfrom
dropshot-gzip-support
Draft

Allow external API clients to request a gzipped response#9995
david-crespo wants to merge 5 commits intomainfrom
dropshot-gzip-support

Conversation

@david-crespo
Copy link
Copy Markdown
Contributor

@david-crespo david-crespo commented Mar 7, 2026

Testing oxidecomputer/dropshot#1448, which adds gzip compression. It is merged but not in a release yet. In the project list test the response is 598 bytes compressed vs 1920 bytes uncompressed. This matches my other experiments showing an ~80% reduction in size.

Relies on:

The crucible rev bump brings in progenitor-client 0.13, so
ProgenitorOperationRetry and the crucible/pantry client construction
need to use the current progenitor_client and reqwest instead of the
v0.10/v0.12 compat shims. Remove the now-unused progenitor-client010
workspace dep, reqwest012 nexus dep, and the duplicate From impl for
progenitor_client010::Error.
@david-crespo david-crespo force-pushed the dropshot-gzip-support branch from 4e5301c to 9e28d9e Compare March 31, 2026 00:58
@david-crespo
Copy link
Copy Markdown
Contributor Author

The test failure is oxidecomputer/dropshot#1554 adding explicit HTTP statuses to websocket endpoints in the OpenAPI schemas, which means I need to do an API version bump in nexus, sled-agent, and gateway.

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.

1 participant