You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Checkout the starting branch, if provided. If not provided, create feature branch, and check it out
Write instructions for post-processing to disk, if there are are CCMs.
Queue repository for processing. (Python Queue data structure)
Processing
Retrieve changeset spec
Run Filters, Code Changes
Save results no-match, match, failure.
Post-Processing
Write/return results for no-match, and failure, comment + close any existing issues/prs
For matches without file changes, create/update existing issues
For matches with file changes, create/update PRs.
Implementation
Overall, the process must leverage multithreading, since the nature of the work is primarily IO-bound - especially pre and post processing.. I'm picturing using python Queues to pass objects in between phases. Queues will enable us to define the level of parallelism at each layer, as well as max queue size, etc. We want this to be lightning fast locally.
What should the objects passed from Pre-Process to Process look like? And from Process to Post-Process? We'll probably want models representing the results of pre-processing, processing, and post-processing.
The text was updated successfully, but these errors were encountered:
Repository Processing Steps
Pre-Processing
Processing
no-match
,match
,failure
.Post-Processing
Implementation
Overall, the process must leverage multithreading, since the nature of the work is primarily IO-bound - especially pre and post processing.. I'm picturing using python Queues to pass objects in between phases. Queues will enable us to define the level of parallelism at each layer, as well as max queue size, etc. We want this to be lightning fast locally.
What should the objects passed from Pre-Process to Process look like? And from Process to Post-Process? We'll probably want models representing the results of pre-processing, processing, and post-processing.
The text was updated successfully, but these errors were encountered: