JACoB PR for Issue Add Skip Build functionality #98
  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.
  
    
  
    
Changes Performed:
Step 1: Add skipBuild flag to RunBuildCheckParams
Files:
/src/server/build/node/check.ts
Details:
Modify the RunBuildCheckParams interface to include a new optional boolean property named skipBuild. This will allow the runBuildCheck function to conditionally skip the build process based on this flag.
Exit Criteria
The RunBuildCheckParams interface includes a skipBuild flag, and the runBuildCheck function can conditionally skip the build process based on this flag.
Step 2: Extract skipBuild flag from GitHub issue text
Files:
/src/server/messaging/queue.ts
Details:
Update the onGitHubEvent function to extract the --skip-build flag from the GitHub issue text. Add this flag to the baseEventData object, which is used throughout the application to pass event-related data.
Exit Criteria
The onGitHubEvent function extracts the --skip-build flag from the issue text and includes it in the baseEventData object.
Step 3: Pass skipBuild flag in createTodo function
Files:
/src/server/utils/todos.ts
Details:
Modify the createTodo function to pass the skipBuild flag to subsequent functions if it is present in the issue text. This will ensure that the flag is propagated correctly throughout the application.
Exit Criteria
The createTodo function passes the skipBuild flag to subsequent functions if present in the issue text.
Step 4: Include skipBuild flag in extracted issue information
Files:
/src/server/api/issues.ts
Details:
Update the getExtractedIssues function to include the skipBuild flag in the extracted issue information. This will ensure that the flag is available when processing issues.
Exit Criteria
The getExtractedIssues function includes the skipBuild flag in the extracted issue information.
Step 5: Add skipBuild field to ExtractedIssueInfoSchema
Files:
/src/server/code/extractedIssue.ts
Details:
Modify the ExtractedIssueInfoSchema to include a field for the skipBuild flag. This will allow the schema to validate the presence of the flag in extracted issue information.
Exit Criteria
The ExtractedIssueInfoSchema includes a field for the skipBuild flag.