Skip to content

Conversation

rafaelcr
Copy link
Collaborator

@rafaelcr rafaelcr commented Jul 17, 2025

Adds a Redis index progress notifier that will inform a queue whenever a new block is ingested, including all re-orgs that this new block produced.

{
	"id": "stacks-125559-0x82d69ba40a6f2c0267bc5d9928109360d006bfd214550a2bb3a0ff671f32d592-1754922122871"
	"payload": {
		"chain": "stacks",
		"network": "mainnet",
		"apply_blocks": [
			{
				"hash": "0x82d69ba40a6f2c0267bc5d9928109360d006bfd214550a2bb3a0ff671f32d592",
				"index": 125559
			}
		],
		"rollback_blocks":[]
	}
}

Copy link

codecov bot commented Jul 17, 2025

Codecov Report

❌ Patch coverage is 68.25397% with 20 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/datastore/redis-notifier.ts 60.00% 16 Missing and 2 partials ⚠️
src/datastore/pg-write-store.ts 94.11% 1 Missing ⚠️
src/index.ts 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Copy link

github-actions bot commented Jul 17, 2025

Vercel deployment URL: https://stacks-blockchain-qxgejv0xi-hirosystems.vercel.app 🚀

@rafaelcr rafaelcr changed the title feat: add chainhooks index notifier feat: add redis index notifier Aug 20, 2025
@rafaelcr rafaelcr marked this pull request as ready for review September 9, 2025 16:04
@rafaelcr rafaelcr requested a review from CharlieC3 September 9, 2025 16:04
Copy link
Member

@CharlieC3 CharlieC3 left a comment

Choose a reason for hiding this comment

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

Great job on this! :shipit:

@rafaelcr rafaelcr merged commit 5c49f49 into develop Sep 9, 2025
26 checks passed
@rafaelcr rafaelcr deleted the feat/chainhooks branch September 9, 2025 17:16
hirosystems-release-bot bot added a commit that referenced this pull request Sep 9, 2025
## [8.13.0](v8.12.1...v8.13.0) (2025-09-09)

### Features

* add redis index notifier ([#2321](#2321)) ([5c49f49](5c49f49))
@hirosystems-release-bot
Copy link
Contributor

🎉 This PR is included in version 8.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants