[PR #1769] [MERGED] chore: tighten discovery metadata PR gate #5273

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1769
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte

Base: refactor ← Head: chore/discovery-na-gate


📝 Commits (2)

  • fdcd95a Tighten discovery metadata PR gate
  • fd66414 Address discovery template spacing feedback

📊 Changes

2 files changed (+105 additions, -3 deletions)

View changed files

📝 .github/pull_request_template.md (+11 -1)
📝 scripts/check-discovery-metadata.mjs (+94 -2)

📄 Description

Linked issue

Refs #1765

Why this change

  • The discovery PR gate correctly catches user-facing changes without Discover metadata, but contributors and automation need a clearer way to mark intentional N/A cases without treating N/A as a free pass.

What changed

  • Added a dedicated Feature Discoverability section to the PR template with "check exactly one" guidance.
  • Updated the discovery metadata checker to accept missing Discover metadata only when the PR body explicitly checks N/A and includes a non-empty reason.
  • Kept registry validation mandatory.

Refactor impact

Primary owner:

  • docs/workflow

Impact areas reviewed:

  • Discovery metadata CI gate
  • PR template guidance for contributors and automation

Boundary notes:

  • Workflow-only change; no product runtime behavior changes.

Pressure points touched:

  • PR template
  • scripts/check-discovery-metadata.mjs

Validation

  • Matching validation command passes locally (for example pnpm typecheck, pnpm build, pnpm check:architecture, pnpm check:docs, or full pnpm check when warranted)
  • pnpm check passes locally before PR push/handoff, including the unused-code check
  • 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
  • Browser screenshot/recording evidence added when UI/browser state is the claim
  • Remote runtime smoke checked when relevant

Manual verification notes

  • Codex ran pnpm check:discovery.
  • Codex ran pnpm check:docs.
  • Codex verified PR-aware discovery behavior against a #1765-style diff:
    • no Feature Discoverability choice fails
    • N/A without a reason fails
    • N/A with a reason passes

Feature Discoverability

Check exactly one:

  • Updated src/features/shell/discovery/ because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, helper automation, media capability, or advanced tool.
  • N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find.

Reason:

  • Workflow-only PR gate/template change; no new user-facing product surface.

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

UI evidence (if applicable)

N/A

Summary by CodeRabbit

  • Chores
    • Updated internal pull request processes and validation workflows to improve development efficiency and metadata tracking consistency.

🔄 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/1769 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 6/1/2026 **Status:** ✅ Merged **Merged:** 6/1/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `refactor` ← **Head:** `chore/discovery-na-gate` --- ### 📝 Commits (2) - [`fdcd95a`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fdcd95a620979adb762dbf40402ad726e05c9f54) Tighten discovery metadata PR gate - [`fd66414`](https://github.com/Pasta-Devs/Marinara-Engine/commit/fd664143e8176420e9bd502698da7682f5b2f7cd) Address discovery template spacing feedback ### 📊 Changes **2 files changed** (+105 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `.github/pull_request_template.md` (+11 -1) 📝 `scripts/check-discovery-metadata.mjs` (+94 -2) </details> ### 📄 Description ## Linked issue Refs #1765 ## Why this change - The discovery PR gate correctly catches user-facing changes without Discover metadata, but contributors and automation need a clearer way to mark intentional N/A cases without treating N/A as a free pass. ## What changed - Added a dedicated Feature Discoverability section to the PR template with "check exactly one" guidance. - Updated the discovery metadata checker to accept missing Discover metadata only when the PR body explicitly checks N/A and includes a non-empty reason. - Kept registry validation mandatory. ## Refactor impact Primary owner: - docs/workflow Impact areas reviewed: - Discovery metadata CI gate - PR template guidance for contributors and automation Boundary notes: - Workflow-only change; no product runtime behavior changes. Pressure points touched: - PR template - `scripts/check-discovery-metadata.mjs` ## Validation - [ ] Matching validation command passes locally (for example `pnpm typecheck`, `pnpm build`, `pnpm check:architecture`, `pnpm check:docs`, or full `pnpm check` when warranted) - [ ] `pnpm check` passes locally before PR push/handoff, including the unused-code check - [ ] `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 - [ ] Browser screenshot/recording evidence added when UI/browser state is the claim - [ ] Remote runtime smoke checked when relevant ### Manual verification notes - Codex ran `pnpm check:discovery`. - Codex ran `pnpm check:docs`. - Codex verified PR-aware discovery behavior against a #1765-style diff: - no Feature Discoverability choice fails - N/A without a reason fails - N/A with a reason passes ## Feature Discoverability Check exactly one: - [ ] Updated `src/features/shell/discovery/` because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, helper automation, media capability, or advanced tool. - [x] N/A because this PR is only a bugfix, refactor, test, docs, internal wiring, visual polish, copy edit, or compatibility fix and does not add a new thing users need to find. Reason: - Workflow-only PR gate/template change; no new user-facing product surface. ## 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 ## UI evidence (if applicable) N/A <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated internal pull request processes and validation workflows to improve development efficiency and metadata tracking consistency. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-22 04:14:48 +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#5273
No description provided.