From 2a986e08cea695a25ce7fdfc93da30b947fbe2af Mon Sep 17 00:00:00 2001 From: tdruez Date: Fri, 12 Jun 2026 11:50:01 +0400 Subject: [PATCH 1/3] chore: optimize Codespaces startup Signed-off-by: tdruez --- .devcontainer/demo/devcontainer.json | 47 ++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) diff --git a/.devcontainer/demo/devcontainer.json b/.devcontainer/demo/devcontainer.json index fc140056..9d31b76f 100644 --- a/.devcontainer/demo/devcontainer.json +++ b/.devcontainer/demo/devcontainer.json @@ -16,11 +16,54 @@ "openFiles": [] }, "vscode": { + "extensions": [], "settings": { "chat.disableAIFeatures": true, - "workbench.startupEditor": "none", + "telemetry.telemetryLevel": "off", "workbench.tips.enabled": false, - "git.openRepositoryInParentFolders": "never" + "workbench.startupEditor": "none", + "workbench.editor.enablePreview": false, + "security.workspace.trust.enabled": false, + "extensions.autoCheckUpdates": false, + "extensions.ignoreRecommendations": true, + "git.enabled": false, + "git.autorefresh": false, + "git.decorations.enabled": false, + "scm.diffDecorations": "none", + "editor.minimap.enabled": false, + "editor.quickSuggestions": { + "other": "off", + "comments": "off", + "strings": "off" + }, + "editor.suggestOnTriggerCharacters": false, + "editor.wordBasedSuggestions": "off", + "editor.parameterHints.enabled": false, + "editor.codeLens": false, + "editor.lightbulb.enabled": "off", + "editor.inlayHints.enabled": "off", + "editor.occurrencesHighlight": "off", + "editor.selectionHighlight": false, + "editor.renderLineHighlight": "none", + "editor.renderWhitespace": "none", + "editor.formatOnSave": false, + "editor.accessibilitySupport": "off", + "breadcrumbs.enabled": false, + "files.watcherExclude": { + "**/.git/**": true, + "**/data/**": true, + "**/static/**": true, + "**/media/**": true, + "**/thirdparty/**": true, + "**/*.dist": true + }, + "search.exclude": { + "**/.git": true, + "**/data": true, + "**/static": true, + "**/media": true, + "**/thirdparty": true + } } } } From 971612bcab7f5b85e77817677dc3ae0468c271c4 Mon Sep 17 00:00:00 2001 From: tdruez Date: Fri, 12 Jun 2026 12:03:25 +0400 Subject: [PATCH 2/3] optimize healthcheck conf Signed-off-by: tdruez --- .devcontainer/demo/devcontainer.json | 3 +++ README.rst | 2 +- compose.demo.yml | 2 ++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.devcontainer/demo/devcontainer.json b/.devcontainer/demo/devcontainer.json index 9d31b76f..60b6729c 100644 --- a/.devcontainer/demo/devcontainer.json +++ b/.devcontainer/demo/devcontainer.json @@ -4,6 +4,9 @@ "service": "web", "workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}", "overrideCommand": false, + "hostRequirements": { + "cpus": 4 + }, "forwardPorts": [8000], "portsAttributes": { "8000": { diff --git a/README.rst b/README.rst index c50c82f0..b5716632 100644 --- a/README.rst +++ b/README.rst @@ -23,7 +23,7 @@ using GitHub Codespaces. The badge below launches a ready-to-use demo instance: the application starts automatically, with a demo account already created for you. .. image:: https://github.com/codespaces/badge.svg - :target: https://github.com/codespaces/new/aboutcode-org/dejacode?ref=main&devcontainer_path=.devcontainer%2Fdemo%2Fdevcontainer.json&quickstart=true + :target: https://github.com/codespaces/new/aboutcode-org/dejacode?ref=main&devcontainer_path=.devcontainer%2Fdemo%2Fdevcontainer.json&machine=standardLinux32gb&quickstart=true :alt: Open in GitHub Codespaces #. **Click** the badge above and **confirm** the creation of the Codespace. diff --git a/compose.demo.yml b/compose.demo.yml index c4aa6f8a..ed7b71a2 100644 --- a/compose.demo.yml +++ b/compose.demo.yml @@ -16,6 +16,8 @@ services: interval: 10s timeout: 5s retries: 5 + start_period: 30s + start_interval: 1s web: image: ghcr.io/aboutcode-org/dejacode:latest From 457ea4c0c6c73b18e325ff46c6de073f3b4dfca1 Mon Sep 17 00:00:00 2001 From: tdruez Date: Fri, 12 Jun 2026 12:13:23 +0400 Subject: [PATCH 3/3] vs code config Signed-off-by: tdruez --- .devcontainer/demo/devcontainer.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.devcontainer/demo/devcontainer.json b/.devcontainer/demo/devcontainer.json index 60b6729c..16968fbc 100644 --- a/.devcontainer/demo/devcontainer.json +++ b/.devcontainer/demo/devcontainer.json @@ -52,6 +52,8 @@ "editor.formatOnSave": false, "editor.accessibilitySupport": "off", "breadcrumbs.enabled": false, + "terminal.integrated.enablePersistentSessions": false, + "terminal.integrated.gpuAcceleration": "off", "files.watcherExclude": { "**/.git/**": true, "**/data/**": true,