mirror of
https://github.com/coder/coder.git
synced 2026-11-01 12:53:26 +08:00
feat: audit operational agent settings (#28369)
Depends on #28394. Audit changes to seven operational agent settings through a typed `chat_operational_settings` resource. Each handler serializes baseline capture and mutation with a per-setting advisory lock, keeps both operations in one transaction, and records field-specific diffs. Effective no-op requests now skip both the database upsert and the success audit, including absent rows whose effective value is already the default. The change also retains the allowlisted raw `site_configs` query, updates generated audit and API surfaces, adds failure and concurrency coverage, and reuses the existing AuditPage resource-filter story pattern. Relates to CODAGT-720.
This commit is contained in:
Generated
+2
-1
@@ -618,7 +618,8 @@ CREATE TYPE resource_type AS ENUM (
|
||||
'oauth2_provider_settings',
|
||||
'chat_instruction_settings',
|
||||
'mcp_server_config',
|
||||
'chat_model_config'
|
||||
'chat_model_config',
|
||||
'chat_operational_settings'
|
||||
);
|
||||
|
||||
CREATE TYPE shareable_workspace_owners AS ENUM (
|
||||
|
||||
Reference in New Issue
Block a user