Skip to content

fix: hide RPC keys in logs and keep late offer hashes - #736

Merged
MoonBoi9001 merged 4 commits into
mb9/reviewfrom
mb9/fix-small-cancel-review-findings
Oct 9, 2026
Merged

MoonBoi9001 merged 4 commits into
mb9/reviewfrom
mb9/fix-small-cancel-review-findings

Conversation

@MoonBoi9001

Copy link
Copy Markdown
Member

The latest-block cross-check now logs endpoint failures without the URL, which carries the API key, and an offer that mines after its agreement was marked for cancelling keeps its hash. The Slack alert layer also stops formatting warnings it won't post, and 2 comments no longer claim a configuration error switches off cancelling.

The latest-block cross-check logged each endpoint's raw error, which names its URL, and hosted
endpoints carry their API key in the URL. It now logs the same redacted description other calls use.
An agreement can be marked for cancelling while its offer is mining, and the offer can still land.
Its hash is now stored then, without moving the time that paces its cancel retry, and an ended
agreement reports that nothing was stored instead of skipping silently.
Every warning passes through the Slack alert layer, which formatted all of a line's fields before
checking its tag. It now reads the tag first and formats the rest only for listed events.
2 comments said the cancel path reads ConfigError as the chain client being switched off, which no
code does any more.
@MoonBoi9001
MoonBoi9001 marked this pull request as ready for review October 8, 2026 20:11
@MoonBoi9001
MoonBoi9001 added this pull request to stack #741 October 9, 2026 17:56
@MoonBoi9001
MoonBoi9001 removed this pull request from stack #741 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 changed the base branch from mb9/review to main October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 added this pull request to stack #742 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 removed this pull request from stack #742 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 changed the base branch from main to mb9/review October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 added this pull request to stack #743 October 9, 2026 17:58
@MoonBoi9001
MoonBoi9001 merged commit 43039c1 into mb9/review Oct 9, 2026
12 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.

1 participant