Some checks are pending
Bidi Control Character Guard / bidi-control-guard (push) Waiting to run
Circular Dependency Check / Check for new circular dependencies (push) Waiting to run
Citus Migration Smoke / Combined migrations on single-node Citus (push) Waiting to run
E2E Fresh Install Tests / fresh-install-e2e (push) Waiting to run
ext-v2 guardrails / Run ext-v2 guard and ESLint (push) Waiting to run
Integration Tests / Check for relevant changes (push) Waiting to run
Integration Tests / ${{ (github.event_name == 'schedule' || github.event.inputs.suite == 'full') && 'Full integration suite' || 'Tier-1 integration subset' }} (push) Blocked by required conditions
Mobile checks / Mobile lint + typecheck (push) Waiting to run
Mobile checks / Mobile unit tests (push) Waiting to run
Mobile checks / Mobile dependency audit (report) (push) Waiting to run
Mobile checks / Mobile reproducibility checks (push) Waiting to run
Secrets guard (env backups) / Ensure no tracked env backup files (push) Waiting to run
Temporal Readiness / fast-readiness (push) Waiting to run
Temporal Readiness / docker-parity (push) Waiting to run
TypeScript Type Check / Nx affected typecheck (push) Waiting to run
Unit Tests / Skipped-test budget (push) Waiting to run
Unit Tests / Nx affected unit tests (push) Waiting to run
Unit Tests / Server unit coverage (informational) (push) Waiting to run
Validate Tenant Management Schema / Check for relevant changes (push) Waiting to run
Validate Tenant Management Schema / Validate Tenant Management Schema (push) Blocked by required conditions
EE Workflows Build Guard / ee-workflows-build-guard (push) Waiting to run
Excluded: .git, node_modules, secrets/, compose.env, assemblyscript tgz Source: /opt/alga-psa on psa.joliet.tech
Alga PSA Development Environment - Code Server
This directory contains the Docker configuration for the Alga PSA code-server development environment.
Overview
The code-server image provides a full-featured VS Code environment running in the browser, pre-configured for Alga PSA development.
Key Features
- Pre-installed Dependencies: npm dependencies are installed during the Docker build process to speed up environment startup
- Development Tools: Includes Node.js LTS, npm, git, kubectl, helm, and other essential tools
- VS Code Extensions: Pre-configured with TypeScript, Tailwind CSS, ESLint, and other useful extensions
- Auto-configuration: Git configuration and file watcher limits are automatically set
Building the Image
There are two ways to build the code-server image:
Option 1: Using the CLI (Recommended)
nu main.nu build-code-server --push
nu main.nu build-code-server --tag v1.0.0 --push
Option 2: Using the build script directly
cd docker/dev-env
./build-code-server.sh [TAG]
If no tag is specified, it defaults to latest.
Important: The Docker build is executed from the project root directory to access all package.json files. All paths in the Dockerfile are relative to the project root.
Speed Optimizations
The Dockerfile has been optimized to pre-install npm dependencies during the build phase:
- Layer Caching: Package files are copied first, allowing Docker to cache the dependency installation layer
- Pre-installation: Dependencies for the root project, server, and AI automation tools are installed during build
- Smart Updates: The startup script only runs npm install if dependencies have changed
This reduces the startup time from several minutes to seconds for new environments.
Files
Dockerfile.code-server: The main Dockerfile for building the code-server imagestart-dev-env.sh: Startup script that configures the environment and starts code-serverbuild-code-server.sh: Build script for creating and pushing the imageconfig/settings.json: VS Code settings for the development environmentconfig/extensions.json: List of VS Code extensions to install