Skip to content

[server, dashboard, db] Org-wide "maintenance mode" #20813

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 15, 2025
Merged

Conversation

geropl
Copy link
Member

@geropl geropl commented May 13, 2025

Description

Allows to:

  • enable maintenance mode (prevents that org from starting new workspaces), which shows as a banner
  • configure a notification for that org (overshadowed by actual maintenance mode banner ☝️ )
  • see & stop all running workspaces

image

Related Issue(s)

Fixes CLC-1272, CLC-1273, CLC-1274, CLC-1275, CLC-1240

How to test

Documentation

Preview status

gitpod:summary

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@geropl geropl force-pushed the gpl/1272-infra-rollout branch from 52dbcf8 to d73be97 Compare May 14, 2025 12:31
geropl added 3 commits May 14, 2025 15:21
 - permissions issues
 - add banner to /new page
 - a bunch of rendering issues and alignments
 - renaming some things for clarity (dropped "Scheduled" prefixes)
 - only allow up to 255 characters in notification messages
@geropl geropl changed the title [WIP][server, dashboard, db] Org-wide "maintenance mode" [server, dashboard, db] Org-wide "maintenance mode" May 14, 2025
@geropl geropl marked this pull request as ready for review May 14, 2025 16:00
@geropl geropl requested review from a team as code owners May 14, 2025 16:00
@geropl
Copy link
Member Author

geropl commented May 14, 2025

Addressed all your feedback @filiptronicek, preview is currently redeploying (in dedicated config) 💯

@geropl geropl force-pushed the gpl/1272-infra-rollout branch from cea6c5d to d156926 Compare May 15, 2025 10:21
Copy link
Member

@filiptronicek filiptronicek left a comment

Choose a reason for hiding this comment

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

LGTM

@geropl
Copy link
Member Author

geropl commented May 15, 2025

/unhold

@roboquat roboquat merged commit 52848de into main May 15, 2025
21 checks passed
@roboquat roboquat deleted the gpl/1272-infra-rollout branch May 15, 2025 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants