Skip to content

fix(zaplytics): prefix zapper graph node ids - #169

Merged
ButtercupRobrts merged 1 commit into
HiveTalk:mainfrom
ButtercupRobrts:fix/graph-node-id-dedupe
Nov 10, 2026
Merged

ButtercupRobrts merged 1 commit into
HiveTalk:mainfrom
ButtercupRobrts:fix/graph-node-id-dedupe

Conversation

@ButtercupRobrts

Copy link
Copy Markdown
Collaborator

A member who also zaps (e.g. the operator's own key) produced member and zapper nodes with the same bare-pubkey id — React duplicate-key warning and unstable reconciliation. Zapper node ids now carry a 'zapper:' prefix; edge sources updated to match.

…llision

A member who also zaps produced two nodes with the same bare-pubkey id,
tripping React's duplicate-key warning.
@coldtea-pr-lens

coldtea-pr-lens Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Architecture

Architecture diagram for HiveTalk/nostr-cms at 7b6d18f

Open the canvas


Data flow

No data-flow sequence changed in this PR.


Review

✨ Nothing flagged · reviewed 7b6d18f


Tip

Set github.draw: on-demand in .github/pr-lens.yml and PR Lens stops drawing pull requests on its own. Comment @pr-lens draw on a pull request when you want that one drawn

🪧 More tips
  • Run npx skills add coldteadotai/pr-lens, then tell your coding agent: "Diagram the change you just made with PR Lens and attach it to the pull request."
  • Run npx @coldtea/pr-lens-cli analyze --base origin/main on a branch, then npx @coldtea/pr-lens-cli render .pr-lens/graph.json. Same lenses, your own model key, before the pull request exists
  • Click the link under each diagram to open it on a canvas you can zoom, pan and step through
  • The diagrams are links. Click one to open it on the canvas, then press W or click play to walk through the change
  • Open a diagram on the canvas, then press W or click play to walk through the change one step at a time
  • The CLI's render reads .github/pr-lens.yml and applies your renames, exclusions and lane pins at draw time
  • Set github.comment.collapsed: true in .github/pr-lens.yml to fold the comment behind one View architecture… row. Drawing still runs as before
  • Add .github/workflows/pr-lens.yml with coldteadotai/pr-lens/packages/action@v0 and your model provider's key as its api-key to run PR Lens from your own CI. Any /chat/completions endpoint works
  • After a push, tick Redraw to draw the latest commit
  • Switch GitHub to dark mode and the diagrams follow. The moving dots are this pull request's data in motion
  • Set github.description: false in .github/pr-lens.yml to stop PR Lens adding buttons to your PR descriptions

Thanks for using PR Lens! It's free for OSS. If it helped, a star helps other teams find it.  Star PR Lens on GitHub

@ButtercupRobrts
ButtercupRobrts merged commit a09caee into HiveTalk:main Nov 10, 2026
7 checks passed
@ButtercupRobrts
ButtercupRobrts deleted the fix/graph-node-id-dedupe branch November 10, 2026 23:40
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