Uh oh!
There was an error while loading. Please reload this page.
Split update-project into create-project and update-project safe outputs#6077
Conversation
…e projects Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
mnkiefer
commented
Dec 11, 2025
@pelikhan: As discussed yesterday, this splits the |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
pelikhan
commented
Dec 11, 2025
Did you test it with dev.md ? |
… to helper, normalize project name, remove PROJECT_GITHUB_TOKEN Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
mnkiefer
commented
Dec 11, 2025
This would mean modifying dev to test the create & update project scenarios and pushing that to main, then selecting this branch for testing? So if anyone else is currently testing their stuff with dev, they would be blocked, no? |
pelikhan
commented
Dec 11, 2025
No
|
pelikhan
commented
Dec 11, 2025
Additionally, we should have at least one active agent uses these in some way. I think issue monster could maybe create a project when it discovers a cluster with 10+ issues |
pelikhan
commented
Dec 11, 2025
The job failed silently. Needs to fail the job. https://github.com/githubnext/gh-aw/actions/runs/20135501447/job/57787808209#step:4:1 |
pelikhan
commented
Dec 11, 2025
Well known environement variables should be prefixed with GH_AW_... |
mnkiefer
commented
Dec 11, 2025
Yes, still working on it, will ping you when ready. 👍🏼 |
pelikhan
commented
Dec 11, 2025
De-prioritized. |
Summary of Changes
Addressed all PR feedback from @pelikhan:
Changed default max from 10 to 1 for create-project
create_project.go,safe_outputs.go,main_workflow_schema.json, and documentationMoved generateCampaignId to separate helper file
project_helpers.cjswithgenerateCampaignIdand newnormalizeProjectNamefunctionsproject_helpers.test.cjs(28 tests covering edge cases)Added project name normalization
Removed PROJECT_GITHUB_TOKEN handling
github-tokenparameter in step'swithsectionFiles Modified
pkg/workflow/create_project.go- Changed default max to 1pkg/workflow/safe_outputs.go- Changed default max to 1pkg/parser/schemas/main_workflow_schema.json- Updated schema defaultsdocs/src/content/docs/reference/safe-outputs.md- Updated documentationpkg/workflow/js/create_project.cjs- Use helpers, normalize names, remove PROJECT_GITHUB_TOKENpkg/workflow/js/create_project.test.cjs- Import generateCampaignId from helperFiles Added
pkg/workflow/js/project_helpers.cjs- Shared helper functionspkg/workflow/js/project_helpers.test.cjs- Comprehensive test suite (28 tests)Validation
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.