Skip to content

chore: sync main → dev#505

Closed
github-actions[bot] wants to merge 21 commits into
devfrom
main
Closed

chore: sync main → dev#505
github-actions[bot] wants to merge 21 commits into
devfrom
main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Automated sync of direct commits to main (e.g., workflow or hash updates) into dev.

  • Source: main
  • Target: dev
  • Commits ahead: 20

This PR is kept open and reused on subsequent main updates.

marc-romu and others added 20 commits May 17, 2026 15:50
Extend the main-to-dev sync allow-list to include changes under `tools/` so automation scripts (e.g., Update-ProviderModels.ps1) can propagate to stabilization branches alongside CI, rules, git hooks, and provider hashes.
…lt capability checks

Add Test-ModelDiscouragedForAllTools helper to filter out models with DiscouragedForTools='*' when validating composite default capabilities. Models discouraged for all tools are now excluded from both the capable models pool and default models pool during validation.
Extend the main-to-dev sync allow-list to include changes under `tools/` so automation scripts (e.g., Update-ProviderModels.ps1) can propagate to stabilization branches alongside CI, rules, git hooks, and provider hashes.
…lt capability checks

Add Test-ModelDiscouragedForAllTools helper to filter out models with DiscouragedForTools='*' when validating composite default capabilities. Models discouraged for all tools are now excluded from both the capable models pool and default models pool during validation.
#485)

chore(templates): update model-verification dropdown options

Co-authored-by: marc-romu <49920661+marc-romu@users.noreply.github.com>
#485)

chore(templates): update model-verification dropdown options

Co-authored-by: marc-romu <49920661+marc-romu@users.noreply.github.com>
Add Image2Text default to mistral-small-2603, ReasoningChat and ToolReasoningChat defaults to mistral-medium-3-5, Speech2Text default to voxtral-mini-2602, and Text2Speech default to voxtral-mini-tts-2603.
…signment

Switch from single-page listMilestones to paginate() to ensure all milestones are discovered when the repository has more than 30. Add recovery logic for 422 already_exists errors during milestone creation by re-listing and finding the existing milestone instead of failing, preventing race conditions when multiple jobs attempt concurrent creation.
chore: add provider hash manifest for version 1.4.2-rc (dual platform)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
The YAK upload workflow checks out the main branch, which may have
stale manifest text (e.g. 'alpha release') when uploading a release
from a stabilization branch (e.g. 1.4.2-rc). This adds a step to
dynamically update the manifest text based on the version being
uploaded, using the existing update-manifest-text action.

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The YAK upload workflow checks out the main branch, which may have
stale manifest text (e.g. 'alpha release') when uploading a release
from a stabilization branch (e.g. 1.4.2-rc). This adds a step to
dynamically update the manifest text based on the version being
uploaded, using the existing update-manifest-text action.

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
* ci: workflow restructuration — all phases (P0-P3)

Phase 1 (P0 - Critical):
- Convert dev-update-manifest.yml to PR-based (was pushing directly to protected dev)
- Add checkout before dispatch-required-pr-checks in main-sync-to-dev.yml
- Relax model default validation to two-tier (error vs warning) in Update-ProviderModels.ps1
- Fix nested pwsh call in release-3-pr-to-main-closed.yml
- Add PR source filtering to release-3 (only release/hotfix/dev-* branches)

Phase 2 (P1 - Standardization):
- Smart changelog validation in pr-validation.yml (skip chore PRs, downgrade to warning)
- Fix nested pwsh calls in dotnet-build action and CI workflows
- Make pr-delete-auto-branches failure-tolerant (graceful 404/422)
- Add --repo flag to gh pr list in release-2-pr-to-dev-closed.yml
- Update actions/github-script from v6.4.1 to v7 in issue label workflows
- Standardize actions/checkout to @v4 in 6 workflows (was SHA-pinned)
- Add guard clause to user-code-style.yml for protected branches
- Create .github/WORKFLOWS.md conventions doc

Phase 3 (P1 - Missing Features):
- Add milestone assignment to all chore workflows
- Add cross-reference comments to 31 overlapping workflows
- Add timeout-minutes to all 43+ workflows
- Document cancel-in-progress conventions in WORKFLOWS.md

Phase 4 (P2 - New Workflows):
- Create github-pr-auto-label.yml + .github/labeler.yml (path-based PR labels)
- Create github-issue-auto-label.yml + .github/issue-labeler.yml (content-based issue labels)
- Create github-stale-management.yml (stale issue/PR management)
- Create chore-changelog-review.yml (AI changelog review & simplification via mistral-chat)
- Add stale label to labels.yml

Phase 5 (P3 - Polish):
- Fix remaining nested pwsh calls (release-1, pr-license-headers, chore-copyright-year)
- Normalize gh pr create error handling across all workflows (graceful fallback)
- Add needs-attention label on failure to all chore PR workflows
- Add notify-on-failure jobs to critical workflows (release-1, release-3, main-sync-to-dev)

* Update pull request triggers for changelog review

Allow pull requests on dev and dev-* branches for changelog review.

* refactor: centralize manifest text in .manifest.json, add safe-commit action, simplify changelog review

- Remove dev-update-manifest.yml (noise PRs for text never shipped)
- Create yak-package/.manifest.json with note texts per release level
- Update manifest.yml to use {{NOTE_TEXT}} placeholder
- Rewrite update-manifest-text action to read from .manifest.json via jq
- Re-add update-manifest-text step to release-6-upload-yak.yml
- Create .github/actions/utils/safe-commit composite action (try push, fall back to PR)
- Rewrite chore-changelog-review.yml to simplify and commit changelog directly
- Update user-code-style.yml to use safe-commit instead of hardcoded branch guard
- Update cross-references in chore-version-badge/date/main-release workflows

* fix: update manifest validation to accept {{NOTE_TEXT}} placeholder

* Update .manifest.json

* refactor: remove pr-manifest-validation.yml and update cross-references

Manifest text is now a {{NOTE_TEXT}} placeholder resolved at build time
by release-6-upload-yak.yml, making the PR-time validation redundant.

* refactor: use GitHub API for fallback commit retrieval in changelog review

Replace git log fallback with gh api call to avoid local ref resolution issues when querying PR commits.

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Marc Roca-Musach <49920661+marc-romu@users.noreply.github.com>
…nchanged

Change exit code from 1 to 0 when no template changes are needed, preventing false failures in automation workflows.
Add graceful error handling when dispatching workflows fails, converting failures to warnings instead of stopping the action. This prevents issues when workflows lack workflow_dispatch triggers or need refresh.
Add default values (0) for token usage outputs to prevent empty string errors, guard review comment posting with commit method check to avoid posting when no commit was made, and add conditional token usage display to step summary only when AI review succeeds.
@github-actions github-actions Bot requested a review from marc-romu as a code owner May 18, 2026 12:17
Fix three-dot diff syntax to two-dot in pr-build-hash-validation.yml to properly compare against base branch, and add quotes around pwsh script invocation in pr-license-headers.yml to prevent shell parsing issues.
@marc-romu marc-romu closed this May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant