Skip to content

Staging 09/03/26#603

Merged
samufacanha2 merged 3 commits intostagingfrom
develop
Mar 9, 2026
Merged

Staging 09/03/26#603
samufacanha2 merged 3 commits intostagingfrom
develop

Conversation

@samufacanha2
Copy link
Contributor

No description provided.

samufacanha2 and others added 3 commits March 4, 2026 05:39
…tern (#601)

* fix: blocks page stale auto-update, timer drift, and Promise anti-pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address review findings - consistent error handling, proper type separation

- Fix yesterdayStatisticsCall and totalStatisticsCall to throw on error
  instead of silently returning error string as IBlockStats (was causing
  silent display of zeros on API failures)
- Normalize error messages with typeof guard for non-string errors
- Revert dataUpdatedAt from shared ICard type to local CardContentProps
- Track both queries' dataUpdatedAt using Math.min for accurate staleness
- Remove silent Date.now() fallback, show empty string before first fetch

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: prevent rendering bare " ago" before data loads

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 9, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (3)
  • develop
  • main
  • master

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 89f21137-b9e3-4453-8172-8eb2c574740d

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch develop

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

@codecov
Copy link

codecov bot commented Mar 9, 2026

Codecov Report

❌ Patch coverage is 0% with 21 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.46%. Comparing base (2f2ecca) to head (2e46340).
⚠️ Report is 19 commits behind head on staging.

Files with missing lines Patch % Lines
src/pages/blocks/index.tsx 0.00% 12 Missing ⚠️
src/services/apiCalls.ts 0.00% 6 Missing ⚠️
src/pages/transactions/index.tsx 0.00% 2 Missing ⚠️
src/services/requests/smartContracts/index.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           staging    #603    +/-   ##
========================================
  Coverage     0.46%   0.46%            
========================================
  Files          530     530            
  Lines        20954   20953     -1     
  Branches      5253    5257     +4     
========================================
  Hits            97      97            
+ Misses       20857   20044   -813     
- Partials         0     812   +812     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@samufacanha2 samufacanha2 merged commit 28b7c99 into staging Mar 9, 2026
4 of 5 checks passed
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.

3 participants