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 — feat(pm-service): hosted collector — registry-driven multi-board ingest + IngestDO (component A slice 2, #12826) by dezren39 · Pull Request #14343 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •
edited by blacksmith-sh Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Member

Component A slice 2 (#12826): the hosted collector — registry-driven multi-board ingest for pm-service, per #9060 design §3.

This branch was implemented by the xaltha lane on 2026-11-23 (commit c63e360) but its PR was never opened, which left slice 3 (PR #13102, the hosted read API) stacked on an unlanded base. Felix's shepherd lane for task 23452 opened this PR to unstack the series: slice 1 (PR #13054) merged 2026-11-24; this PR lands slice 2; PR #13102 is then retargeted to main.

What it adds (vs main):

  • pm-stack/pm-service/src/collector/ — collector.ts, fetch.ts, ingest-do.ts, pool.ts, store.ts: the same GraphQL pool query as the laptop collector, parameterized per board from pm_boards registry rows; per-board fail-soft ingest recording pm_reconcile_findings; IngestDO cursors.
  • pm-stack/pm-service/test/collector.test.ts — the collector suite.
  • Test wiring: .github/test-suite-registry.json + .github/workflows/pm-stack-tests.yml register the pm-service suites.
  • README + package.json description updated for slice 2. No wrangler/deploy config in this slice (deployment is a later slice), so no schedule-registry change.

Branch refresh: main merged in (merge commit d0d1974); the only conflict was package.json formatting vs the slice-2 description line — resolved keeping main's format and the slice-2 description. Deps and scripts identical on both sides.

Verification: remote fleet-command run on this head (results recorded on #12826 and PR #13102 when complete).

Refs #12826.


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 and others added 2 commits November 23, 2026 07:58
@dezren39
feat(pm-service): hosted collector — registry-driven multi-board inge…
c63e360
…st + IngestDO (component A slice 2, #12826)

Stacked on slice 1 (PR #13054): the collector imports the tenant
store's SqlDb surface and lands rows in the tables slice 1's
migration defines (pm_boards registry in, pm_snapshots/pm_items/
pm_item_metadata/pm_reconcile_findings out); pm-stack/pm-service
does not exist on main yet, so this branch bases on
xaltha/12825-tenant-store and the PR retargets to main when #13054
merges.

Per design §3 (doc/2026-11-23T03-22-03Z_design_pm-service-workers-edition):

- pool.ts: the SAME GraphQL pool query the laptop collector runs
  (fields, views, parent, blockedBy/blocking, labels, milestones,
  subIssuesSummary), parameterized by board node id, plus the
  parser mapping it to the ProjectPoolItem/ProjectAudit shapes
  slice 1 pinned. A port, not an import — pm-service deploys as
  one Worker bundle; slice 8's conformance suite pins parity.
- fetch.ts: one board's paginated snapshot fetch; the stored ETag
  rides page 1 as If-None-Match and a 304 ends the run with no
  page fetches and no writes; rate-budget headers captured.
- ingest-do.ts: IngestDO, one per board — serializes the board's
  runs and holds its cursors (ETag/last-snapshot watermark) and
  GitHub rate-budget state. Derived state only (invariant 6).
- store.ts: registry reads (validated BoardDefs), snapshot landing
  (per-board pool replacement, so a failed board keeps its prior
  pool), §12 Metadata-copy upserts, ingest findings.
- collector.ts: runHostedCollector — per board, a per-org App
  installation token is minted through the injected tenancy seam,
  used for that board's fetch, and dropped; epic/spawn ancestry
  resolves over the MERGED pool so cross-board chains resolve;
  snapshots land with writer='hosted' + lease epoch provenance.

Acceptance (test/collector.test.ts, 9 tests): a run ingests every
registry board; a forced failure on one board leaves the other
boards' pools intact and records an ingest-failure finding;
cursors make a second run incremental (one conditional request
per board, no writes); no token value persists in any tenant-DB
table, DO state, or the run report (E §2.3, test-pinned). Plus
cross-board epic resolution, Metadata copies, rate-budget
deferral, and IngestDO serialization.

Suite registered as pm-service.collector and the pm-stack-tests
step renamed to cover both pm-service suites. Full package:
24 tests pass (15 slice-1 + 9 new), tsc --noEmit clean, both run
in the sandbox with bun.
felix
Merge remote-tracking branch 'origin/main' into xaltha/12826-hosted-c…
d0d1974
…ollector

# Conflicts:
#	pm-stack/pm-service/package.json
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 51 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 2601dc03-e24d-410b-9c68-23e3bed879be
Commits

Reviewing files that changed from the base of the PR and between 832df67 and 791070e.

Files selected for processing: 10

  • .github/test-suite-registry.json
  • .github/workflows/pm-stack-tests.yml
  • pm-stack/pm-service/README.md
  • pm-stack/pm-service/package.json
  • pm-stack/pm-service/src/collector/collector.ts
  • pm-stack/pm-service/src/collector/fetch.ts
  • pm-stack/pm-service/src/collector/ingest-do.ts
  • pm-stack/pm-service/src/collector/pool.ts
  • pm-stack/pm-service/src/collector/store.ts
  • pm-stack/pm-service/test/collector.test.ts
  • 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.

felix
Merge remote-tracking branch 'origin/main' into xaltha/12826-hosted-c…
791070e
…ollector
@dezren39
dezren39 merged commit ec89a00 into main Nov 24, 2026
@dezren39
dezren39 deleted the xaltha/12826-hosted-collector branch November 24, 2026 12:59
This was referenced Nov 24, 2026
impl(pm-stack): hosted collector — registry-driven multi-board ingest on Cron Triggers + IngestDO (component A slice 2, from #9079) #12826
Closed
impl(pm-stack): hosted read API parity — projects/item/roadmap/releases per #9060 §6 (component A slice 3, from #9079) #12828
Closed
feat(pm-service): hosted read API parity — projects/item/roadmap/releases per #9060 §6 (component A slice 3, #12828) #13102
Merged
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.

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.