JoannaaKL
28b868dad4
Add in memory cache for lockdown mode ( #1416 )
...
* Apply lockdown mode to issues and pull requests
* Add cache
* Unlock in defer
* Add muesli/cache2go
* [WIP] Replace custom cache in lockdown.go with cache2go struct (#1425 )
* Initial plan
* Replace custom cache with cache2go library
- Added github.com/muesli/cache2go dependency
- Replaced custom map-based cache with cache2go.CacheTable
- Removed manual timer management (scheduleExpiry, ensureEntry methods)
- Removed timer field from repoAccessCacheEntry struct
- Updated GetRepoAccessInfo to use cache2go's Value() and Add() methods
- Updated SetTTL to flush and re-add entries with new TTL
- Used unique cache names per instance to avoid test interference
- All existing tests pass with the new implementation
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com >
* Final verification complete
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com >
* Use muesli for cache
* Make RepoAccessCache a singleton (#1426 )
* Initial plan
* Implement RepoAccessCache as a singleton pattern
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com >
* Complete singleton implementation and verification
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com >
* Remove cacheIDCounter as requested
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com >
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: JoannaaKL <67866556+JoannaaKL@users.noreply.github.com >
* Update mutexes
* .
* Reuse cache
* .
* .
* Fix logic after vibe coding
* Update docs
* .
* Refactoring to make the code pretty
* Hide lockdown logic behind shouldFilter function
* .
* Tests
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com >
2025-11-21 10:34:51 +01:00
Jonathan
649087cbf4
updates generated licenses
2025-11-15 22:07:38 +01:00
Jonathan
cf0e05e300
Update to google/go-github@v77 ( #1357 )
...
* update to google/go-github@v77
* licences update from required CI build
* fixes licences
* fixes possible nil reference
* refresh licences due to recent conflicts
---------
Co-authored-by: Roberto Nacu <kerobbi@github.com >
2025-11-07 08:06:27 -08:00
JoannaaKL
6a39a39e6d
Add html filtering ( #1356 )
...
* Add html content sanitizer
* Add basic html sanitization
* .
* Correct licenses and scripts to ignore vendor directory
* Use singleton
* Simplify
2025-11-05 12:49:49 +01:00
Jonathan
6f5040734a
Updates github-mcp-server to go-github/v76 ( #1289 )
...
* updates github-mcp-server to go-github/v76
* updates license files
* refactors ListProjects to make use of
google/go-github ProjectsService
* refactors GetProject to make use of google/go-github ProjectsService
* declaring commit without a pointer
* cleanup additional commit pointer
---------
Co-authored-by: Tommaso Moro <37270480+tommaso-moro@users.noreply.github.com >
2025-10-27 13:53:53 +01:00
Ksenia Bobrova
f2b93246a4
Bump SDK version to 0.36.0 ( #863 )
2025-08-14 17:31:44 +02:00
Bailey Hayes
3479d02215
fix: replace logrus with slog ( #781 )
...
- Adjust some logs to use structured outputs
- Set stdioserver log prefix as const
- Do not export test func removeTimeAttr
Signed-off-by: Bailey Hayes <behayes2@gmail.com >
Co-authored-by: Matt Holloway <mattdholloway@github.com >
Co-authored-by: JoannaaKL <joannaakl@github.com >
2025-08-12 11:04:28 +02:00
Tommaso Moro
521d5e9258
Bump go-github to v74 ( #826 )
...
* update all imports to use v74
* go mod tidy
* update third party licenses
* rename
* autogen licenses
2025-08-06 22:11:50 +01:00
Martin Høst Normark
be91795fd3
Bump go-github to v73.0.0 ( #597 )
...
* Bump go-github to v73.0.0
* Clean up go.mod and update licenses
* Updated remaining imports to use github package v73 instead of v72
---------
Co-authored-by: Tommaso Moro <37270480+tommaso-moro@users.noreply.github.com >
Co-authored-by: tommaso-moro <tommaso-moro@github.com >
2025-07-15 15:21:24 +01:00
Sam Morrow
3e32f75cf4
fix: use better raw file handling and return resources
2025-06-12 14:54:23 +02:00
William Martin
373b74e68e
Fix missing go-github v72 license bump
2025-06-03 07:20:03 +02:00
William Martin
023f59d5cc
Use typed tool handler for get_me tool
2025-05-28 15:56:54 +02:00
William Martin
eca853b28a
Split PR review creation, commenting, submission and deletion
2025-05-19 17:50:36 +02:00
Ohki Nozomu
e4c2f58ddc
Use github.Ptr instead of smithy-go/ptr ( #147 )
...
Co-authored-by: Javier Uruen Val <juruen@github.com >
2025-04-07 16:29:30 +02:00
Sam Morrow
26f96680a9
chore: support x-platform licence generation ( #98 )
2025-04-04 15:33:36 +02:00
Sam Morrow
559b3ff1b5
chore: update deps ( #76 )
2025-04-03 14:54:36 +02:00
Sam Morrow
450fa651a6
add oss licenses
2025-04-01 18:17:52 +02:00