Organization Validation for Service Inventory#1668
Open
JVickery-TBS wants to merge 19 commits into
Open
Conversation
- Started working on reference tables for pd data.
- Continued script to generate service reference data. - Continued schema for ref tables. - Improved pd subcommand for loading ref data.
- Finalized script to generate service ref data. - Added more recombinant schema key/values.
- Made JSONB index. - Added choices_filter_query. - Added recombinant org_name to the temp ds table. - Started writing the database validation.
wardi
reviewed
Apr 10, 2026
- Finalized ref value checks and errors in the db func. - Fixed up some other logic things.
- Started working on fiscal year function.
- Finalized fiscal year db function.
wardi
reviewed
Apr 17, 2026
wardi
reviewed
Apr 17, 2026
wardi
reviewed
Apr 18, 2026
wardi
reviewed
Apr 18, 2026
Member
|
just those minor things otherwise LGTM |
- Added change log file.
- Pyright fixes. - Flake8 fixes.
- Made service name fields computed ones. - Modified filter scripts for service name lookups.
- Filter script typo.
- Filter script typo.
❌ 19 Tests Failed:
View the top 3 failed test(s) by shortest run time
View the full list of 1 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
- Created new workflow to semi-automate stuffs.
- Removed service name computed fields.
- Trigger type cast.
wardi
reviewed
Apr 24, 2026
wardi
reviewed
Apr 24, 2026
wardi
approved these changes
Apr 24, 2026
- Trigger type cast.
Contributor
Author
|
TODO: update any tests for test_service.py and its make tests if needed. |
- Add db table and logic for reference data file hashes during load.
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.
We are able to consistently use the releases from the SI github to generate the CSV ref data we need. We have commands which load it into the tables which we define in an sql script in here. The part we were tripped on was relation between Service IDs and Program IDs, but there is no relation that is being defined or maintained currently so don't have to worry about that.
Just extended the temp datastore table to add an optional org_name to it, which we then use in the triggers. The Service ID one works fine, need to make the error message for it still.
The Program IDs one is gunna be interesting as Program IDs is a multiple select.