Repository navigation
ocl 0.5.0: load-test an export on a real OpenMRS database before putting it into pihemr - #9
Merged
Merged
Conversation
… into pihemr Workflow 6 gets a new step 3: before creating any branch, run pihemr's scripts/ocl-load-test.sh (PIH/pihemr#783) in a throwaway worktree from master. It starts the ZL EMR with the new export on a copy of the nightly ZL seed database and checks the OCL import finished without errors. Asks first (about 10-20 minutes), stops if the export doesn't load, and leaves removing the test instance to the user. Also documents the Action's new "Skip the load test" checkbox, and bumps the plugin to 0.5.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or 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
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.
Adds a load test to workflow 6 (putting a released version's export into a PIH distro), to go with PIH/pihemr#783.
Changes
SKILL.md, workflow 6, new step 3: before creating any branch, run pihemr's
scripts/ocl-load-test.shon the new export. Claude:origin/master, so the user's pihemr checkout isn't touched,openmrs-docker <instance> destroyasks for confirmation), and says that the test installed a pihemr snapshot into~/.m2.If
origin/masterdoesn't have the script yet (before Load-test new OCL exports on a real OpenMRS database pihemr#783 merges), it says the load test isn't available and carries on. Steps 3–5 are renumbered 4–6.SKILL.md: the Update OCL export Action note mentions the new Skip the load test checkbox.
README: a paragraph on the load test, next to the release-check one.
Version 0.5.0.
Testing
The script itself was tested locally with a good export (passed) and a deliberately broken one (failed, naming the concept). Details are in PIH/pihemr#783. The skill wording hasn't been exercised end to end yet, since that needs a new release to put into the distro.
🤖 Generated with Claude Code