luo jiyin
0dbd570fb3
fix: handle GitHub GraphQL star failures ( #454 )
...
* fix(request): fail on GraphQL errors instead of returning partial data
* fix(user-info,schemas): use stargazerCount instead of stargazers connection
* test(request): reject partial GraphQL responses
* fix(config): use PAT names for GitHub tokens
* fix: validate star counts and GraphQL failures
* revert: preserve GitHub token environment names
2026-07-25 08:59:47 +09:00
ryo-ma
5bbd8f6863
Consolidate 4 GraphQL queries into 1 and extend cache TTL to reduce Function Duration
...
Merged separate GitHub API queries (repository, activity, issue, pullRequest) into a single
combined GraphQL query to reduce HTTP roundtrips from 4 to 1 per cache miss. Also extended
file cache revalidation time from 1 hour to 6 hours to decrease function invocation frequency.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 18:40:58 +09:00
Copilot
f2b0ae119a
Fix mock data structure for rate limit and NOT_FOUND error handling ( #399 )
...
* Initial plan
* Fix mock data structure and error handling for rate limit tests
Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>
* Minor cleanup: reorder handleError parameter fields for clarity
Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>
* Address code review feedback: remove unsafe non-null assertion and improve variable naming
Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>
* Fix test mock setup: remove mock calls for commented-out test and add missing mocks for requestUserInfo
Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>
* Clarify comment about retry attempts in test mock setup
Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: ryo-ma <6661165+ryo-ma@users.noreply.github.com>
2026-01-12 11:18:32 +09:00
ryo-ma
5dc8d737df
Fix comment out
2026-01-11 14:23:39 +09:00
ryo-ma
c1d8c00c1a
Fix test
2025-12-09 00:01:40 +09:00
ryo-ma
ccde669950
Suspend to retry
2025-12-08 23:55:41 +09:00
ryo-ma
135c24e31c
Add try catch for github api
2025-11-25 16:06:52 +09:00
ryo-ma
f88e07535b
Fix promises process
2025-11-25 15:53:25 +09:00
Breno A
5aa2caf7c9
Refactor: code cleanup and xss fix ( #270 )
...
* fix: remove unnecessary xssable text
* chore: remove typo
* fix: ignored promise
* fix: imports can be summarized and the repository already has the typing
* fix: cleanup and remove domain
* chore: lint
* tests: `assert` is deprecated, replace to `with`
docs reference: https://lint.deno.land/rules/no-import-assertions
* ci: bump checkout and Deno
* chore: fix readme tags
* refactor: remove unnecessary constructor
* chore: remove import duplicate
* refactor: replace sort with toSorted
https://rules.sonarsource.com/typescript/RSPEC-4043/?search=Array-mutating%20methods%20should%20not%20be%20used%20misleadingly
* chore: format
2024-06-19 13:37:03 +09:00
Alexandro Castro
22a9bc4112
chore: retries improvements ( #230 )
...
* chore: retries improvements
* chore: improvements on retries
* chore: improvements on retries
* chore: add unit test
* chore: format
* chore: format
* chore: format
* fix: remove console
2023-10-03 23:50:52 +09:00
Alex Oliveira
5246b67912
fix: format
2023-10-03 00:04:16 +01:00
ryo-ma
b4aa73dea1
fix: Temporary fix for retry bug
2023-10-01 11:49:55 +09:00
Alexandro Castro
af753bf270
fix: check of rate limit ( #229 )
...
* fix: task run
* fix: check of rate limit
2023-09-30 18:15:58 +09:00
Alexandro Castro
495eba6a75
chore: types improvements ( #226 )
...
chore: types improvements
chore: types improvements
2023-09-30 14:49:18 +09:00
Alexandro Castro
5dc3379214
Improvements on workflow and files ( #222 )
...
* chore: improvements
* chore: add testing workflow
* fix: types and lint
* chore: change dynamic
* chore: improvements
* chore: no need repository to check status
2023-09-30 01:54:23 +09:00