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

Processing out of order/offline entities by runId and runIndex #1148

Closed
wants to merge 2 commits into from

Conversation

ktuite
Copy link
Member

@ktuite ktuite commented May 29, 2024

Part of addressing getodk/central#669

This is a megabranch/work-in-progress (because of database migrations and naming related to openrosa spec).

It can handle 'runId' and 'runIndex' coming in within the <entity> block in a submission and has a submission backlog for holding onto submissions that come in out of order.

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:

  • run make test and confirmed all checks still pass OR confirm CircleCI build passes
  • verified that any code from external sources are properly credited in comments or that everything is internally sourced

@ktuite
Copy link
Member Author

ktuite commented Jun 11, 2024

Closing this PR because we are going down a slightly different route and I've now pushed my updated approach.

@ktuite ktuite closed this Jun 11, 2024
@ktuite ktuite deleted the ktuite/entity_runs branch July 18, 2024 21:29
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