Skip to content

Automatically prioritize preset submissions - #4848

Merged
mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem-automatic-preset-triage
Oct 6, 2026
Merged

mnriem merged 1 commit into
github:mainfrom
mnriem:mnriem-automatic-preset-triage

Conversation

@mnriem

@mnriem mnriem commented Oct 6, 2026

Copy link
Copy Markdown
Collaborator

Description

Automatically apply the triage-must-have verdict to issues opened through the Preset Submission form. The form now applies only that label; the separate maintainer-applied preset-submission label continues to gate catalog validation.

This uses deterministic native issue-form metadata instead of issue-content heuristics or a workflow with write permissions. Other issue forms and the manual triage rubric remain unchanged. The publishing guide documents the intake behavior and the automated draft-PR lifecycle, and regression coverage verifies both the preset form and negative cases for every other issue form.

Testing

  • Tested locally with uv run specify --help — not applicable; no CLI behavior changed
  • Ran existing tests with uv sync && uv run pytest
  • Tested with a sample project (if applicable) — not applicable; this is GitHub issue-form configuration

Validation results:

  • uv sync --extra test — passed
  • LC_ALL=en_US.UTF-8 .venv/bin/python -m pytest — 9,689 passed, 19 skipped
  • .venv/bin/python -m pytest tests/test_github_workflows.py -q — 121 passed
  • uvx ruff@0.15.0 check tests/test_github_workflows.py — passed
  • git diff --check — passed

AI Disclosure

  • I did not use AI assistance for this contribution
  • I did use AI assistance (fill in the disclosure below)

AI disclosure: Implemented with GitHub Copilot using GPT-5.6 Sol in autonomous mode. Copilot investigated the existing issue forms and workflows, changed the issue-form configuration and publishing documentation, added regression tests, ran validation, and prepared this pull request on behalf of @mnriem.

Copilot AI balanced review requested due to automatic review settings October 6, 2026 13:36

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.

Copilot review overview

🟢 Approval recommended

The configuration, documentation, and regression coverage consistently implement the intended behavior.

Review effort: Balanced
Findings: None

What changed in this PR

Automatically prioritizes preset submissions while retaining maintainer-controlled catalog validation.

Changes:

  • Applies only triage-must-have on preset issue creation.
  • Documents the intake and draft-PR lifecycle.
  • Adds positive and negative regression coverage.
File Description
.github/​ISSUE_TEMPLATE/​preset_submission.yml Updates automatic labeling and guidance.
presets/​PUBLISHING.md Documents submission processing.
tests/​test_github_workflows.py Verifies preset-only labeling.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Assisted-by: GitHub Copilot (model: GPT-5.6 Sol, autonomous)

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI balanced review requested due to automatic review settings October 6, 2026 13:45
@mnriem
mnriem force-pushed the mnriem-automatic-preset-triage branch from 28d246e to 4bd90d4 Compare October 6, 2026 13:45

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.

Copilot review overview

🟢 Approval recommended

The focused configuration change is consistent with existing extension behavior and has appropriate regression coverage.

Review effort: Balanced
Findings: None

@mnriem
mnriem merged commit 9fb13c1 into github:main Oct 6, 2026
15 checks passed
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