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(projector): use submitted_at for webhook review timestamps by dezren39 · Pull Request #7814 · developing-today/code

Conversation

@dezren39

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

Uh oh!

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

Copy link
Copy Markdown
Member

Summary

Webhook and reconcile review rows now share one constructor:

review.submitted_at → created_at + source_updated_at
no submitted_at     → skip review row

This prevents delivery-time timestamps from winning the store guard and moving review activity ordering. Review-state updates remain supported on redelivery. Closes #3087.

Evidence

  • Before: webhook review rows fell back to delivery time; reconcile could be rejected as older.
  • After: bun test in pm-stack/projector — 116 pass, 0 fail (2,778 assertions), including both writer orders and redelivery/state updates.

Merge Danger

Door: two-way — revert the row-constructor change if needed.

Blast Radius: low — projector review rows only.


Autofix with [code]smith
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
repo-worker-code-k
fix(projector): use submitted_at for webhook reviews
078b609
@dezren39
dezren39 requested a review from a team as a code owner November 8, 2026 21:27
@coderabbitai

coderabbitai Bot commented Nov 8, 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 6 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: 4192c9ff-b44e-4ed4-8d4d-3a601536e7b3
Commits

Reviewing files that changed from the base of the PR and between db27c4e and e3874f7.

Files selected for processing: 7

  • pm-stack/projector/src/projector.ts
  • pm-stack/projector/src/reconcile.ts
  • pm-stack/projector/src/store.ts
  • pm-stack/projector/test/e2e.test.ts
  • pm-stack/projector/test/projector.test.ts
  • pm-stack/projector/test/reconcile.test.ts
  • pm-stack/projector/test/store.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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •
edited
Loading

Uh oh!

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

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-13T10:41:52.127295Z
We couldn’t complete this review. Comment @codex review to try again.
e3874f7 New commits
ℹ️ 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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 mentioned this pull request Nov 8, 2026
projector(reviews): webhook reviews get a fabricated created_at (delivery time, not submitted_at) — reconcile's correct row is then guard-refused forever #3087
Closed
chatgpt-codex-connector[bot]
chatgpt-codex-connector Bot reviewed Nov 8, 2026
View reviewed changes

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 078b6090b8

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread pm-stack/projector/src/projector.ts Resolved

Uh oh!

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

@github-actions github-actions Bot assigned dezren39 Nov 12, 2026
@dezren39 dezren39 mentioned this pull request Nov 13, 2026
Phase 4 (audit) of #4302 — closing writer inventory + contract statement for the PM projector #4303
Closed
agent
fix(projector): one-time correction for legacy fabricated review time…
e3874f7
…stamps (#3087)

Codex P2 on this PR: review rows written before the submitted_at
switch carry a fabricated delivery-time source_updated_at later than
their true submitted_at, so the monotonic upsert guard would refuse
every later new-rule webhook for those reviews and freeze the rows
permanently (state changes like dismissals would never land).

upsertComment's guard now also admits exactly the correcting update:
same review (equal submitted_at), existing row still fabricated
(source_updated_at > submitted_at), incoming row following the new
rule (source_updated_at = its submitted_at). Once corrected, the row
is self-consistent, the branch can never fire for it again, and
monotonicity resumes. Three regression tests pin the correction, the
resumed monotonicity, and that non-review rows get no bypass.

Full projector suite: 119 tests, 0 failures.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026

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.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39

dezren39 commented Nov 13, 2026

Copy link
Copy Markdown
Member Author

Codex P2 dispositioned (shepherd task 15875, lane code-b): the timestamp-migration freeze is fixed in e3874f7, pushed to this branch.

The finding (valid): review rows written before this PR's submitted_at switch carry a fabricated delivery-time source_updated_at later than their true submitted_at; the monotonic upsert guard in pm-stack/projector/src/store.ts would then refuse every later new-rule webhook for those reviews, freezing the rows (dismissals etc. would never land).

The fix: upsertComment's guard now also admits exactly the correcting update — same review (equal submitted_at), existing row still fabricated (source_updated_at > submitted_at), incoming row following the new rule (source_updated_at = its submitted_at). The correction is one-time and self-limiting: once it lands the row is self-consistent, the branch can never fire for it again, and ordinary monotonicity resumes. No backfill job is needed; each legacy row heals on its next webhook, and rows that never receive another webhook keep their (immutable) review content with only the timestamp provenance the PR already documents.

Tests: three new regression tests in test/store.test.ts pin (1) the correction lands and updates review_state, (2) monotonicity resumes afterward (a stale replay is refused), (3) the branch never fires for non-review rows. Full projector suite locally: 119 tests, 0 failures.

Next: Codex re-review of e3874f7, then merge under the standing criteria (this closes #3087, the last gate item for the #4303 Phase 4 audit; task 6179 unblocks on the merge).

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 mentioned this pull request Nov 14, 2026
fix(projector): one-time correction for legacy fabricated review timestamps (#3087) #9720
Merged
@dezren39

dezren39 commented Nov 14, 2026

Copy link
Copy Markdown
Member Author

Agent note — closing as superseded by PR #9720 (salvage recorded, task 15875, lane code-c)

Fresh disposition 2026-11-14: this PR no longer merges — content conflicts in pm-stack/projector/src/projector.ts, src/reconcile.ts, test/projector.test.ts, test/reconcile.test.ts against current main (e53b34a). Per the duplicate-PR protocol, it was diffed against current main before closing:

  • The submitted_at switch (commit 078b609) is ALREADY on main in the refactored structure (landed via the impl(observability): queue/PM integration views (#2072 slice 3) #7078/projector(reconcile): list-page elements are shape-trusted — a null/string element crashes the stream and wedges its cursor, a number-less element writes a phantom owner/repo#undefined row #7009 projector work; current projector.ts sets submitted_at from the review object at line ~330). Nothing unique there.
  • The one piece NOT on main was the Codex P2 fix (commit e3874f7): the one-time upsertComment correction for legacy fabricated review timestamps + its 3 regression tests in store.test.ts. That piece is salvaged verbatim: cherry-picked cleanly onto current main as PR fix(projector): one-time correction for legacy fabricated review timestamps (#3087) #9720 (store.ts +23/-1, store.test.ts +68), full projector suite 135 pass / 0 fail on that branch.
  • The Codex P2 thread on this PR was replied to with the disposition and resolved (discussion_r4571503276).

Closing this PR as superseded by PR #9720, which closes #3087 on merge.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dezren39 dezren39 closed this Nov 14, 2026
@dezren39
dezren39 deleted the queue/12670-3087-projector-review-timestamps branch November 14, 2026 19:58
@dezren39 dezren39 mentioned this pull request Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@chatgpt-codex-connector chatgpt-codex-connector[bot] chatgpt-codex-connector[bot] left review comments

Uh oh!

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

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

projector(reviews): webhook reviews get a fabricated created_at (delivery time, not submitted_at) — reconcile's correct row is then guard-refused forever

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.