Skip to content

Add PR template, YAML issue forms, and CONTRIBUTING.md#113

Merged
dgenio merged 5 commits intomainfrom
copilot/add-pr-template-issue-forms
Apr 14, 2026
Merged

Add PR template, YAML issue forms, and CONTRIBUTING.md#113
dgenio merged 5 commits intomainfrom
copilot/add-pr-template-issue-forms

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 12, 2026

No structured contribution infrastructure existed — no PR template, issue forms, or contributor guide — increasing review friction for both human and AI contributors.

Summary

Adds the full contribution scaffolding: PR template, YAML issue forms, and a root-level CONTRIBUTING.md.

Changes

  • .github/pull_request_template.md — PR template with Summary, Changes, Testing checklist (pytest/ruff/mypy), Related Issues, and Checklist sections; references AGENTS.md as the canonical conventions source
  • .github/ISSUE_TEMPLATE/bug_report.yml — structured bug form: description, steps to reproduce, expected/actual behavior (all required), Python version dropdown (3.10–3.13), ChainWeaver version, optional additional context
  • .github/ISSUE_TEMPLATE/feature_request.yml — structured feature form: description and use case (required), proposed solution and alternatives (optional)
  • .github/ISSUE_TEMPLATE/config.ymlblank_issues_enabled: true
  • CONTRIBUTING.md — dev setup (pip install -e ".[dev]"), test/lint/typecheck commands, code style expectations (type annotations, Pydantic schemas, canonical vocabulary), PR/branch/commit conventions, issue reporting guidance, pointer to AGENTS.md and docs/agent-context/

Testing

  • All existing tests pass (pytest)
  • New tests added for new functionality
  • Linting passes (ruff check)
  • Type checking passes (mypy)

Related Issues

Checklist

  • Code follows project conventions (see AGENTS.md and docs/agent-context/)
  • Public API changes are documented
  • No secrets or credentials included

Copilot AI linked an issue Apr 12, 2026 that may be closed by this pull request
6 tasks
Copilot AI changed the title [WIP] Add PR template, YAML issue forms, and CONTRIBUTING.md Add PR template, YAML issue forms, and CONTRIBUTING.md Apr 12, 2026
Copilot AI requested a review from dgenio April 12, 2026 14:35
@dgenio dgenio marked this pull request as ready for review April 12, 2026 14:41
@dgenio dgenio requested a review from Copilot April 12, 2026 14:41
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds standardized contribution infrastructure (PR template, YAML issue forms, and a contributor guide) to reduce review friction and align contributors with the repo’s canonical conventions.

Changes:

  • Added root-level CONTRIBUTING.md with setup, validation commands, and PR/issue guidance.
  • Added a PR template with required sections and a testing checklist.
  • Added GitHub Issue Forms for bug reports and feature requests, plus issue template config.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
CONTRIBUTING.md New contributor guide covering setup, validation commands, conventions, and PR/issue process.
.github/pull_request_template.md New PR template with required sections and a testing checklist.
.github/ISSUE_TEMPLATE/bug_report.yml Structured bug report form (required repro + expected/actual + versions).
.github/ISSUE_TEMPLATE/feature_request.yml Structured feature request form (description/use case required).
.github/ISSUE_TEMPLATE/config.yml Enables blank issues in addition to forms.

Comment thread CONTRIBUTING.md Outdated
Comment thread .github/pull_request_template.md Outdated
dgenio added 3 commits April 14, 2026 05:51
- CONTRIBUTING.md: change bare \pytest tests/ -v\ to \python -m pytest tests/ -v\
  in the quick-start block (workflows.md Command-selection rules require python -m prefix)
- .github/pull_request_template.md: add missing \
uff format --check\ step and
  use canonical scoped invocations (chainweaver/ tests/ examples/) for all four
  validation commands; replace bare \pytest\/\mypy\ with \python -m\ forms
- tests/test_flow_execution.py: fix pre-existing Python 3.14 compatibility break —
  ZeroDivisionError message shortened from 'integer division or modulo by zero'
  to 'division by zero'; use any() to handle both Python versions
- Dep policy: replace 'only when strictly necessary' with 'judiciously —
  only when they deliver clear value and are well-maintained' to match
  AGENTS.md §1 and maintainer preference (deps are welcome with justification)
- PR process: replace 'Split unrelated changes into separate PRs' with
  the nuanced AGENTS.md inv. 12 wording — a feature + tests + docs is
  one logical change; only split if genuinely unrelated
- Dev setup: add python -m venv .venv step before pip install to prevent
  accidental global installs by new contributors
Conflict between our any()-based Python 3.14 workaround and main's
cleaner record.error.detail set-membership check. Resolved in favour
of main's approach — .detail is the structured attribute on
FlowExecutionError, making the check more precise than str() comparison.
@dgenio dgenio merged commit c789eed into main Apr 14, 2026
4 checks passed
@dgenio dgenio deleted the copilot/add-pr-template-issue-forms branch April 14, 2026 05:01
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.

Add PR template, YAML issue forms, and CONTRIBUTING.md

3 participants