Repository navigation
Open nightly failure issues for sample maintainers - #2
Conversation
Move each sample into its own folder (code, README, images, tests) so CODEOWNERS can own a sample with one line, and register maintainers there. When the nightly run against Newton main fails, a separate job with issues: write opens or updates one issue per failing sample, assigned to its CODEOWNERS. Failures outside the sample tests go to the owners of the nightly workflow.
6008983 to
da78d80
Compare
|
suggestion: Post a reminder comment on each open nightly-failure issue roughly every seven days while it remains unresolved, mentioning its CODEOWNERS. This would implement the reminders at days 7, 14, and 21 in CONTRIBUTING.md without notifying maintainers on every nightly failure. Please keep the remediation clock tied to the unresolved failure, so reminder comments do not reset it. suggestion (non-blocking): Automate removal through a pull request after the documented 28-day remediation window, accounting for approved extensions. The removal PR should link to the original compliance issue, and that issue should receive a link back to the PR. Track this separately in #4; reuse any existing removal PR and leave merging to maintainers. I approved this PR so we can do these in a follow up if you want |
Note
Stacked on #1. This branch builds on the contributor guidelines in #1, so the diff below also contains #1's commit until it merges. To review only this change, see commit 4e62996.
Summary
Implements the remediation step in
CONTRIBUTING.md("we will open a GitHub issue and assign it to you") for the nightly run against Newtonmain.One folder per sample. Each sample's code, README, images, and tests now live together in
examples/<category>/<sample>/, so a single CODEOWNERS line covers a sample and removing a sample means deleting one folder.get_examples()discoversexamples/<category>/<sample>/example_*.py;uv run -m examples <name>is unchanged.conftest.pymoves to the repository root; pytest collects fromexamples/.examples/*/*/) instead of listing files.CODEOWNERS. Adds
.github/CODEOWNERSwith the pulley sample folder and the shared repository infrastructure.Nightly failure issues. A new
reportjob innewton-main.ymlruns only when the GPU job fails onmain:issues: write; the GPU job running Newtonmainkeeps its read-only token.Testing
ruff check/ruff format --checkon the new lint paths.The
reportjob itself has not run in Actions yet; the first failing nightly (or a manual dispatch onmainwith a failing test) will exercise it.