-
Notifications
You must be signed in to change notification settings - Fork 76
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
Log additional backlog events #1332
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ktuite
force-pushed
the
ktuite/logMoreEntityBacklogEvents
branch
from
December 6, 2024 00:36
cb66cac
to
1fec647
Compare
2 tasks
matthew-white
approved these changes
Dec 7, 2024
ktuite
commented
Dec 7, 2024
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.
interactive review
Comment on lines
+634
to
+648
const logBacklogEvent = (action, event, submissionId, submissionDefId) => ({ Audits }) => | ||
Audits.log({ id: event.actorId }, `submission.backlog.${action}`, { acteeId: event.acteeId }, { submissionId, submissionDefId }); |
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.
Some day we might want to include entityUuid
in here, too, but we're not sure what that would look like so we won't do it now.
ktuite
force-pushed
the
ktuite/logMoreEntityBacklogEvents
branch
from
December 7, 2024 02:30
9c2c2e9
to
7bbb155
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changed
submission.reprocess
event tosubmission.backlog.reprocess
and removed the actor ID on that event because it's more of a system thing? Maybe I need that actor ID though and should add it back.Added
submission.backlog.hold
for when things to into the backlogsubmission.backlog.force
for when submissions are force-processed from the backlogsubmission.backlog.reprocess
when a submission's processing is triggered by a previous submission in a branch, which isn't quite the same as being "forced"What has been done to verify that this works as intended?
Why is this the best possible solution? Were any other approaches considered?
How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?
Does this change require updates to the API documentation? If so, please update docs/api.yaml as part of this PR.
Before submitting this PR, please make sure you have:
make test
and confirmed all checks still pass OR confirm CircleCI build passes