[PR #997] [MERGED] ci: add staging issue status labels #4877

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/997
Author: @cha1latte
Created: 5/19/2026
Status: ✅ Merged
Merged: 5/19/2026
Merged by: @cha1latte

Base: main ← Head: codex/fix-fixed-in-staging-label


📝 Commits (2)

  • bd0983d ci: add staging issue status labels
  • 5694f98 ci: cache staging issue status lookup

📊 Changes

1 file changed (+194 additions, -0 deletions)

View changed files

➕ .github/workflows/issue-status-from-prs.yml (+194 -0)

📄 Description

Linked issue

Related: #979, #980, #981

Why this change

  • Issues #979, #980, and #981 were fixed by PRs merged into staging, but they did not receive the fixed-in-staging label.
  • The status workflow existed only on the staging-side branch, while pull_request_target runs from the base repository's default-branch context.
  • The draft workflow also used a staging label name even though the repository's real status label is fixed-in-staging.

What changed

  • Added the issue-status workflow on main, where GitHub can load it for pull_request_target events.
  • Scoped the workflow to pull requests targeting staging.
  • Made merged staging PRs add fixed-in-staging and keep in-pr cleanup behavior for open staging PRs.
  • Backfilled fixed-in-staging manually on #979, #980, and #981 because their already-merged PR events cannot replay.

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

  • Codex ran node scratch\issue-status-label-repro.mjs; it passes and confirms the workflow has the pull_request_target staging trigger, defines fixed-in-staging, adds fixed-in-staging on merged PRs, and does not use the legacy staging label.
  • Codex ran pnpm exec prettier --check .github/workflows/issue-status-from-prs.yml; it passed.
  • Codex ran pnpm check; it passed after installing dependencies in the clean worktree.
  • Codex verified #979, #980, and #981 now have the fixed-in-staging label on GitHub.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

No app docs, release metadata, schema, dependency, auth, storage, or prompt-pipeline changes.

UI evidence (if applicable)

N/A - GitHub Actions workflow/status-label automation only.

Summary by CodeRabbit

  • Chores
    • Added automated workflow to sync pull request and issue statuses, improving development process tracking and issue label management.

Review Change Stack


🔄 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/997 **Author:** [@cha1latte](https://github.com/cha1latte) **Created:** 5/19/2026 **Status:** ✅ Merged **Merged:** 5/19/2026 **Merged by:** [@cha1latte](https://github.com/cha1latte) **Base:** `main` ← **Head:** `codex/fix-fixed-in-staging-label` --- ### 📝 Commits (2) - [`bd0983d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/bd0983da5cedff009babaa52a7a3409228b2ecfd) ci: add staging issue status labels - [`5694f98`](https://github.com/Pasta-Devs/Marinara-Engine/commit/5694f98803b9586a6f9fe40bad8f38ec70541adc) ci: cache staging issue status lookup ### 📊 Changes **1 file changed** (+194 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/issue-status-from-prs.yml` (+194 -0) </details> ### 📄 Description ## Linked issue Related: #979, #980, #981 ## Why this change - Issues #979, #980, and #981 were fixed by PRs merged into `staging`, but they did not receive the `fixed-in-staging` label. - The status workflow existed only on the staging-side branch, while `pull_request_target` runs from the base repository's default-branch context. - The draft workflow also used a `staging` label name even though the repository's real status label is `fixed-in-staging`. ## What changed - Added the issue-status workflow on `main`, where GitHub can load it for `pull_request_target` events. - Scoped the workflow to pull requests targeting `staging`. - Made merged staging PRs add `fixed-in-staging` and keep `in-pr` cleanup behavior for open staging PRs. - Backfilled `fixed-in-staging` manually on #979, #980, and #981 because their already-merged PR events cannot replay. ## 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 - Codex ran `node scratch\issue-status-label-repro.mjs`; it passes and confirms the workflow has the `pull_request_target` staging trigger, defines `fixed-in-staging`, adds `fixed-in-staging` on merged PRs, and does not use the legacy `staging` label. - Codex ran `pnpm exec prettier --check .github/workflows/issue-status-from-prs.yml`; it passed. - Codex ran `pnpm check`; it passed after installing dependencies in the clean worktree. - Codex verified #979, #980, and #981 now have the `fixed-in-staging` label on GitHub. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) No app docs, release metadata, schema, dependency, auth, storage, or prompt-pipeline changes. ## UI evidence (if applicable) N/A - GitHub Actions workflow/status-label automation only. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Added automated workflow to sync pull request and issue statuses, improving development process tracking and issue label management. <!-- review_stack_entry_start --> [![Review Change Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Pasta-Devs/Marinara-Engine/pull/997?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack) <!-- review_stack_entry_end --> <!-- 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:11:22 +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#4877
No description provided.