Skip to content

Remove buid usage for node indexing (SYN-10508)#4909

Closed
Cisphyx wants to merge 23 commits into
synapse-3xxfrom
remove-buids
Closed

Remove buid usage for node indexing (SYN-10508)#4909
Cisphyx wants to merge 23 commits into
synapse-3xxfrom
remove-buids

Conversation

@Cisphyx
Copy link
Copy Markdown
Contributor

@Cisphyx Cisphyx commented Apr 22, 2026

No description provided.

@Cisphyx Cisphyx added this to the v3.0.0 milestone Apr 22, 2026
@Cisphyx Cisphyx marked this pull request as draft April 22, 2026 13:48
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.55%. Comparing base (92f9bfd) to head (6c9d2ae).

Additional details and impacted files
@@               Coverage Diff               @@
##           synapse-3xx    #4909      +/-   ##
===============================================
+ Coverage        96.47%   96.55%   +0.07%     
===============================================
  Files              258      258              
  Lines            63339    63174     -165     
===============================================
- Hits             61109    61000     -109     
+ Misses            2230     2174      -56     
Flag Coverage Δ
linux 96.55% <100.00%> (+0.07%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

@Cisphyx Cisphyx marked this pull request as ready for review April 23, 2026 13:41
Comment thread synapse/lib/ast.py
self.stormIsInPrint('refs', msgs)
self.stormIsInPrint(ip.iden(), msgs)
self.stormIsInPrint(news.iden(), msgs)
self.stormIsInPrint(str(ip.intnid()), msgs)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could this intnid() function be replaced by the assumption that every node has a .nid=<int>?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Currently the .nid value is the encoded nid value (or None for most runt nodes)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It is basically the equivalent of how nodes previously had .buid for internal use and .iden() for human friendly version.

Comment thread synapse/lib/stormtypes.py
@Cisphyx
Copy link
Copy Markdown
Contributor Author

Cisphyx commented May 5, 2026

Moving PR

@Cisphyx Cisphyx closed this May 5, 2026
@Cisphyx Cisphyx deleted the remove-buids branch May 5, 2026 13:24
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.

3 participants