Skip to content

feat(enterprise): add guarded first-install helper - #6

Closed
yaojin3616 wants to merge 1 commit into
mainfrom
codex/enterprise-first-install
Closed

yaojin3616 wants to merge 1 commit into
mainfrom
codex/enterprise-first-install

Conversation

@yaojin3616

Copy link
Copy Markdown
Contributor

Summary

  • Add a Linux terminal helper for a new BISHENG + DSH Enterprise Gateway installation using a versioned BISHENG checkout and operator supplied, matching Compose/config/Gateway SQL inputs.
  • Reject existing install directories and Compose projects, require an explicit INSTALL confirmation, generate service credentials locally, and keep MySQL credentials out of command arguments and error output.
  • Add an operator guide and run focused Python tests in the existing release workflow's validation job.

Validation

  • python3 -m unittest discover -s test -p 'test_dsh_enterprise_installer.py' -v (6 passed)
  • npm ci --no-audit --foreground-scripts (postinstall completed)
  • npm test (153 files, 1308 tests passed)
  • npm run typecheck
  • npm run build
  • workflow YAML parse and git diff --check

Acceptance boundary

This is a draft because the matching full Gateway application.yml and first-install SQL are distribution inputs that are not in this repository. No real Linux server installation, image pull, database import, browser login, model call, or usage accounting acceptance has been run. The script targets only a new deployment; existing BISHENG installations require their own migration procedure.

The separate local GitHub-only desktop updater changes are intentionally outside this PR. The repository is currently private, so unauthenticated installed clients cannot use that proposed update source yet.

@yaojin3616 yaojin3616 closed this Sep 29, 2026
@yaojin3616
yaojin3616 deleted the codex/enterprise-first-install branch October 20, 2026 13:24
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