Repository navigation
Remove Upload Config step generation from Copilot engine - #1067
Merged
Merged
Conversation
Co-authored-by: pelikhan <[email protected]>
Co-authored-by: pelikhan <[email protected]>
Copilot
AI
changed the title
[WIP] Remove the code generation of the "Upload Config" step.
Remove Upload Config step generation from Copilot engine
Sep 27, 2025
pelikhan
marked this pull request as ready for review
September 27, 2025 10:37
pelikhan
deleted the
copilot/fix-b5de4762-6bf9-4cb7-8cd4-020990da6a19
branch
September 27, 2025 10:44
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.
Removes the automatic generation of the "Upload Config" step in the Copilot engine's workflow execution steps.
Problem
The Copilot engine was automatically generating an "Upload Config" step that uploaded the
/tmp/.copilot/directory as a GitHub Actions artifact. This step was unnecessary and added overhead to workflow executions.Solution
generateUploadConfigStep()method - Eliminated the function that was creating the upload artifact stepGetExecutionSteps()that was automatically adding the upload config step to all Copilot workflowsImpact
The Copilot engine now generates a cleaner workflow with exactly 2 steps:
Before this change, workflows included an unnecessary third step:
This step is now removed, reducing workflow complexity and execution time while preserving all essential functionality including tool permissions, environment setup, and logging capabilities.
Testing
Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.