os-backlog reads only the first page of Forgejo labels, so issue-create rejects valid scope labels #992
Labels
No labels
P0
P1
P2
P3
bug
category/code-change
category/cross-repo
category/eval-run
category/investigation
category/no-test-target
category/owner-ruling
category/prose-artifact
category/recurring-chore
category/structure
category/umbrella
crc-refactor
create
delete
enhancement
filed-by/agent
filed-by/user
frozen
lint-rule
needs-info
needs-triage
next
plugin/cc-architect
plugin/os
plugin/os-adr
plugin/os-aidd-lint
plugin/os-backlog
plugin/os-context
plugin/os-doc-hygiene
plugin/os-sdlc
plugin/os-vault
project/cc-os
ready-for-agent
ready-for-human
recurring
review
rule-proposal
update
waiting
wayfinder:grilling
wayfinder:map
wayfinder:map
wayfinder:research
wayfinder:task
wayfinder:task
wontfix
worklist/deviations
worklist/lint-rule
worklist/new-implement-build
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
jared/cc-os#992
Loading…
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?
Problem
os-backlog issue-createrejects valid scope labels on jared/cc-os.os-backlog labelsdoes not listplugin/os-sdlc,project/cc-os, orworklist/lint-rule. These labels exist on the tracker.label_idsandlabels_listinplugins/os-backlog/lib/backlog/forgejo_backend.rb(lines 20 and 121) build the label set from onelabels.listcall. That call returns only the first page. The capture path cannot file an issue that needs a later label. The workaround istea issues create, which skips the template, origin, and verdict checks.Observed
The CLI refused every attempt.
teaapplied the same label without error (cc-os #989, #990, #991).Reproduce
Origin
os-backlog issue-createtea issues createplugin/os-sdlc← label set built from first page only (plugins/os-backlog/lib/backlog/forgejo_backend.rb:121) ← DESIGN: no pagination in the label lookupplugins/os-backlog/lib/backlog/forgejo_backend.rbVERDICT: CREATE — observed bug the session did not cause; the label lookup makes one
labels.listcall, so valid scope labels are rejected and the only workaround skips the capture checks.jared referenced this issue2026-10-12 13:18:45 +00:00
Resolution
Done: Already fixed: commit
0053cf03(2026-10-11) passes limit: PAGE_LIMIT so the forgejo-api paginator walks every label page.Evidence: os-backlog labels now lists plugin/os-sdlc, project/cc-os, worklist/lint-rule; #995 was created 2026-10-12 via issue-create with plugin/os-sdlc. Takedown research-only run docs/takedown/992-20261012-091507 falsely verified it with a stub reproduction.
Follow-ups: #998 (takedown verifies defects already fixed on main)