Skip to content

Add persistent runtime system configuration - #2542

Merged
ejsmith merged 7 commits into
mainfrom
feature/exie-runtime-model-settings
Aug 28, 2026
Merged

Add persistent runtime system configuration#2542
ejsmith merged 7 commits into
mainfrom
feature/exie-runtime-model-settings

Conversation

@ejsmith

@ejsmith ejsmith commented Aug 27, 2026

Copy link
Copy Markdown
Member

Summary

  • add a durable, typed system-settings document in Elasticsearch with repository caching, serialized updates, and audit metadata
  • let global administrators change Exie's OpenRouter model and availability without restarting the app
  • add a runtime event-submission switch under System > Settings
  • persist system notification banners while preserving live message-bus updates and legacy cached notifications

API and behavior

  • extend /api/v2/admin/assistant-settings and add /api/v2/admin/assistant-settings/enabled
  • add global-admin GET and PUT endpoints at /api/v2/admin/event-submission-settings
  • use deployment configuration as the fallback for nullable runtime overrides; resetting or selecting the configured value removes the override
  • apply Exie availability on every access decision and event-submission availability to new event and heartbeat requests
  • return HTTP 503 for event posts while submission is disabled; session heartbeats remain successful without recording activity
  • retain API keys, provider readiness, and startup topology as deployment-owned configuration

Verification

  • dotnet build tests/Exceptionless.Tests/Exceptionless.Tests.csproj --no-restore (0 warnings, 0 errors)
  • dotnet test --project tests/Exceptionless.Tests/Exceptionless.Tests.csproj --no-build --no-restore (2,893 passed, 3 intentional skips)
  • npm run validate
  • npm run build
  • npm run test:unit (714 passed; one unrelated existing command-palette expectation fails because unchanged code navigates to /next/ while the test expects /next/stack)

Breaking changes

None. Existing deployment settings remain the defaults, and existing SystemSettings documents without the new fields retain current behavior.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: eddd87842d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/Api/Endpoints/AdminEndpoints.cs Outdated
@ejsmith

ejsmith commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 34740c4bae

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Web/ClientApp/src/lib/features/admin/models.ts Outdated
@ejsmith

ejsmith commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 0cdd47f9d7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ejsmith
ejsmith force-pushed the feature/exie-runtime-model-settings branch from 0cdd47f to 33361e1 Compare August 27, 2026 23:22
@ejsmith

ejsmith commented Aug 27, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

Reviewed commit: 33361e1d9c

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ejsmith ejsmith changed the title Add runtime Exie model configuration Add persistent runtime system configuration Aug 28, 2026
@ejsmith

ejsmith commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7595989902

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Core/Services/NotificationService.cs Outdated
Comment thread src/Exceptionless.Web/ClientApp/src/lib/features/admin/api.svelte.ts Outdated
@ejsmith

ejsmith commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 21310265ea

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/Exceptionless.Core/Services/NotificationService.cs Outdated
@ejsmith

ejsmith commented Aug 28, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 885c74c6bf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@github-actions

Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
Exceptionless.Insulation 37% 35% 286
Exceptionless.Core 76% 68% 10333
Exceptionless.Web 85% 70% 8001
Exceptionless.AppHost 38% 41% 147
Summary 79% (25771 / 32732) 68% (12035 / 17775) 18767

@ejsmith
ejsmith merged commit 5cfd90d into main Aug 28, 2026
12 checks passed
@ejsmith
ejsmith deleted the feature/exie-runtime-model-settings branch August 28, 2026 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant