Skip to content

Report historical coverage and stop collection on upstream rejection - #14

Merged
heybeaux merged 2 commits into
mainfrom
fix/prizm-historical-dashboard-counts
Sep 7, 2026
Merged

heybeaux merged 2 commits into
mainfrom
fix/prizm-historical-dashboard-counts

Conversation

@heybeaux

@heybeaux heybeaux commented Sep 7, 2026 •

Copy link
Copy Markdown
Owner

Historical imports were omitted from dashboard headline counts because those metrics included only unexpired cache entries. Show all stored records and statuses while keeping active-cache statistics available separately.

The first production collection run also received three responses followed by HTTP 403 rejections classified by the client as quota failures. Stop the Salesforce queueable chain on retryable upstream failures. Keep rejected, still-uncaptured codes eligible after untouched codes on a later day; successful codes remain permanently excluded and the daily ceiling stays ten.

Validation: 32 Python tests and Ruff pass, including expired historical totals and recovery of quota-rejected codes without repeating successful captures. Salesforce validation covers stopping on retryable responses. No more production upstream probes will be made today.

@coderabbitai

coderabbitai Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: 8de302c7-034c-44b2-a2e5-97b421f90b65


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

Comment @coderabbitai help to get the list of available commands.

@railway-app

railway-app Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the prizm-api-pr-14 environment in prizm-api

Service Status Web Updated
prizm-api ✅ Success (View Logs) Web Sep 7, 2026 at 12:29 am UTC

@railway-app
railway-app Bot temporarily deployed to prizm-api / prizm-api-pr-14 September 7, 2026 00:25 Destroyed
@heybeaux heybeaux changed the title Include historical records in dashboard totals Report historical coverage and stop collection on upstream rejection Sep 7, 2026
@railway-app
railway-app Bot temporarily deployed to prizm-api / prizm-api-pr-14 September 7, 2026 00:28 Destroyed
@heybeaux
heybeaux merged commit df515fb into main Sep 7, 2026
8 checks passed

This branch was successfully deployed

No deployments
prizm-api / prizm-api-pr-14 — 46cd3ed4 Deployed Sep 7, 2026 by railway-app[bot]
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