Branch or a folder entry I expect is missing from the picker
What you are seeing
A branch or a folder entry I expect is missing from the picker.
#Why it happens
Only the first 100 branches are ever fetched, with no pagination, and directory listings are fetched in a single unpaginated call.
#What to do
Paste a direct GitHub file URL for the file you want instead of browsing to it.
#Settings involved
Setting | Where | What it does |
|---|---|---|
Unlicensed and anonymous access | Not user-configurable | Granted on the MACRO module only, for both 'unlicensed' and 'anonymous'. So a reader outside the licence, or logged out entirely, still sees public file content in the degraded read-only branch. But gets no "Github" byli |
#Limits that apply here
Limit | Value | What happens |
|---|---|---|
Branches: only the first 100 are ever fetche | - | /repos/{repo}/branches?per_page=100 with no Link-header pagination follow. |
Directory listings are not paginated | - | /repos/{repo}/contents/{path} is a single unpaginated call, so very large folders may be listed incompletely. |
#Related
Just added a GitHub macro but the page does not appear in search or in the Capable → Github catalogu
All the GitHub search fields come from Confluence's content-property index, written after
"Github" byline is missing on a very large page even though it clearly has GitHub macros
Confluence caps the content property at 32 KB, and the trimmer empties the macro-key list
Something is missing or looks wrong
The rest of this family.
Found it? Good.
