Fix: reconciliation script should create groups with requires_approval=false #159
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
forgejo_admin/basketball-api#159
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Bug
Lineage
project-groupme-westside→ discovered during E2E test (2026-03-24)Repo
forgejo_admin/basketball-apiUser Story
As a parent clicking a GroupMe share link
I want to join the group immediately
So that I don't have to wait for manual admin approval
What Broke
Groups created by
scripts/create_groupme_groups.pydefault torequires_approval=true. Parents click the share link and get stuck waiting for admin approval instead of auto-joining. Had to manually update all 9 groups via API.Repro Steps
scripts/create_groupme_groups.pyto create groupsExpected Behavior
Share link click → instant join. No approval step.
Environment
GroupMe API
POST /groupsdefaultsrequires_approval=true. Must explicitly set tofalseafter creation viaPOST /groups/{id}/update.File Targets
scripts/create_groupme_groups.py— afterclient.create_group(), callclient.update_group(group_id, requires_approval=False)add_membercalls (missingnicknamekwarg — use team name as fallback)Acceptance Criteria
requires_approval=falseadd_membercalls includenicknameparameterTest Expectations
update_groupcalled withrequires_approval=Falseafter creationpytest tests/ -k reconciliationConstraints
Checklist
Related
project-groupme-westside— project pageScope Review: READY
Review note:
review-308-2026-03-27Scope is solid. Both bugs verified in
scripts/create_groupme_groups.py:create_group()never callsupdate_group()to setrequires_approval=False. SDK method confirmed available.add_member()missing requirednicknameparam — this is actually a TypeError crash, more severe than described. SDK requiresnicknameas positional arg #2.File targets, SDK methods, and acceptance criteria all verified. Single-file fix, single repo, under 5 minutes of agent work.
Minor suggestions (non-blocking):
story:Xlabel to board item #308 for traceabilityupdate_groupshould also run on MATCHED (existing) groups for full idempotencyValidation: PASS
Validation note:
validation-159-2026-03-276 checks: 6 PASS, 0 FAIL
f26ec7cupdate_group(group_id, requires_approval=False)present at line 136add_member(group_id=group_id, user_id=user_id, nickname=name)present at lines 144-148