Skip to content

fix: npe when agent message has no receipts#76

Merged
alanshaw merged 1 commit intomainfrom
ash/fix/npe-when-message-has-no-receipts
Oct 31, 2025
Merged

fix: npe when agent message has no receipts#76
alanshaw merged 1 commit intomainfrom
ash/fix/npe-when-message-has-no-receipts

Conversation

@alanshaw
Copy link
Member

No description provided.

@alanshaw alanshaw requested a review from a team October 31, 2025 12:49
@alanshaw alanshaw requested a review from volmedo as a code owner October 31, 2025 12:49
@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
core/message/message.go 41.46% <100.00%> (+2.57%) ⬆️

... and 70 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

}

func (m *message) Get(link ipld.Link) (ipld.Link, bool) {
if m.data.Report == nil {
Copy link
Member

Choose a reason for hiding this comment

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

Can m.data be nil itself?

Copy link
Member Author

Choose a reason for hiding this comment

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

No it would not have decoded

@alanshaw alanshaw merged commit a2d4687 into main Oct 31, 2025
2 checks passed
@alanshaw alanshaw deleted the ash/fix/npe-when-message-has-no-receipts branch October 31, 2025 13:06
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