Commit graph

5 commits

Author SHA1 Message Date
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
c1d8c00c1a Fix test 2025-12-09 00:01:40 +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