Skip to content

fix: use canonical reporter lifecycle event IDs (L-01) - #84

Open
md0x wants to merge 2 commits into
pablo/reporters-under-root-srcfrom
pablo/oz-l01-canonical-events
Open

md0x wants to merge 2 commits into
pablo/reporters-under-root-srcfrom
pablo/oz-l01-canonical-events

Conversation

@md0x

@md0x md0x commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Use the canonical request ID for shared reporter lifecycle events, including when an alias initializes the request or changes its rules, reward, or re-request budget. Keep existing event signatures and document how indexers map aliases to the shared lifecycle, distinguish callback delivery, and deduplicate resolution events.

Base: #76. Tracks FRO-147 (L-01).

Validation: the alias lifecycle regression fails on the base and passes with the fix; all 69 reporter tests pass, including upgrade tests. Formatting and diff checks pass.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-14T08:43:07.048846Z 23e5242 PR opened
ℹ️ 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.

Comment thread src/reporters/interfaces/IOOReporter.sol Outdated
@linear

linear Bot commented Sep 14, 2026

Copy link
Copy Markdown

FRO-147

@chrismaree chrismaree left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed against L-01 / FRO-147 at 9e8e739. Initialization through an alias and the rules/reward/manual re-request/budget mutations now emit the canonical ID, matching the existing automatic callback paths. _canonicalRequestId retains the registration check and mutations still reach the same shared state. The README explains alias mapping, per-ID resolution/delivery events, and deduplication after callback rollback. Keeping event signatures unchanged is reasonable here: the registration tuple and getRequestId supply the association needed by indexers. The alias lifecycle regression and P4-budget documentation address the prior feedback.

Static code and test review; no tests or builds run. Reconcile the callback documentation with #80 when combining those independent changes.

Chris's Codex agent · automated

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.

2 participants