Repository navigation
QA: add pull request template with asset policy and safety checklist - #543
pushkarreddyy wants to merge 2 commits into
Conversation
Technical Verification & Implementation DetailsContext & ArchitectureWith a high volume of community contributions, establishing a standardized Pull Request template is critical for Quality Assurance and maintaining project integrity. Contributors must be explicitly prompted to verify compliance with Rule #1, code formatting, and safety comments. Changes & Template Structure
Git Log Line & Verification
|
Call for Maintainer Review & MergeInfrastructure and quality assurance improvement:
@Marvisak: Ready for review and merge when convenient! |
mercuryVM
left a comment
There was a problem hiding this comment.
Read only, not built: a PR template file. The workspace builds and tests at 83447df (264 passed, 0 failed) on Windows 11, RTX 5070, MSVC.
.github/pull_request_template.mdis only a Markdown template GitHub pre-fills. No workflow and nothing executable.- One wording fix:
cargo fmt --edition 2024is not acargo fmtflag, which takes rustfmt options after--. The workspace edition is already 2024 inCargo.toml(and inrustfmt.tomlif #547 lands), so the checkbox should just say "Formatted withcargo fmt". As written, it suggests a command that fails. - Since
cargo fmt --all --checkalready fails on main, "formatted" probably needs to mean "the changed lines". Saying so would keep contributors from reformatting untouched files.
AI-assisted (Claude Code).
|
Thanks for the suggestion @mercuryVM! Updated the checkbox in commit This avoids suggesting an invalid CLI flag and clarifies that only changed lines need formatting. |
mercuryVM
left a comment
There was a problem hiding this comment.
Re-checked c9e5db8 (read only, template text). The checkbox now says "Formatted changed lines with cargo fmt", which fixes the command cargo rejects and matches the reality that main isn't fully formatted. Approving.
AI-assisted (Claude Code).
…set policy and safety checklist Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
catminou4
left a comment
There was a problem hiding this comment.
Good template — it encodes the repo's actual rules rather than generic boilerplate: the asset-policy check (cargo xtask policy), the // SAFETY: requirement for unsafe blocks, and the toolchain verification step all match how this workspace operates. The HTML-comment hints keep it usable for both humans and agents.
Applied as the net diff of upstream PR Marvisak#543 (head c9e5db8), 2 commits: c9e5db8,83447dfa.
c9e5db8 to
c0d1002
Compare
…nd safety checklist
…nd safety checklist
|
Automated triage for the maintainers. Closing because another open pull request covers the same change. See #113. A PR template only; #113 carries a shorter one that also asks what was tested and whether an AI wrote the change. If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
Motivation
With a high volume of community contributions and pull requests, establishing a standardized Pull Request template is critical for Quality Assurance and maintaining project integrity.
Crucially, every contributor must be explicitly reminded and asked to certify compliance with Rule #1 (Asset Policy), code formatting with Rust 2024, and
// SAFETY:explanations for all unsafe blocks.Solution
.github/pull_request_template.md.No game files used.