Permanent solution for tracking/testing assets
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 71
- Forks
- 27
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 33
Description
Introduction
- A PR is merged into
main. - The CI system runs all of the regression input files and produces several MFiles. From these MFiles, it extracts key variables to be 'tracked'.
- The CI system uploads these MFiles and tracking files to an external repository:
- The MFiles are downloaded by the regression tests both locally and on the CI to provide the 'reference' MFile against which codes changes are tested.
- The tracking files are used by the tracker to create a dashboard showing how key outputs change over time
The current state
The external data repository is currently a GitHub repository (https://github.com/timothy-nunn/process-tracking-data).
This is practically the industry-antistandard and was always intended to be a temporary solution. #3362 exposed the fragility of this solution due to the 1000 file limit on the GitHub API (regression tests silently used incorrect test assets and some tests were skipped where no test assets could be found).
The solution
It is clear that the current system is unsustainable and must be replaced with a proper solution.
I recommend a database solution optimised for storing files and key-value pairs. Some points to consider:
- The tracking data is JSON and could be stored as key-value pairs. The MFiles could then be stored separately in the database or a pointer to them in some CDN.
- In the future (medium to long term) the MFile will no longer exist and will be replaced by (probably) a JSON-compatible structure.
- The data is tree-like (data points for most commits on
main, therefore there is some order).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named. Start by mapping the current CI upload flow, regression-test asset download path, and tracking-data consumption; define a replacement storage design and migration whose assets remain reliable for local and CI regression tests and dashboard tracking.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github
- Domain
- ci-cd, database, testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100