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-aggregator): date notification sends by the live ledger's at column (#15090) by developing-today-fleet[bot] · Pull Request #15124 · developing-today/code

Conversation

@developing-today-fleet

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

Uh oh!

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

Copy link
Copy Markdown
Contributor

What

Fixes #15090 — the aggregator's notifications roll-up dated zero sends against the live Turso ledger.

  • pm-stack/aggregator/src/notifications.ts: sendTimestamp falls back sent_at → created_at → at, matching the hosted port in pm-stack/console/edge/src/ledger-pages.ts (which dates all 271 live rows).
  • pm-stack/aggregator/src/alerts.ts: NotificationSendRow gains the optional at column (rows arrive via select *, so the value was already present at runtime — it just was not read).
  • pm-stack/aggregator/test/notifications.test.ts: two regression tests — an at-only row (the live ledger's shape) is dated by at with roll-up undated = 0; created_at still wins over at when both are present.

Verification

  • Red-green: the at-only test fails on the old code (27 pass / 1 fail); with the fix the file is 28 pass / 0 fail, re-verified after merging current main.
  • Full aggregator suite (bun test, 3,674 tests) compared against a pristine-main control run: no failure attributable to this change — the failing families (pm-stack(aggregator): prevent empty replies when dashboard assembly is slow #5664 assembly-deadline, aggregator(feed): isFleetFeed never checks attention entries — one null entry crashes /attention + /today, entries without a string sessionId silently collapse into one #2427 live-source timing tests) fail on pristine main as well, in larger numbers there.
  • Test route: the aggregator bun suites ran in the laptop worktree (they need a workspace bun install, which the Actions executor image does not carry for pm-stack); main-branch CI is the post-merge check.

Acceptance mapping (from #15090)

  • sendTimestamp falls back to at after sent_at/created_at
  • at-only rows date: roll-up counts them, 0 undated
  • Regression test fails on old code
  • Existing precedence preserved (sent_at > created_at > at)

Closes #15090

{
  "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-25T13:38:28Z",
    "session_id": null,
    "lane": null,
    "host": "htch-runtime",
    "worktree": null,
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": null,
    "auth_subject": "archer",
    "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
fix(pm-aggregator): date notification sends by the live ledger's at c…
fea0855
…olumn (#15090)

sendTimestamp read only sent_at/created_at, but the live Turso ledger's
defaulted send-time column is named at — so against the live ledger every
sent row counted as undated and the /notifications roll-up was empty.
Fall back to at after created_at (the hosted port in
console/edge/src/ledger-pages.ts already reads this precedence), add at
to NotificationSendRow, and add regression tests for the at-only row
shape and created_at-over-at precedence.
@coderabbitai

coderabbitai Bot commented Nov 25, 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: f65d78e2-82ed-4256-9b08-89c8afada2ce

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.

@developing-today-fleet
developing-today-fleet Bot merged commit 3ca5896 into main Nov 25, 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 iw357/15090-sendtimestamp-at branch November 25, 2026 13:39
@developing-today-fleet developing-today-fleet Bot mentioned this pull request Nov 25, 2026
notifications roll-up dates zero sends against the live ledger: send time is in 'at', roll-up reads sent_at/created_at #15090
Closed
4 tasks
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.

notifications roll-up dates zero sends against the live ledger: send time is in 'at', roll-up reads sent_at/created_at

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.