Skip to content

janus_collector: server selected collection job id - #4898

Open
tgeoghegan wants to merge 1 commit into
timg/leader-selected-collection-job-idempotency-key-serverfrom
timg/leader-selected-collection-job-idempotency-key-collector
Open

tgeoghegan wants to merge 1 commit into
timg/leader-selected-collection-job-idempotency-key-serverfrom
timg/leader-selected-collection-job-idempotency-key-collector

Conversation

@tgeoghegan

Copy link
Copy Markdown
Contributor

Adds support to janus_collector and the collect bin in janus_tools for server selected collection job IDs and leader-selected batch mode idempotency keys, per DAP changes in 1.

@tgeoghegan
tgeoghegan requested a review from a team as a code owner October 13, 2026 14:47
Comment thread collector/src/lib.rs
Comment thread collector/src/lib.rs
Comment thread collector/src/lib.rs
Comment thread tools/src/bin/collect.rs Outdated
Comment thread tools/src/bin/collect.rs
Comment thread tools/src/bin/collect.rs
@tgeoghegan
tgeoghegan force-pushed the timg/leader-selected-collection-job-idempotency-key-collector branch 2 times, most recently from 20814da to 6fb964a Compare October 17, 2026 13:01
@tgeoghegan tgeoghegan added the allow-changed-migrations Override the ci-migrations check to allow migrations that have changed. label Oct 17, 2026
@tgeoghegan
tgeoghegan changed the base branch from main to timg/leader-selected-collection-job-idempotency-key-server October 17, 2026 13:02
@tgeoghegan
tgeoghegan force-pushed the timg/leader-selected-collection-job-idempotency-key-collector branch from 6fb964a to 6633229 Compare October 17, 2026 13:02
@tgeoghegan
tgeoghegan added this pull request to stack #4914 October 17, 2026 21:40
Comment thread tools/src/bin/collect.rs Outdated
Comment on lines +1044 to +1048
let encoded_idempotency_key = URL_SAFE_NO_PAD.encode(
LeaderSelectedQueryConfig::test_default()
.get_encoded()
.unwrap(),
);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is now incorrectly including a length prefix in the expected value.

Suggested change
let encoded_idempotency_key = URL_SAFE_NO_PAD.encode(
LeaderSelectedQueryConfig::test_default()
.get_encoded()
.unwrap(),
);
let encoded_idempotency_key = URL_SAFE_NO_PAD.encode(
LeaderSelectedQueryConfig::test_default().as_ref(),
);

@tgeoghegan
tgeoghegan force-pushed the timg/leader-selected-collection-job-idempotency-key-collector branch from 6633229 to da50f55 Compare October 19, 2026 17:17
@tgeoghegan
tgeoghegan force-pushed the timg/leader-selected-collection-job-idempotency-key-collector branch 3 times, most recently from 83e2857 to f3951dd Compare October 19, 2026 18:10
Adds support to `janus_collector` and the `collect` bin in `janus_tools`
for server selected collection job IDs and leader-selected batch mode
idempotency keys, per DAP changes in [1].

[1]: ietf-wg-ppm/draft-ietf-ppm-dap#797
@tgeoghegan
tgeoghegan force-pushed the timg/leader-selected-collection-job-idempotency-key-collector branch from f3951dd to ee16826 Compare October 19, 2026 18:36

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

allow-changed-migrations Override the ci-migrations check to allow migrations that have changed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants