Repository navigation
ci: post the scheduled conda and Python-version reports to Discussions (#2030) - #2039
Conversation
|
GOOD TO GO at
|
|
Coverage: 91.54% (unit tier, Python 3.15,
Per-file detail: the |
4720eb4 to
a15bad8
Compare
a15bad8 to
0b49669
Compare
|
Rebased onto #2033's new head: |
0b49669 to
a967bea
Compare
|
Rebase only, no new changes: |
#2030) - cron-conda.yml: `conda-update` writes and uploads a run report (pin notices and warnings, changed files, the build pushed) and a `warning` status for a pin warning; `Refresh the platform pins` keeps its output in a log under `pipefail`. A `discussion` job, alone holding `discussions: write`, adds the tag and upload results and posts it, `push` on `workflow_run` and `scheduled` otherwise, with a report of its own for a failed or cancelled gate. - cron-python-versions.yml: `detect` writes and uploads a report from the plan (tiers moved, notes, audit, why no pull request opens); a `discussion` job posts it as `scheduled`, needing `detect` alone so the `github-release` approval never holds it. - tests/project/test_cron_reports_2030.py: the workflow pins, and each report and post step run with stand-ins; the existing job, output and refresh-step pins follow. - workflows.rst: CI Reports covers both workflows.
a967bea to
885a65e
Compare
|
Rebased onto |
|
ready for review? |
|
Ordering check on |
make pylint,make mypy,make isort)make testpasses, and a test case covers the changeWhat is the purpose of your pull request?
ci— workflows or build toolingDescription of your pull request and other information
#2030 PR 3. Stacked on #2033, so review only the top commit. Draft:
cron-condaalso runs onworkflow_runafter pushes, so its push mode depends on the open "warned" question on #2030.cron-python-versions.yml, scheduled only:detectwrites a report fromplan.json. The report lists tier moves, regenerated files, ruleset edits, notes, audit and PR outcome. Adiscussionjob posts it inscheduledmode tocron-python-versions: Python version update report. That job holds onlycontents: readanddiscussions: write, and it does not wait forpr, which waits on environment approval.cron-conda.yml:conda-updatereports pin notices and warnings, changed files and the pushed build. Thediscussionjob adds the tag and upload results. It uses ci: post CI reports to a Discussions thread per job (#2030) #2033's event-to-mode mapping and gate-failure path, posting tocron-conda: conda distribution update report.Refresh the platform pinsnow tees its output underpipefail, and a test pins that a failing refresh still fails the step.deploy-pages,project-statusandcodeql-analysisare not wired. They produce no report a thread adds to.Pins fail on #2033's workflows (
46 failed) and pass here (25 passed). Every file naming these workflows or readingworkflows.rstgives900 passed.Open: in push mode an overdue pin warning would post on every verified
mainpush until it is renewed.