[PR #4607] [MERGED] Sync stable CI hotfixes before v2.4.1 promotion #6441

Closed
opened 2026-10-23 04:10:28 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4607
Author: @SpicyMarinara
Created: 8/4/2026
Status: ✅ Merged
Merged: 8/4/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/sync-main-v2-4-1


📝 Commits (6)

  • 74b745d fix(ci): stabilize required checks for members (#4562)
  • 6625923 fix(ci): harden owner approval status
  • 72c8561 test(ci): cover dismissed owner approval
  • 83333ee Merge pull request #4564 from Pasta-Devs/hotfix/ci-required-checks
  • 2348592 Sync stable CI gate hardening
  • 5bd6110 Merge main into v2.4.1 staging

📊 Changes

4 files changed (+68 additions, -19 deletions)

View changed files

📝 .github/workflows/pull-request-triage.yml (+2 -7)
📝 scripts/evaluate-owner-approval.mjs (+22 -4)
📝 scripts/test-owner-approval.mjs (+33 -1)
📝 scripts/validate-pr-triage.mjs (+11 -7)

📄 Description

Linked issue

Fixes #4606.

Why this change

Engine promotion PR #4605 cannot merge cleanly because the stable main branch contains required-check and owner-approval hotfixes from #4562/#4564 that never flowed back into staging. The v2.4.1 release must preserve those hardened gates.

What changed

  • Restore the exact stable main versions of the four conflicting CI gate files on top of the v2.4.1 staging head.
  • Merge the current main history into this staging sync branch so promotion becomes ancestry-clean.
  • Preserve every v2.4.1 Engine file from staging; no product or release metadata is changed by this sync.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Automated focused validation: node scripts/test-owner-approval.mjs, node scripts/validate-pr-triage.mjs, exact file comparison against stable main, and git diff --check. The already-merged v2.4.1 staging content retains its prior full pnpm check and container-build evidence.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Translated docs on the docs-i18n branch updated to match, or a [docs-i18n] follow-up issue opened (see CONTRIBUTING.md § Translated documentation)
  • Version/release files updated (only if this PR includes a version bump)

No documentation or version files change in this history sync.

UI evidence (if applicable)

Not applicable; CI governance only.

Summary by CodeRabbit

  • Bug Fixes

    • Improved pull request triage by reliably identifying trusted contributors and applying template checks appropriately.
    • Enhanced owner approval evaluation by handling dismissed and non-decisive reviews correctly.
    • Added request timeouts and retries for more resilient approval status updates.
    • Improved compatibility with formatting variations in pull request workflow configuration.
  • Tests

    • Added coverage for non-staging pull requests, review-state handling, and transient status update failures.

🔄 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/4607 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/4/2026 **Status:** ✅ Merged **Merged:** 8/4/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/sync-main-v2-4-1` --- ### 📝 Commits (6) - [`74b745d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/74b745d92d7c6e0913dce433d7c80aec82ed3d14) fix(ci): stabilize required checks for members (#4562) - [`6625923`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6625923f59ac339626c1873fe53643ac1e915383) fix(ci): harden owner approval status - [`72c8561`](https://github.com/Pasta-Devs/Marinara-Engine/commit/72c85616f7715452050c7dc8086921e5bc7f0369) test(ci): cover dismissed owner approval - [`83333ee`](https://github.com/Pasta-Devs/Marinara-Engine/commit/83333ee2b60918e167d512ac6bd4516a8b6ec196) Merge pull request #4564 from Pasta-Devs/hotfix/ci-required-checks - [`2348592`](https://github.com/Pasta-Devs/Marinara-Engine/commit/2348592b9bdd57bc56449416d16a9faf673060b9) Sync stable CI gate hardening - [`5bd6110`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5bd611045522c1be26e745ad8127cf2306ac176a) Merge main into v2.4.1 staging ### 📊 Changes **4 files changed** (+68 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-triage.yml` (+2 -7) 📝 `scripts/evaluate-owner-approval.mjs` (+22 -4) 📝 `scripts/test-owner-approval.mjs` (+33 -1) 📝 `scripts/validate-pr-triage.mjs` (+11 -7) </details> ### 📄 Description ## Linked issue Fixes #4606. ## Why this change Engine promotion PR #4605 cannot merge cleanly because the stable `main` branch contains required-check and owner-approval hotfixes from #4562/#4564 that never flowed back into `staging`. The v2.4.1 release must preserve those hardened gates. ## What changed - Restore the exact stable `main` versions of the four conflicting CI gate files on top of the v2.4.1 staging head. - Merge the current `main` history into this staging sync branch so promotion becomes ancestry-clean. - Preserve every v2.4.1 Engine file from staging; no product or release metadata is changed by this sync. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated focused validation: `node scripts/test-owner-approval.mjs`, `node scripts/validate-pr-triage.mjs`, exact file comparison against stable `main`, and `git diff --check`. The already-merged v2.4.1 staging content retains its prior full `pnpm check` and container-build evidence. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Translated docs on the `docs-i18n` branch updated to match, or a `[docs-i18n]` follow-up issue opened (see CONTRIBUTING.md § Translated documentation) - [ ] Version/release files updated (only if this PR includes a version bump) No documentation or version files change in this history sync. ## UI evidence (if applicable) Not applicable; CI governance only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved pull request triage by reliably identifying trusted contributors and applying template checks appropriately. * Enhanced owner approval evaluation by handling dismissed and non-decisive reviews correctly. * Added request timeouts and retries for more resilient approval status updates. * Improved compatibility with formatting variations in pull request workflow configuration. * **Tests** * Added coverage for non-staging pull requests, review-state handling, and transient status update failures. <!-- 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-23 04:10:28 +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#6441
No description provided.