Skip to content

Merge Develop into Master (v1.24)#2175

Open
ObadaS wants to merge 38 commits intomasterfrom
develop
Open

Merge Develop into Master (v1.24)#2175
ObadaS wants to merge 38 commits intomasterfrom
develop

Conversation

@ObadaS
Copy link
Collaborator

@ObadaS ObadaS commented Feb 10, 2026

Upgrade instructions

Rabbit (#2061)

We also need to log into the RabbitMQ interface and enable the flags it wants us to enable after upgrading.

RabbitMQ port, username and password to access the interface are defined in the .env file.

Capture d’écran 2026-02-25 à 12 50 32

More information about feature flags here

Database (Postgres 12 -> 18) (#2091)

1. Maintenance mode on to avoid update on the database during the upgrade:

touch maintenance_mode/maintenance.on
git pull

2. Create the new postgres.conf file from the sample:

cp my-postgres_sample.conf my-postgres.conf

3. Rebuild docker containers to take into account the new images:

docker compose build --no-cache

4. Dump the database, remove it and reload it on the new configuration:

# Dump database
docker compose exec db bash -lc 'PGPASSWORD="$DB_PASSWORD" pg_dump -Fc -U "$DB_USERNAME" -d "$DB_NAME" -f /app/backups/upgrade-1.24.dump'
# Check that dump file is not empty
docker compose exec db bash -lc 'ls -lh /app/backups/upgrade-1.24.dump && pg_restore -l /app/backups/upgrade-1.24.dump | head'

/!\ Dangerous operation here: confirm that your dump worked before removing the database!

# Remove database
sudo rm -rf var/postgres
# Launch the new containers (containing the updated databse image and Restore from backup)
docker compose up -d db
docker compose exec db bash -lc 'PGPASSWORD="$DB_PASSWORD" pg_restore --verbose --clean --no-acl --no-owner -h $DB_HOST -U "$DB_USERNAME" -d "$DB_NAME" /app/backups/upgrade-1.24.dump'

See this for more details.

5 Restart the rest of the services and disable maintenance mode:

docker compose up -d
rm maintenance_mode/maintenance.on

Release notes

Improvements

Documentation

@Didayolo
Copy link
Member

Didayolo commented Feb 10, 2026

@Didayolo
Copy link
Member

The documentation "Upgrading Codabench" seems to go only until v1.18

https://docs.codabench.org/latest/Developers_and_Administrators/Upgrading_Codabench/

TheoRudkiewicz and others added 25 commits February 11, 2026 15:39
…dle-Structure.md`): `metdata.yaml` -> `metadata.yaml`
…dle-Structure.md`): `metdata.yaml` -> `metadata.yaml` (#2181)
…d scoring and ingestion update to prepare() from start()
Worker status to FAILED instead of SCORING or FINISHED in case of failure
Make detailed results public when competition is public
…er pk + submission ID; changed temporary file naming scheme to include user pk and submission ID as prefix
Sometimes compute_worker crashes. Add automatic restart to handle failures.
Add restart policy to compute_worker configuration
Option to rewrite endpoint URL - Fix local instance
Made competition container and temp folder names more readable
* Newsletter 2025

* Fix spacing

* Update newsletter 2025

* Formatting

* Add break

* update newsletter 2025

* Update competitions list in newsletter

* Proof reading

---------

Co-authored-by: Anne-Catherine L. <acl@lisn.fr>
User Admin upgrades (easier user creation + password change)
* move Dockerfiles to packaging/container; use different base image to reduce overall size; switch to using uv instead of poetry

* fix workflow paths and name

* workflow fixes

* move some dependencies to dev group

* rebase and update pyproject to use groups

* add new required dependency that was in python:3.10 image but not in current almalinux image

* add new file to ignore in .gitignore

* remove useless line

* update postgres to latest; add postgres configuration file; update documentation

* tentative fix for postgres on circle-ci

* Revert "update postgres to latest; add postgres configuration file; update documentation"

This reverts commit 2353ded.

* Revert "tentative fix for postgres on circle-ci"

This reverts commit 294a8e4.

* named local worker in docker-compose for server_status

* rename Dockerfile to Containerfile in documentation

* Inter-platform robustness, remove platform from Containerfile

* Revert change on docker-compose.yml

* Improve Apple chips installation instructions

---------

Co-authored-by: Obada Haddad <obada.haddad@lisn.fr>
Co-authored-by: didayolo <adrien.pavao@gmail.com>
ObadaS and others added 7 commits February 23, 2026 14:36
…ectstatic in docker-compose.yml (#2203)

* fix missing staticfiles on first launch by switching migrate and collectstatic in docker-compose.yml

* remove now useless collectstatic in circle-ci tests

---------

Co-authored-by: Obada Haddad <obada.haddad@lisn.fr>
Fix helper position in "My Submissions" tab
* Bumped RabbitMQ docker image version to latest

* changed workflow to use github

* workflow fix

* remove useless test workflow file

---------

Co-authored-by: Obada Haddad <obada.haddad@lisn.fr>
* update postgres to latest; add postgres configuration file; update documentation

* tentative fix for postgres on circle-ci

* add upgrade information in docker-compose.yml for Postgres

---------

Co-authored-by: Obada Haddad <obada.haddad@lisn.fr>
* add http(s) proxy and network mode for the compute worker as options in the .env

* fix error from previous commit

* add documentation about the new compute worker features

* Make test more robust

* Rename variable for clarity

* Slight syntax re-writing

---------

Co-authored-by: Obada Haddad <obada.haddad@lisn.fr>
Co-authored-by: didayolo <adrien.pavao@gmail.com>
@Didayolo Didayolo marked this pull request as ready for review February 25, 2026 10:53
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.

4 participants