Skip to content

Refactor setup config storage into sections#6

Merged
Chocksy merged 1 commit intoChocksy:mainfrom
vsevolod:feat/config-sections-source-of-truth
Apr 8, 2026
Merged

Refactor setup config storage into sections#6
Chocksy merged 1 commit intoChocksy:mainfrom
vsevolod:feat/config-sections-source-of-truth

Conversation

@vsevolod
Copy link
Copy Markdown
Contributor

@vsevolod vsevolod commented Apr 7, 2026

Summary

  • move GitHub, LLM, and Slack setup data into a dedicated config_sections table
  • make setup-stored config the default source of truth with per-section env override flags
  • migrate legacy setup credentials into config_sections on first read and expose override state in dashboard settings

New envs with defaults:

  • SLACK_CONFIG_OVERRIDE_FROM_ENV=false
  • GITHUB_CONFIG_OVERRIDE_FROM_ENV=false
  • LLM_CONFIG_OVERRIDE_FROM_ENV=false

You can add it to the .env to keep all as is and use .env override

Verification

  • npm run check
  • node --test --test-force-exit --import tsx tests/dashboard-pipelines.test.ts

@Chocksy Chocksy merged commit 9d8f336 into Chocksy:main Apr 8, 2026
1 check passed
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.

2 participants