GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(pm-stack): resolve native parents consistently in sweeper and webhook (#16011) by developing-today-fleet[bot] · Pull Request #16247 · developing-today/code

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 27, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Implements #16011: one authoritative native-parent contract shared by the Metadata sweeper and webhook ingestion paths.

Sweeper fetchNativeParent: a confirmed parent-endpoint 404 for an existing item means no native parent (null — label resolution proceeds); auth/transport/server failures stay retryable (undefined — skip, next sweep retries).
Webhook listener: new required resolveNativeParent dependency; issues events resolve native parentage before the shared check finalizes an ascertained outcome. Failed lookups answer non-2xx with no store, enqueue, or body writes (GitHub redelivers). PRs skip the lookup (same rule as the sweeper).
Shared contract in metadata-ingestion.ts: parseNativeParentResponse / isConfirmedParentAbsent / buildEpicSlugMap.

Supersedes #16020 (same change, merge-conflicted since 09:30Z): rebased onto current main, resolving the server.ts import conflict (kept both sides: native-parent imports + fleetMetadataDbPath) and the webhook-listener.ts conflict by combining both sides — epic-map hoist + authoritative-native-parent resolution + stale-snapshot (#16012) re-read now preserves the resolved native parent across the recompute. Also migrated artifact-ID assertions to the current gh:repo#kind:number format (one pre-existing main failure in webhook-listener.test.ts fixed alongside) and added the missing resolveNativeParent/readCurrent deps to test handler blocks.

Evidence:

  • bun test test/metadata-native-parent-16011.test.ts test/webhook-listener.test.ts test/metadata-ingestion.test.ts test/metadata-sweeper.test.ts → 40 pass, 0 fail.
  • Full aggregator suite: 3606 pass / 79 fail — spot-checked failures (home-resolution, schedule-registry, quota-retention) reproduce identically on clean origin/main, pre-existing and unrelated.

Closes #16011.

{
  "direct_parent": null,
  "links": [],
  "lineage": {
    "design": null,
    "roadmap_item": null,
    "priority": null
  },
  "pm_meta": 1,
  "provenance": {
    "queue_id": null,
    "scheduled_start": null,
    "picked_up_at": null,
    "work_started_at": null,
    "created_at": "2026-11-27T17:11:12Z",
    "session_id": "ses_e5de23d6bb0ffeGdZzCPWk744U",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/fleet/sweep-16020",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/fleet/sweep-16020",
      "repo": "developing-today/code",
      "branch": "sweep/16020-native-parents-merge",
      "sha": "921a826652517603b5e7d58625a373b5b5a54453"
    },
    "auth_subject": "oc-code-03",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
dezren39 added 4 commits November 27, 2026 03:02
@dezren39
fix(pm-stack): resolve native parents consistently in sweeper and web…
29ad458
…hook (#16011)

Sweeper fetchNativeParent maps a confirmed parent-endpoint 404 to
absent (label resolution proceeds) and keeps every other failure
retryable; the webhook listener resolves native parentage through the
same authoritative contract before finalizing, answering non-2xx with
no writes on lookup failure; the webhook epic catalog filters
server-side by kind/epic like the sweeper.

Tests: 9 new in metadata-native-parent-16011.test.ts (contract,
webhook 404/conflict/parentless/PR-skip, sweeper 404/500 subprocess);
existing webhook/metadata/sweeper suites green (31 + 19 tests).
@dezren39
Merge remote-tracking branch 'origin/main' into sweep/16020-native-pa…
e134b01
…rents-merge

# Conflicts:
#	pm-stack/aggregator/src/server.ts
#	pm-stack/aggregator/src/webhook-listener.ts
@dezren39
Merge remote-tracking branch 'origin/main' into sweep/16020-native-pa…
f68101d
…rents-merge
@dezren39
Merge remote-tracking branch 'origin/main' into sweep/16020-native-pa…
921a826
…rents-merge
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5627375d-7192-4845-83a1-571b231db375

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

  • X
  • Mastodon
  • Reddit
  • LinkedIn
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 27, 2026
main CI failure: pm-aggregator tests (run 45889615843) #15718
Closed
fix(pm-stack): resolve native parents consistently in sweeper and webhook (#16011) #16020
Merged
pm metadata: resolve native parents consistently in sweeper and webhook ingestion #16011
Closed
@developing-today-fleet
developing-today-fleet Bot merged commit 4afe44e into main Nov 27, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@developing-today-fleet
developing-today-fleet Bot deleted the sweep/16020-native-parents-merge branch November 27, 2026 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

pm metadata: resolve native parents consistently in sweeper and webhook ingestion

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.