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.



Found it? Good.