Skip to content

Repo-universe piece 3: mirrored pull-in surface + track/resolve workflow (#1652) - #10791

Merged
dezren39 merged 1 commit into
mainfrom
queue/16993-1652-repo-universe-pull-in
Nov 16, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/16993-1652-repo-universe-pull-in

Conversation

@dezren39

@dezren39 dezren39 commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Implements repo-universe tracker piece 3 (#1652, parent #1511): the mirrored pull-in surface + track/resolve workflow, on top of piece 2's checker delta semantics.

What

  • scripts/fleet/repo-universe/pull_in.py — runs the checker cycle (same inventory, same shared state.json, same diff; flock-serialised) and acts on the delta:
    • new → mirror issue in developing-today/code titled [<owner>/<repo>#<n>] <source title>, body linking the source and carrying the dedupe marker <!-- repo-universe:source=<owner>/<repo>#<n> -->; the marker is searched (open + closed) before any create, so re-runs create zero duplicates. Labels: source/universe + universe/<class> (class from the inventory).
    • changed (title) → retitles the open mirror; closed → comment with the source link + close; reopened → comment + reopen.
    • Converted mirrors (marker removed at conversion, noted in a comment) are never found by the marker search and are never resolved — the absence is the conversion mechanism.
    • Baseline rule inherited from the checker: a repo's first run creates no mirrors for history. Failed fetch = explicit ERROR, non-zero exit, state untouched, no mirror actions.
    • Coins every label it depends on, including the three upstream disposition labels (universe/waiting-on-upstream, universe/contribute-fix, universe/local-workaround); disposition itself is set at triage, never by the sync.
    • Fixture mode (--fixture + --fixture-mirrors, checker-shaped) and --dry-run for offline cycles with no GitHub writes.
  • scripts/fleet/repo-universe/test_pull_in.py — 10 fixture tests: baseline, mirror-once-across-two-cycles, marker dedupe against a pre-existing mirror, resolve-on-close, converted mirror left open, upstream class label + all three dispositions, retitle/reopen, failed-fetch safety, dry-run, inventory class parsing.
  • systemd/repo-universe-pull-in.{service,timer} — daily oneshot ordered after the checker service, following the piece-2 convention.

Tests

  • test_pull_in: 10/10 pass.
  • Existing suites test_check_issues + test_generate: 36/36 pass (checker untouched).

Live acceptance cycle

Run by the implementing lane after merge and recorded on #1652: test issue in dezren39/hatch-personal → exactly one mirror within one cycle, second cycle zero duplicates, closing the source resolves the mirror next cycle.

Queue: task 16993, lane any-a.


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

@dezren39
dezren39 requested a review from a team as a code owner November 16, 2026 14:52
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-16T14:54:01.311671Z
We couldn’t complete this review. Comment @codex review to try again.
a457d7a Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Nov 16, 2026

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 20 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: 4a509fa5-3cc8-400f-a54d-44f9e98f2824
Commits

Reviewing files that changed from the base of the PR and between bd25dc9 and a457d7a.

Files selected for processing: 4

  • scripts/fleet/repo-universe/pull_in.py
  • scripts/fleet/repo-universe/systemd/repo-universe-pull-in.service
  • scripts/fleet/repo-universe/systemd/repo-universe-pull-in.timer
  • scripts/fleet/repo-universe/test_pull_in.py
  • 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

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@dezren39

Copy link
Copy Markdown
Member Author

Codex findings disposition (merge gate, queue task 16993): the Codex code review failed to run on this PR — first attempt errored, the retry reports "You have reached your Codex usage limits for code reviews." There are zero Codex findings (0 inline review comments, no review body findings) to disposition; the gate is satisfied by recording that state here rather than merging past undispositioned findings. CodeRabbit likewise produced no findings (free review limit reached). Merging on verified evidence instead: test_pull_in 10/10 and existing test_check_issues + test_generate 36/36 pass on the laptop; diff matches the #1652 packet scope exactly.

@dezren39
dezren39 merged commit 7200c4b into main Nov 16, 2026
1 check passed
@dezren39
dezren39 deleted the queue/16993-1652-repo-universe-pull-in branch November 16, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant