Skip to content

Dev#13

Merged
usnavy13 merged 13 commits into
mainfrom
dev
Dec 27, 2025
Merged

Dev#13
usnavy13 merged 13 commits into
mainfrom
dev

Conversation

@usnavy13
Copy link
Copy Markdown
Owner

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

- Removed unused imports across multiple files, including asyncio and json.
- Simplified conditional expressions for better clarity in lifespan and execution contexts.
- Adjusted type hints and default values in models for consistency.
- Enhanced formatting of long strings for improved readability in configuration files.
- Replaced MAX_CPU with MAX_CPUS for clarity.
- Marked MAX_CPU_QUOTA as deprecated for future reference.
- Changed instructions from pulling prebuilt Docker images to building the execution environment.
- Updated commands for building Python and all language images accordingly.
- Introduced a new `docker-compose.ghcr.yml` file for deploying the application with pre-built images from GitHub Container Registry.
- Updated `.env.example` to include `DOCKER_IMAGE_REGISTRY` for better configuration management.
- Enhanced the `Settings` class to support dynamic Docker image retrieval based on the specified registry.
- Modified `languages.py` to use images without the registry prefix for better compatibility with the new setup.
- Updated the README to reflect changes in execution environment setup and provide instructions for using local vs. pre-built images.
- Updated the Docker publish workflows to support multi-platform builds for linux/amd64 and linux/arm64 architectures.
…e building logic

- Added `workflow_dispatch` support to `docker-publish.yml` and `execution-env-publish.yml` for manual execution.
- Introduced input option `build_all` in `execution-env-publish.yml` to force build all images.
- Updated logic in `execution-env-publish.yml` to determine target languages based on workflow events and changes to the workflow file.
- Changed echo statements to use single quotes for consistency.
- Updated conditional checks to use the `contains` function for better clarity when determining if the workflow file was modified.
- Added a new filter for `rebuild_all` to trigger builds when specific files change.
- Improved conditional checks to determine when to build all images based on workflow changes.
- Filtered out `rebuild_all` from the changes list for cleaner output.
- Changed the Docker image tag in `docker-compose.ghcr.yml` from `latest` to `dev` for development purposes.
- Enhanced the `Settings` class to include a new field for `docker_image_tag`, allowing dynamic specification of image tags.
- Modified the `get_image_for_language` function in `languages.py` to accept a tag parameter, improving flexibility in image retrieval.
- Changed the default Docker image tag in `docker-compose.ghcr.yml` from `latest` to `dev` to better suit development needs.
- Enhanced the `Settings` class to retrieve the Docker image tag dynamically, allowing for more flexible image management.
- Modified `.env.example` to clarify SSL certificate paths for Docker and non-Docker deployments.
- Updated `docker-compose.ghcr.yml` and `docker-compose.yml` to use a dynamic path for SSL certificates, enhancing flexibility.
- Revised `CONFIGURATION.md` to provide detailed instructions for SSL setup in both Docker and non-Docker environments.
…d service files

- Enhanced the `Settings` class in `__init__.py` for better clarity in Docker image retrieval logic.
- Reformatted the `get_image_for_language` function in `languages.py` for improved readability.
- Adjusted the `ApiKeyRecord` class in `api_key.py` to streamline dictionary comprehension.
- Improved formatting in the `HealthCheckService` class in `health.py` for better alignment.
- Refactored the `ExecutionContext` class in `orchestrator.py` to enhance code structure.
- Improved the formatting of the Docker image retrieval logic in the `Settings` class in `__init__.py`.
- Streamlined dictionary comprehension in the `ApiKeyRecord` class in `api_key.py`.
- Refined the formatting of memory total calculation in the `HealthCheckService` class in `health.py`.
- Enhanced the structure of the `ExecutionContext` class in `orchestrator.py` for better clarity.
@usnavy13 usnavy13 merged commit f319fa1 into main Dec 27, 2025
2 checks passed
@usnavy13 usnavy13 deleted the dev branch December 27, 2025 04:10
@usnavy13 usnavy13 restored the dev branch December 27, 2025 04:10
djuillard pushed a commit to On-Behalf-AI/LibreCodeInterpreter that referenced this pull request Apr 21, 2026
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