Skip to content

Read every page of a member's organizations - #156

Merged
vitramir merged 2 commits into
mainfrom
page-through-memberships
Aug 28, 2026
Merged

Read every page of a member's organizations#156
vitramir merged 2 commits into
mainfrom
page-through-memberships

Conversation

@vitramir

Copy link
Copy Markdown
Contributor

The console decides which organizations to show from ListMyMemberships, and asked for a single page of 200. A member of more than that saw the rest disappear.

It fails worse than it sounds: the context falls back to the first organization alphabetically whenever the persisted choice is not among the ones it can see. So opening a missing organization by address quietly rendered a different organization's page — same URL, someone else's data on screen.

Found on the local VM, where the e2e account has 244 active memberships: every console spec that created an organization and navigated to it landed on the alphabetically-first organization instead, and the failures read as missing page elements rather than as the wrong page.

Covered by a unit test that puts the stored organization on the second page; it fails on the old single-page read.

The name is the skill's directory on the agent's filesystem, so the form
states the rule instead of surfacing a server error, and the description
is required: it is what the agent reads before it opens the body.
Which organizations the console shows is decided from the caller's
memberships, and it asked for one page of them. A member of more than
two hundred saw the rest disappear -- and because the console falls back
to the first organization alphabetically whenever the persisted choice
is not among the ones it can see, opening one of the missing
organizations by address quietly landed on a different one instead.
@vitramir
vitramir merged commit a4d8987 into main Aug 28, 2026
1 of 2 checks passed
@vitramir
vitramir deleted the page-through-memberships branch August 28, 2026 15:31
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