Skip to content

perf: skip maxDepth filtering if natively supported #2113

perf: skip maxDepth filtering if natively supported

perf: skip maxDepth filtering if natively supported #2113

Triggered via pull request January 3, 2025 12:42
Status Failure
Total duration 1m 4s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test/drivers/github.test.ts > drivers: github > can read a repository files: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can read a repository files: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can read a repository files: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can check for a file presence: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can check for a file presence: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can check for a file presence: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can read a json file content: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can read a json file content: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can read a json file content: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
test/drivers/github.test.ts > drivers: github > can read an item metadata: src/drivers/github.ts#L164
Error: [unstorage] [github] Failed to fetch git tree ❯ fetchFiles src/drivers/github.ts:164:11 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 Caused by: FetchError: [GET] "https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1": 403 rate limit exceeded ❯ Module.$fetch2 node_modules/.pnpm/ofetch@1.4.1/node_modules/ofetch/dist/shared/ofetch.03887fc3.mjs:316:15 ❯ fetchFiles src/drivers/github.ts:136:19 ❯ syncFiles src/drivers/github.ts:79:13 ❯ getKeys src/drivers/github.ts:88:7 ❯ Object.getKeys src/storage.ts:356:25 ❯ test/drivers/github.test.ts:11:18 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { request: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', options: { baseURL: 'https://api.github.com', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' } }, response: { _data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, constructor: 'Function<Response>', type: 'basic', url: 'https://api.github.com/repos/unjs/unstorage/git/trees/main?recursive=1', redirected: false, status: 403, ok: false, statusText: 'rate limit exceeded', headers: { constructor: 'Function<Headers>', append: 'Function<append>', delete: 'Function<delete>', get: 'Function<get>', has: 'Function<has>', set: 'Function<set>', getSetCookie: 'Function<getSetCookie>', keys: 'Function<keys>', values: 'Function<values>', entries: 'Function<entries>', forEach: 'Function<forEach>' }, body: { constructor: 'Function<ReadableStream>', locked: true, cancel: 'Function<cancel>', getReader: 'Function<getReader>', pipeThrough: 'Function<pipeThrough>', pipeTo: 'Function<pipeTo>', tee: 'Function<tee>', values: 'Function<values>' }, bodyUsed: true, clone: 'Function<clone>', blob: 'Function<blob>', arrayBuffer: 'Function<arrayBuffer>', text: 'Function<text>', json: 'Function<json>', formData: 'Function<formData>', bytes: 'Function<bytes>' }, data: { message: 'API rate limit exceeded for 20.43.247.161. (But here\'s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)', documentation_url: 'https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting' }, status: 403, statusCode: 403, statusText: 'rate limit exceeded', statusMessage: 'rate limit exceeded' }
ci
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636