Files
86f6d83e03 [MM-70225] Migrate Store.GetDiagnostics to request.CTX (#37635)
* Migrate store diagnostics to request context

Co-authored-by: Ben Schumacher <[email protected]>

* Keep store context rule only in server AGENTS

Co-authored-by: Ben Schumacher <[email protected]>

---------

Co-authored-by: Ben Schumacher <[email protected]>
Co-authored-by: Mattermost Build <[email protected]>

Co-authored-by: Hanzo Dev <[email protected]>
2026-08-12 09:03:09 +02:00

479 B

AGENTS.md

Never run go mod tidy directly. Always run make modules-tidy instead — it excludes private enterprise imports that would otherwise break the tidy.

After editing i18n/en.json, always run make i18n-extract — it regenerates the file with strings in the required order.

In the store layer, do not use context.Context in store method signatures. Use request.CTX and only call rctx.Context() inside internals that require a standard context.Context.