Skip to content

cleanup: refactor submit event functions#476

Draft
Molter73 wants to merge 2 commits intomainfrom
mauro/refactor-submit-event
Draft

cleanup: refactor submit event functions#476
Molter73 wants to merge 2 commits intomainfrom
mauro/refactor-submit-event

Conversation

@Molter73
Copy link
Copy Markdown
Contributor

@Molter73 Molter73 commented Apr 6, 2026

Description

A new event_args_t type is added to group together common arguments used by all submit event functions. This reduces the number of arguments that need to be passed into these functions and make it harder to make mistakes in the ordering of the actual arguments.

While implementing this cleanup, a bug in the order of inodes being passed to submit_rename_event was fixed.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

This is simply a refactoring PR, CI should be enough to validate it works correctly.

A new event_args_t type is added to group together common arguments used
by all submit event functions. This reduces the number of arguments that
need to be passed into these functions and make it harder to make
mistakes in the ordering of the actual arguments.
@Molter73 Molter73 requested a review from a team as a code owner April 6, 2026 13:18
@Molter73 Molter73 marked this pull request as draft April 6, 2026 13:24
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