Skip to content
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 task start time. #3501

Merged
merged 1 commit into from
Nov 22, 2024
Merged

Implement task start time. #3501

merged 1 commit into from
Nov 22, 2024

Conversation

branlwyd
Copy link
Contributor

Note that DAP specifies the parameters as "task start time" and "task duration", rather than Janus' "task start time" and "task end time". Janus implements things this way so that either parameter can be left unspecified.

I leave taskprov configuration for a later commit, which will update taskprov functionality to match the latest specification.

@branlwyd branlwyd requested a review from a team as a code owner November 19, 2024 01:28
@branlwyd
Copy link
Contributor Author

Part of #3436.

@branlwyd branlwyd added the allow-changed-migrations Override the ci-migrations check to allow migrations that have changed. label Nov 19, 2024
@branlwyd
Copy link
Contributor Author

See also: ietf-wg-ppm/draft-ietf-ppm-dap#634

Copy link
Contributor

@inahga inahga left a comment

Choose a reason for hiding this comment

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

It's arguable whether we should 404 on report uploads to tasks that have not started. But I'm fine with giving expressive errors, since that'll aid in debugging.

@inahga
Copy link
Contributor

inahga commented Nov 22, 2024

Nevermind, it's not arguable, behavior is in the spec https://ietf-wg-ppm.github.io/draft-ietf-ppm-dap/draft-ietf-ppm-dap.html#name-input-share-validation 😄

Note that DAP specifies the parameters as "task start time" and "task
duration", rather than Janus' "task start time" and "task end time".
Janus implements things this way so that either parameter can be left
unspecified.
@branlwyd branlwyd force-pushed the bran/task-start-time branch from 64210ac to 5f13168 Compare November 22, 2024 19:02
@branlwyd
Copy link
Contributor Author

(force-push to rerun the janus_migrations CI check, now that the label is correctly applied.)

@branlwyd branlwyd enabled auto-merge (squash) November 22, 2024 19:03
@branlwyd branlwyd merged commit 9db3d72 into main Nov 22, 2024
7 of 8 checks passed
@branlwyd branlwyd deleted the bran/task-start-time branch November 22, 2024 19:32
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.

2 participants