Skip to content

fix: merge develop to main - #129

Merged
kuny0707 merged 132 commits into
mainfrom
develop
Aug 17, 2026
Merged

fix: merge develop to main#129
kuny0707 merged 132 commits into
mainfrom
develop

Conversation

@Sunny6889

Copy link
Copy Markdown
Contributor

What does this PR do?
Merge develop to main

Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

kuny0707 and others added 29 commits May 14, 2026 11:13
…hanos

fix(monitor): bump prometheus to v3.11.3 and thanos to v0.41.0
- Handle json.Marshal error in getAccountName instead of discarding it
- Pin base image digests (golang:1.25-alpine, alpine:3.20) for reproducible builds
- Run container as non-root user 'monitor' under /home/monitor
- Tighten log file permissions from 0666 to 0600
- Mask Slack webhook token in startup log
- Switch docker-compose restart policy to unless-stopped
The loop polls getnextmaintenancetime in a 2-minute cycle. When the node is
lagging behind the chain head (e.g. after a connection outage), the API
returns a past maintenance time over and over, causing the monitor to send
a duplicate Slack message every 2 minutes until the node recovers.

Before triggering a push, check the timestamp of the latest block on the
node and skip the cycle if it is more than 30 seconds old. Once the node
catches up, getnextmaintenancetime returns the next future maintenance
time and the normal wait path resumes.
feat(tools): Slack monitor on SR votes
fix(toolkit): set witness flag for fork accounts
…ast empty block stat

- Replace Empty Block Rate panel with P95/P99 Block Transaction Count
- Add Last Empty Block stat panel showing timestamp and witness
- Make Last Empty Block full-width for better layout
- Rename row title from "SR Set Change" to "SR Set"
…rename SR table

- P95/P99 Block Transaction Count: add sum by (le, miner) for correct
  histogram_quantile aggregation; switch rate window to $__rate_interval
- Avg Transactions per Block: switch to $__rate_interval
- Rename "SR Set Change Events" to "SR Set Change Counts" (table shows
  cumulative counter totals, not an event stream)
- README: fix P50/P99 typo to P95/P99
feat(dashboard): add block transaction count and SR set change panels
Trigger a phone call via an optional PHONE_ALERT_URL webhook on the same
Top 27 membership change condition that already sends the Slack alert,
independent of and non-blocking to the existing Slack path.
Add phone-call escalation to slack_sr_guard
feat(toolkit): query the voters information from the db
feat(toolkit):   enable to modify the proposal parameters in DBFork
feat: add Slack SR guard and resilient SR monitor
@kuny0707
kuny0707 merged commit be5345a into main Aug 17, 2026
2 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.

8 participants