[PR #1401] [MERGED] [codex] Tighten PR template issue-link workflow #5068

Closed
opened 2026-10-22 04:12:56 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1401
Author: @Xelvanis
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @Xelvanis

Base: refactor ← Head: codex/pr-template-issue-link-gate


📝 Commits (2)

  • 365cec5 Tighten PR template issue-link workflow
  • 6f742e3 Clarify PR issue auto-close guidance

📊 Changes

1 file changed (+5 additions, -1 deletions)

View changed files

📝 skills/marinara-agent-workflow/references/workflows/review-and-pr.md (+5 -1)

📄 Description

Linked issue

N/A - workflow guidance follow-up from PR #1399.

Why this change

  • The PR shipping workflow already required drafting external PR text, and the PR template already had a Linked issue section, but the workflow did not explicitly require agents to load the template, preserve its sections, fill issue-link placeholders with auto-closing syntax, or verify the submitted body after creation.

What changed

  • Added a PR shipping gate to use .github/pull_request_template.md when it exists.
  • Added a PR shipping gate to fill linked issue fields with a GitHub closing keyword such as Closes #123 for issue-backed work, so GitHub links the PR and automatically closes the issue on merge.
  • Clarified that a bare issue reference such as #123 is not enough when merge-time auto-close is intended.
  • Added an after-creation check to re-read the submitted PR body and fix missing template sections or closing-keyword issue linkage immediately.

Refactor impact

Primary owner:

  • Repo agent workflow guidance.

Impact areas reviewed:

  • PR shipping gates.
  • After-push/after-create PR workflow.
  • Current PR template expectations.

Boundary notes:

  • Docs/skill guidance only.
  • No app, engine, shared API, Rust, or remote-runtime behavior changed.

Pressure points touched:

  • skills/marinara-agent-workflow/references/workflows/review-and-pr.md

Validation

  • pnpm check passes locally
  • pnpm typecheck passes locally
  • pnpm build passes locally
  • pnpm check:architecture passes locally
  • pnpm check:docs passes locally
  • cargo check --manifest-path src-tauri/Cargo.toml --workspace passes locally
  • Rust clippy/tests were run for Rust behavior changes
  • Browser or Tauri app manual verification completed
  • Playwright, screenshot, or recording evidence added for UI changes
  • Remote runtime smoke checked when relevant

Agent-run local proof:

  • pnpm check:docs

Manual verification notes

  • Read .github/pull_request_template.md and the review-and-PR workflow card.
  • Confirmed this PR body preserves the template sections and explains why no linked issue is closed.

Docs and release impact

  • No docs changes needed
  • Updated README.md
  • Updated CONTRIBUTING.md
  • Updated docs/developer/
  • Updated repo skills or AGENTS.md
  • Confirmed this PR does not restore old staging/package-workspace/release claims

Notes:

  • Updated repo skill workflow guidance.
  • No product docs, changelog, or release note changes needed for this process-only change.
  • This PR does not restore old staging/package-workspace/release claims.

UI evidence

N/A - no UI changes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/1401 **Author:** [@Xelvanis](https://github.com/Xelvanis) **Created:** 5/27/2026 **Status:** ✅ Merged **Merged:** 5/27/2026 **Merged by:** [@Xelvanis](https://github.com/Xelvanis) **Base:** `refactor` ← **Head:** `codex/pr-template-issue-link-gate` --- ### 📝 Commits (2) - [`365cec5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/365cec54aae57436a77eec70b1f1bf45fc349e48) Tighten PR template issue-link workflow - [`6f742e3`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6f742e32c26531001e3d3c479e21da3c415ec383) Clarify PR issue auto-close guidance ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `skills/marinara-agent-workflow/references/workflows/review-and-pr.md` (+5 -1) </details> ### 📄 Description <!-- Target branch: `refactor`. Change the base to `refactor` before submitting unless a maintainer explicitly asked for another base. --> <!-- Keep all checkboxes unchecked until a human has actually verified them. --> ## Linked issue N/A - workflow guidance follow-up from PR #1399. ## Why this change - The PR shipping workflow already required drafting external PR text, and the PR template already had a `Linked issue` section, but the workflow did not explicitly require agents to load the template, preserve its sections, fill issue-link placeholders with auto-closing syntax, or verify the submitted body after creation. ## What changed - Added a PR shipping gate to use `.github/pull_request_template.md` when it exists. - Added a PR shipping gate to fill linked issue fields with a GitHub closing keyword such as `Closes #123` for issue-backed work, so GitHub links the PR and automatically closes the issue on merge. - Clarified that a bare issue reference such as `#123` is not enough when merge-time auto-close is intended. - Added an after-creation check to re-read the submitted PR body and fix missing template sections or closing-keyword issue linkage immediately. ## Refactor impact Primary owner: - Repo agent workflow guidance. Impact areas reviewed: - PR shipping gates. - After-push/after-create PR workflow. - Current PR template expectations. Boundary notes: - Docs/skill guidance only. - No app, engine, shared API, Rust, or remote-runtime behavior changed. Pressure points touched: - `skills/marinara-agent-workflow/references/workflows/review-and-pr.md` ## Validation <!-- Checkboxes intentionally left unchecked per template instruction until a human verifies them. --> - [ ] `pnpm check` passes locally - [ ] `pnpm typecheck` passes locally - [ ] `pnpm build` passes locally - [ ] `pnpm check:architecture` passes locally - [ ] `pnpm check:docs` passes locally - [ ] `cargo check --manifest-path src-tauri/Cargo.toml --workspace` passes locally - [ ] Rust clippy/tests were run for Rust behavior changes - [ ] Browser or Tauri app manual verification completed - [ ] Playwright, screenshot, or recording evidence added for UI changes - [ ] Remote runtime smoke checked when relevant Agent-run local proof: - `pnpm check:docs` ### Manual verification notes - Read `.github/pull_request_template.md` and the review-and-PR workflow card. - Confirmed this PR body preserves the template sections and explains why no linked issue is closed. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated `README.md` - [ ] Updated `CONTRIBUTING.md` - [ ] Updated `docs/developer/` - [x] Updated repo skills or `AGENTS.md` - [x] Confirmed this PR does not restore old staging/package-workspace/release claims Notes: - Updated repo skill workflow guidance. - No product docs, changelog, or release note changes needed for this process-only change. - This PR does not restore old staging/package-workspace/release claims. ## UI evidence N/A - no UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:12:56 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#5068
No description provided.