Skip to content

fix: distinguish completed work from unmerged or declined board items - #1840

Merged
Azgaar merged 1 commit into
masterfrom
fix/board-completion
Sep 10, 2026
Merged

Azgaar merged 1 commit into
masterfrom
fix/board-completion

Conversation

@barrulus

@barrulus barrulus commented Sep 10, 2026

Copy link
Copy Markdown
Collaborator

Closed, unmerged PRs were displayed as Done, alongside completed work. The reconciler now derives terminal Status from GitHub outcomes: completed issues and merged PRs become Done; not-planned/duplicate issues and closed, unmerged PRs become Archive. Open cards left in Done return to Backlog. Other active statuses and actually archived history are preserved; unknown issue closure reasons require review.

Adds issue-closure and PR-closure/reopening triggers. PR events check out only the default branch and execute metadata automation, never PR code. The scheduled sweep repairs missed events and conflicting native project updates. Dry runs now suppress token-failure issue creation as well as field/label writes.

Documents the completion policy and release-time closure review, and updates the PR template to distinguish Fixes from partial references. Done means completed/merged, not necessarily released. Theme/Priority/Size behavior remains fill-only.

Validation: all 47 script tests pass, including runner fixtures for pagination, preview, authentication failure and partial-write failure. Previewing current board data identified exactly three status corrections (#1799, #1819, #1820). Those live cards have been moved to Archive separately; #1690 was closed with implementation evidence, #1721 narrowed to its remaining work, and discussion #1784 resolved. The notes and journey tests used for those acceptance checks also pass (77 tests).

The existing native project workflow settings are UI-only and still need checking for generic closed-to-Done rules; the reconciler provides recovery after such a rule runs. No changes to issue/discussion state are performed by this script.

The shared local commit hook was skipped because its Biome 2.4.15 cannot parse upstream’s 2.5 configuration; none of the changed files is in the Biome source include set. Dedicated script tests and whitespace checks passed.

Hosted CI note: the documentation PR’s lint and unit checks passed. Its Playwright run failed the unchanged legacy added-label note migration check (230 passed, one skipped, one failed). The failure and investigation criteria are tracked in #1841; it is not being treated as a clean browser-suite result. See https://github.com/Azgaar/Fantasy-Map-Generator/actions/runs/34492975245.

@netlify

netlify Bot commented Sep 10, 2026

Copy link
Copy Markdown

Deploy Preview for afmg ready!

Name Link
🔨 Latest commit 5e29e6d
🔍 Latest deploy log https://app.netlify.com/projects/afmg/deploys/6aa2d7b64e6dc600090bc118
😎 Deploy Preview https://deploy-preview-1840--afmg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@Azgaar
Azgaar self-requested a review September 10, 2026 16:17
@barrulus
barrulus marked this pull request as ready for review September 10, 2026 17:22
@Azgaar
Azgaar merged commit e4b3806 into master Sep 10, 2026
7 checks passed
@Azgaar
Azgaar deleted the fix/board-completion branch September 10, 2026 18:28
@github-project-automation github-project-automation Bot moved this from Backlog to Done in FMG dev board Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants