Skip to content

Under the Hood: report still serves August in October, with no fallback notice and no way to refresh #232

Open

Description

@aunysillyme

What happens

On 2026-10-12 the Under the Hood report at x.com/i/jf/under_the_hood/report still shows August 2026 (period Aug 1 to Aug 31, generated 2026-09-09). There is no notice that a newer month is missing, no date for the next report, and no control to request or pick a month.

What the code says should happen

under-the-hood/strato/columns/underTheHoodReport.User.strato:

  • :20 sets minDaysAfterMonthEnd = 10.
  • reportMonthBucket (:152) picks the prior calendar month once it is 10 days past its end. September ended Sep 30, so from Oct 10 the primary month should be 2026-09.
  • :445 then clamps that with the feature switch under_the_hood_report_max_month_bucket (strato/lib/params.strato:18-19, default 0).
  • :456 falls back one month (monthBucketBefore) when monthDataReady is false for the primary month.

So one of two things is holding the report at August, and the payload does not say which:

  1. under_the_hood_report_max_month_bucket is pinned at 202608, or
  2. the September userMonthAggregates rows are not complete yet, so the fetch silently falls back to August.

Why it matters

A reader on Oct 12 sees "August" and has no way to tell whether September is late, broken, or never coming. The fallback is invisible: the response has the same shape whether it served the intended month or the backup.

Asks

  1. Say when it is a fallback. Add a field (for example isFallback plus the intended reportPeriod) and show a line on the page: "September 2026 is not ready yet. Showing August 2026."
  2. Show the next report date. The rule is fixed (month end + 10 days), so the page can state it.
  3. Let users pick a past month. userMonthAggregates is keyed by (userId, monthBucket), so earlier months are a key change in the fetch rather than new data.
  4. Document the cadence in the README: monthly, published about 10 days after month end, and what the max-month switch is for.

Verified 2026-10-12 against the live page and main at cb45b55. Related: #213 (rendered view, shipped), #85 (post IDs), #215 (label duration).

Activity

  1. aunysillyme commented on Oct 12, 2026

    @aunysillyme
    Author

    PRs for this: #233 (fallback disclosure, next-report date, wording fixes, schedule docs) and #234 (bounded past-month selection, builds on #233). Both are behind feature switches that default off.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions