Skip to content

#451 step 6: Issue writes run on upstream IssueService #457

Closed

Description

@tannerpolley

Part of #451. Step 6 of 7, after step 5. Plan: #451 (comment) ("Order", item 6).

IssueChangeService and IssueCommentEffects call upstream IssueService. The milestone, relationship, marked-comment and activity code becomes the fork-owned GitHub extension, on upstream's GitHub client, request policy and rate limiter. Delete IssueHost.ts and the rest of IssueGitHubHost.ts.

Done: tests cover a repeated create, an approval conflict, a stale attempt, and a retry after a remote write.

Activity

  1. tannerpolley commented on Nov 18, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code status: Done

    Issue: #457 #451 step 6: Issue writes run on upstream IssueService

    Thread: thread:delegated-task:command%3Amcp%3Aaf93ca41-fec6-470a-96c2-8aadf4aef446%3Adelegate-task%3Ab0d7fce1-bc3b-4b01-92ba-77e9b39b37b4

    Model: gpt-6.2-sol

    Branch: issue-457-451-step-6-issue-writes-run-on-upstream

    Updated: 2026-11-18T19:54:14.762Z

  2. tannerpolley commented on Nov 18, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: waiting_on_sub_issues

    Issue: #457 #451 step 6: Issue writes run on upstream IssueService
    Thread: thread:delegated-task:command%3Amcp%3Aaf93ca41-fec6-470a-96c2-8aadf4aef446%3Adelegate-task%3Ab0d7fce1-bc3b-4b01-92ba-77e9b39b37b4
    Model: claude-opus-5-5
    Branch: issue-457-451-step-6-issue-writes-run-on-upstream
    Completed: 2026-11-18T19:21:54.529Z

    Waiting on background task b5yc3kj7e (check:changed); it resumes me when done, then I open the draft PR.

  3. tannerpolley commented on Nov 18, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: done

    Issue: #457 #451 step 6: Issue writes run on upstream IssueService
    Thread: thread:delegated-task:command%3Amcp%3Aaf93ca41-fec6-470a-96c2-8aadf4aef446%3Adelegate-task%3Ab0d7fce1-bc3b-4b01-92ba-77e9b39b37b4
    Model: gpt-6.2-sol
    Branch: issue-457-451-step-6-issue-writes-run-on-upstream
    Completed: 2026-11-18T19:32:25.823Z

    Draft PR #479 implements #457 on top of PR #476. Managed creates, body edits, close and reopen actions, and new status and closeout comments now use upstream IssueService. The fork’s GitHub extension handles milestones, relationships, marked-comment edits, recovery lookups, and cross-project inbox posts.

    The roadmap overlay remembers a missing read:project scope per host and credential. The extended test verifies that later reads skip Project fields and that a credential change triggers a fresh attempt. Create retries also distinguish a rate-limit refusal from a lost response, where the original issue is recovered by its marker.

    check:changed passed all 159 tests, formatting, lint, unused-code checks, and GraphQL validation. Type checking reported only the three known mobile errors tracked in #470.

    PR #479, head 669765d8974b23f09ce986d6789fc2eeee1084e4, checks and reviews: local checks passed apart from the known mobile errors, GitHub Actions disabled, no reviews yet.

  4. tannerpolley commented on Nov 18, 2026

    @tannerpolley
    OwnerAuthor

    T3 Code closeout: done

    Issue: #457 #451 step 6: Issue writes run on upstream IssueService
    Thread: thread:delegated-task:command%3Amcp%3Aaf93ca41-fec6-470a-96c2-8aadf4aef446%3Adelegate-task%3Ab0d7fce1-bc3b-4b01-92ba-77e9b39b37b4
    Model: gpt-6.2-sol
    Branch: issue-457-451-step-6-issue-writes-run-on-upstream
    Completed: 2026-11-18T19:54:15.108Z

    Pushed the Checker fixes to draft PR #479 on the same branch.

    • GitHub 403 and 422 create refusals stay retryable. Managed creates and marker recovery use repository-aware credentials. The milestone is sent in the original POST, so recovery preserves later milestone changes.
    • Managed writes retain the POST receipt when GitHub returns it. Recovering a lost response refreshes the roadmap, and a recovered status comment with the expected body needs no second PATCH.
    • Closing an already-closed issue preserves its close reason. The tests cover a successful managed reopen, and manual roadmap Refresh retries Project fields with the same token.

    The existing tests now exercise the wrapped inbox refresh, definite create refusals, and the managed close and reopen transitions. check:changed passed all 234 tests, formatting, lint, unused-code checks, and GraphQL validation. Type checking reported only the three known mobile errors. #470

    PR #479, head b112ec9ca22a562d846c3c5aab7fe42db20bf3e2, checks and reviews: local verification passed except for the known mobile errors, GitHub Actions disabled, no review recorded on this head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions