Skip to content

chore(boards2): add original thread ID to hub realm thread reposts#5398

Open
jeronimoalbi wants to merge 2 commits intognolang:masterfrom
jeronimoalbi:chore/boards2-hub-add-orig-thread-id
Open

chore(boards2): add original thread ID to hub realm thread reposts#5398
jeronimoalbi wants to merge 2 commits intognolang:masterfrom
jeronimoalbi:chore/boards2-hub-add-orig-thread-id

Conversation

@jeronimoalbi
Copy link
Copy Markdown
Member

Adds the ID of the original thread to reposts to Boards2 hub realm

@Gno2D2
Copy link
Copy Markdown
Collaborator

Gno2D2 commented Mar 31, 2026

🛠 PR Checks Summary

All Automated Checks passed. ✅

Manual Checks (for Reviewers):
  • IGNORE the bot requirements for this PR (force green CI check)
Read More

🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers.

✅ Automated Checks (for Contributors):

🟢 Maintainers must be able to edit this pull request (more info)

☑️ Contributor Actions:
  1. Fix any issues flagged by automated checks.
  2. Follow the Contributor Checklist to ensure your PR is ready for review.
    • Add new tests, or document why they are unnecessary.
    • Provide clear examples/screenshots, if necessary.
    • Update documentation, if required.
    • Ensure no breaking changes, or include BREAKING CHANGE notes.
    • Link related issues/PRs, where applicable.
☑️ Reviewer Actions:
  1. Complete manual checks for the PR, including the guidelines and additional checks if applicable.
📚 Resources:
Debug
Automated Checks
Maintainers must be able to edit this pull request (more info)

If

🟢 Condition met
└── 🟢 And
    ├── 🟢 The base branch matches this pattern: ^master$
    └── 🟢 The pull request was created from a fork (head branch repo: jeronimoalbi/gno)

Then

🟢 Requirement satisfied
└── 🟢 Maintainer can modify this pull request

Manual Checks
**IGNORE** the bot requirements for this PR (force green CI check)

If

🟢 Condition met
└── 🟢 On every pull request

Can be checked by

  • Any user with comment edit permission

Copy link
Copy Markdown
Contributor

@jefft0 jefft0 left a comment

Choose a reason for hiding this comment

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

Looks good. Thanks.

ref: ref,
ID: uint64(ref.ID),
OriginalBoardID: uint64(ref.OriginalBoardID),
OriginalThreadID: uint64(ref.ParentID),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nitpick: for repost, ParentID is the original thread ID, but for replies it is the comment they replied to.
ref: mustGetReply

This doesn't seems to cause any issue, but a comment or a rename could help highlight this behavior.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧾 package/realm Tag used for new Realms or Packages.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants