Improve version maintenance agentic workflow#262
Conversation
- Fix NuGet API calls: use curl instead of urllib.request for proxy/SSL compatibility in the sandboxed AWF container - Add Python and .NET runtimes to workflow frontmatter - Distinguish unconditional vs conditional VersionPrefix: unconditional is set to latest NuGet version, conditional is patch-incremented - Only bump AssemblyVersion when VersionPrefix actually changes - Change schedule from daily to weekly - Use package names instead of file paths in PR summary table - Remove copilot-setup-steps.yml (replaced by runtimes frontmatter) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…rect The conditional VersionPrefix is now set to bump_patch(latest_nuget_version) rather than blindly incrementing its current value. If it already has the correct value, no change is made. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
This is a whole lot more text for the simple rule of "If IsPackable is true, and the Packable version exists on nuget, set IsPackable to false and increment all versions within the servicing property group in the same file". Can we try leaving it minimal and just referencing a "good" example commit?
|
Feel free to push into this PR with a simplified version. I didn't write this myself, this is the output of an LLM prompt. Most other agentic workflows that we are building in other repos also tend to be more verbose. |
|
These are instructions for an LLM running as part of gh agentic workflows under a restrictive environment - not for a human. Most of the prompt is handling these special requirements, i.e. providing a script and explaining how to handle the firewall section. The actual rules are roughly 10 sentences. |
Fixes issues from the first run of the version maintenance workflow (https://github.com/dotnet/maintenance-packages/actions/runs/22864461699):
Changes