29 Commits
Author SHA1 Message Date
Bruno KrugelandGitHub fa1565813c fix(schema): fix crush.json schema generation (#2574) 2026-04-08 10:05:47 -03:00
huaiyuWanghandGitHub 664aae78f8 fix(csync): use pointer receiver for JSONSchemaAlias (#2521)
Change JSONSchemaAlias receiver from value to pointer for consistency
with other Map methods that use pointer receivers for interface
satisfaction.
2026-03-30 09:43:34 -03:00
Andrey Nering 5e23ecdb4d chore: run modernize 2026-02-10 15:26:04 -03:00
Carlos Alexandro BeckerandGitHub f66762b917 fix: race in agent.go (#1853)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-14 12:16:31 -03:00
3fd9d97014 ci(sec): add more security jobs, improve build, enable race detector (#1849)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 14:34:19 -03:00
Carlos Alexandro BeckerandGitHub 2350f7ea30 fix: make sure to unlock in goroutine (#1820)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-12 14:22:57 +01:00
Carlos Alexandro BeckerandGitHub d1382bb55d perf: reduce memory usage (#1812)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2026-01-09 14:21:42 -03:00
8c7c0db226 feat(mcp): notifications support - tools/list_changed (#967)
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-10-01 09:03:17 -03:00
Carlos Alexandro BeckerandGitHub d66dfa2c92 fix(lsp): use csync for lsp clients (#1073)
The map was being passed down everywhere, but the locking mechanism only
ever lived in `app.go`, which might cause concurrent access issues.

This changes it to a `*csync.Map`.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-09-18 11:16:13 -03:00
Carlos Alexandro BeckerandGitHub 016b3b6ddd feat(lsp): remove internal watcher (#1062)
* feat(lsp): remove internal watcher

It was only ever useful if the user edits files through their editor,
but we don't really need it assuming we only care about edits done by
Crush itself.

Basically, we lose that functionality, but save a bunch of file
descriptors and have improved perf.

Damn good deal if you ask me.

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: remove rlimit

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* fix: more cleanup

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-09-18 10:58:49 -03:00
Andrey NeringandGitHub e2e99af144 chore: run modernize (#906) 2025-08-27 14:37:01 -03:00
Carlos Alexandro BeckerandAndrey Nering 0c9ddd4de7 test: simplify
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-15 09:42:08 -03:00
Carlos Alexandro BeckerandAndrey Nering a9ea0d6908 test: use synctest
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-15 09:42:08 -03:00
Carlos Alexandro Becker 1e47f4eda8 feat(csync.Map): added GetOrSet
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-08-07 14:01:12 -03:00
Carlos Alexandro Becker 3135b6fa4d fix: simplify stuff 2025-07-28 22:44:20 -03:00
Kujtim Hoxha 1d211e0f4d Merge remote-tracking branch 'origin/main' into list 2025-07-28 21:48:00 +02:00
Carlos Alexandro Becker 70f899352f fix: small fixes in csync 2025-07-28 15:48:35 -03:00
Carlos Alexandro Becker cdb311d7ca fix: unused slice methods 2025-07-28 15:46:14 -03:00
Andrey Nering 9c45643c1f chore: run modernize 2025-07-28 14:03:04 -03:00
Carlos Alexandro BeckerandGitHub 0506272332 test: improve tests (#315) 2025-07-28 10:55:42 -03:00
Carlos Alexandro Becker 61ea243e48 feat: slices as well 2025-07-25 12:07:58 -03:00
Carlos Alexandro Becker b92d8800e3 refactor: use csync.Map instead of sync.Map 2025-07-25 11:25:45 -03:00
Carlos Alexandro Becker 69752719f0 fix: improve lazy slice 2025-07-24 11:50:45 -03:00
Carlos Alexandro Becker 26be55f6f6 fix: method name 2025-07-22 20:44:41 -03:00
Carlos Alexandro Becker af1514b627 docs: todo 2025-07-22 20:43:08 -03:00
Carlos Alexandro Becker 7e7a69fa6b docs: godoc 2025-07-22 20:42:38 -03:00
Carlos Alexandro Becker a6f21b2794 fix: test 2025-07-22 20:38:44 -03:00
Carlos Alexandro Becker 9f66b30091 fix: pkg 2025-07-22 20:35:39 -03:00
Carlos Alexandro BeckerandGitHub df56ffd4b1 feat: improve providers startup (#287)
* feat: check providers in background

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>

* test: test csync.Map

* fix: improvements

---------

Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2025-07-22 16:52:42 -03:00