-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Draft04 #259
Implement Draft04 #259
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments up to daphne/src/messages/mod.rs
Rebased. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good to me now modulo some changes in the HTTP API.
One more thing I noticed: There is an XXX in daphne/src/roles_test.rs -- the fact that the test passes doesn't seem to align with our expectations. Will investigate in a bit. |
Squashed. |
Add support for draft04, drop support for draft03, and continue support for draft02. No wire-breaking changes are expected, but deployments will impacted by the following breaking changes: * In draft02, we now use a 16-byte value for the collection job ID rather than 32. This matches the type specified in draft04. This does not break interop, since the structure of the collect URI is not specified in draft02; however, compatibility with older versions of LeaderCollectionJobQueue. * LeaderCollectionJobQueue: The schema for lookup keys for collect jobs to durable storage has been changed. * PrgAea128 is deprecated as of prio version 0.12.0; we now use PrgSha3 for internal purposes. As a result, collection job IDs computed in draft02 will have changed, as well as the mapping of reports to ReportsPending and ReportsProcessed shards has changed. * The environment variable DAP_COLLECT_ID_KEY was renamed to DAP_COLLECTION_JOB_ID_KEY. * The interfaces for ReportsPending and LeaderCollectionJobQueue have changed. Co-authored-by: Christopher Patton <cpatton@cloudflare.com>
No description provided.