Fix unarchive issue reopening and archive-done idempotency#26
Merged
aarontrowbridge merged 5 commits intomainfrom Feb 8, 2026
Merged
Fix unarchive issue reopening and archive-done idempotency#26aarontrowbridge merged 5 commits intomainfrom
aarontrowbridge merged 5 commits intomainfrom
Conversation
Co-authored-by: jack-champagne <43344745+jack-champagne@users.noreply.github.com>
Bug 1: When unarchiving a task, reopen the underlying GitHub Issue and apply task fields (e.g. status) immediately instead of deferring to the next sync run. Bug 2: Move remove_done_tasks() to run before sync when --archive-done is set, making repeated runs idempotent. Co-authored-by: jack-champagne <43344745+jack-champagne@users.noreply.github.com>
…log level, update TASKS.md Co-authored-by: jack-champagne <43344745+jack-champagne@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Implement multiple issues and update TASKS.md
Fix unarchive issue reopening and archive-done idempotency
Feb 8, 2026
Member
TASKS.md Sync Preview (dry run)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two bugs when moving tasks back from archived/done state: (1) unarchived Issues remained closed on GitHub despite project board status updating, and (2)
--archive-donerequired a follow-up run without the flag to stabilize.Unarchive reopens closed Issues
reopen_issue()GraphQL mutation andget_item()single-item fetch toGitHubProjectClientexecute_sync()now immediately applies task fields (status, etc.) and reopens the underlying Issue--archive-doneidempotencyremove_done_tasks()from post-sync to pre-sync so the file is cleaned before the sync plan is builtTests
TASKS.md
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.