Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
c581422
Migrate from poetry to uv, sphinx to mkdocs
amrit110 Dec 16, 2025
1770468
Fixes to markdown, indents and type hints
amrit110 Dec 16, 2025
98000bb
Ignores to keras based CVEs
amrit110 Dec 16, 2025
26e434c
Fixing some docs rendering issues.
emersodb Jan 13, 2026
b362260
More docs rendering fixes
emersodb Jan 13, 2026
47e12fb
More docs rendering fixes
emersodb Jan 13, 2026
43446f3
More docs rendering fixes
emersodb Jan 13, 2026
23c2295
More docs rendering fixes
emersodb Jan 13, 2026
3ec1482
More docs rendering fixes
emersodb Jan 13, 2026
59d49ae
More docs rendering fixes
emersodb Jan 13, 2026
5f63951
More docs rendering fixes
emersodb Jan 13, 2026
8f3575c
Merge branch 'main' into migrate-to-uv
amrit110 Jan 14, 2026
f89bfd3
Fix references to old poetry based instructions
amrit110 Jan 14, 2026
9058cbb
Additional fixes, add image assets
amrit110 Jan 14, 2026
f0d4764
Add logo file
amrit110 Jan 14, 2026
10db2c8
Fixes to math syntax
amrit110 Jan 14, 2026
4e7f62a
Fix line length
amrit110 Jan 14, 2026
5c1db9b
Fix and adjust smoke tests
amrit110 Jan 15, 2026
8875a7d
Update feddg_ga expected metrics for new package versions
amrit110 Jan 16, 2026
df107ae
Fix non-determinism in feddg_ga test by seeding DirichletLabelBasedSa…
amrit110 Jan 16, 2026
7e97042
Fix smoke tests
amrit110 Jan 18, 2026
3422881
Change ubuntu version to latest
amrit110 Jan 18, 2026
1e11118
Migrating to the vector license
emersodb Jan 19, 2026
4cd5996
drop apache shield
emersodb Jan 19, 2026
8b97a4e
Migrating all note syntax?
emersodb Jan 19, 2026
6d9ea82
No bad idea
emersodb Jan 19, 2026
c5410df
Addressing vulnerability and testing whether we can drop an ignore
emersodb Jan 19, 2026
b40cae8
Fixing the non-inline math renderings
emersodb Jan 19, 2026
b980a31
Fixing inline code rendering
emersodb Jan 19, 2026
b3343c6
Bumping the wait time for the 3D nnunet smoke
emersodb Jan 19, 2026
2e82f6c
Can we get away with not doing the explicit setup cache step with uv?
emersodb Jan 19, 2026
8d68d87
[pre-commit.ci] pre-commit autoupdate
pre-commit-ci[bot] Jan 19, 2026
668fa2d
Caching back and a few small smoke test changes
emersodb Jan 19, 2026
af63031
Increasing debug timeout and testing a print
emersodb Jan 19, 2026
94e3819
adding print statement and shutting off non-nnunet calls
emersodb Jan 19, 2026
8816950
Moving server logs below client to see what they say
emersodb Jan 19, 2026
2bc8339
Adding more logging and small docs fix
emersodb Jan 19, 2026
b757d50
Expose nnunet debugging and fix small documentation piece
emersodb Jan 19, 2026
2849a8f
minimizing timeout
emersodb Jan 19, 2026
bbd6192
More debug logs
emersodb Jan 19, 2026
4032fd6
More debug logs
emersodb Jan 19, 2026
de9f630
More debug logs
emersodb Jan 19, 2026
f14c6e4
Reverting the logging for debugging
emersodb Jan 19, 2026
738f007
Adding nnunet datasets to see if we can get smokes to pass
emersodb Jan 20, 2026
0837361
More debugging
emersodb Jan 20, 2026
d55c7b9
Re-enabling smokes
emersodb Jan 20, 2026
bfd8901
Removing the nnunet dataset files, reverting debug loggings etc., dis…
emersodb Jan 20, 2026
82ab7a3
Merge branch 'dbe/add_vector_license' into pre-commit-ci-update-config
emersodb Jan 20, 2026
d7a04a6
Merge pull request #491 from VectorInstitute/pre-commit-ci-update-config
emersodb Jan 20, 2026
80560c6
Fixing some feddg-ga tests after seed set
emersodb Jan 20, 2026
8fd033e
Merge branch 'migrate-to-uv' into dbe/add_vector_license
emersodb Jan 20, 2026
efeb0a4
Merge pull request #490 from VectorInstitute/dbe/add_vector_license
emersodb Jan 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
102 changes: 102 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
name: docs
permissions:
contents: write
pull-requests: write

on:
push:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/docs.yml
- '**.py'
- '**.ipynb'
- '**.html'
- '**.js'
- '**.md'
- '**.rst'
- uv.lock
- pyproject.toml
- mkdocs.yml
- '**.png'
- '**.svg'
pull_request:
branches:
- main
paths:
- .pre-commit-config.yaml
- .github/workflows/docs.yml
- '**.py'
- '**.ipynb'
- '**.js'
- '**.html'
- uv.lock
- pyproject.toml
- '**.md'
- '**.rst'
- mkdocs.yml
- '**.png'
- '**.svg'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v7.1.5
with:
version: "0.9.11"
enable-cache: true

- name: Set up Python
uses: actions/setup-python@v6.1.0
with:
python-version-file: ".python-version"

- name: Install the project
run: uv sync --group docs --group test

- name: Build docs
run: uv run mkdocs build

- name: Create .nojekyll file
run: touch site/.nojekyll

- name: Upload artifact
uses: actions/upload-artifact@v5
with:
name: docs-site
path: site/
retention-days: 1

deploy:
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6

- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com

- name: Download artifact
uses: actions/download-artifact@v6
with:
name: docs-site
path: site

- name: Ensure .nojekyll exists
run: touch site/.nojekyll

- name: Deploy to Github pages
uses: JamesIves/github-pages-deploy-action@v4.7.6
with:
branch: github_pages
folder: site
26 changes: 0 additions & 26 deletions .github/workflows/docs_build.yml

This file was deleted.

48 changes: 0 additions & 48 deletions .github/workflows/docs_publish.yml

This file was deleted.

22 changes: 16 additions & 6 deletions .github/workflows/publish_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,24 @@ jobs:
- name: Install apt dependencies
run: |
sudo apt-get update
- uses: actions/checkout@v6
- name: Install poetry
run: pipx install poetry
- uses: actions/setup-python@v6

- name: Checkout code
uses: actions/checkout@v6

- name: Install uv
uses: astral-sh/setup-uv@v7.1.5
with:
version: "0.9.11"
enable-cache: true

- name: Set up Python
uses: actions/setup-python@v6.1.0
with:
python-version: "3.10"
python-version-file: ".python-version"

- name: Build package
run: poetry build
run: uv build

- name: Publish package
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e
with:
Expand Down
46 changes: 21 additions & 25 deletions .github/workflows/smoke_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:

jobs:
test:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
permissions:
contents: read
actions: write
Expand All @@ -22,39 +22,35 @@ jobs:
- name: Checkout code
uses: actions/checkout@v6

- name: Set up Python 3.10
uses: actions/setup-python@v6
- name: Install uv
uses: astral-sh/setup-uv@v7.1.5
with:
python-version: "3.10"
version: "0.9.11"
enable-cache: true

- name: Set up Python
uses: actions/setup-python@v6.1.0
with:
python-version-file: ".python-version"

- name: Display Python version
run: python -c "import sys; print(sys.version)"

- name: Set up file descriptor limit
run: ulimit -n 4096

- name: Install and configure Poetry
uses: snok/install-poetry@v1
with:
virtualenvs-create: true
virtualenvs-in-project: true

- name: Set up cache
uses: actions/cache@v5
id: cached-poetry-dependencies
id: cached-uv-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }}

- name: Set up file descriptor limit
run: ulimit -n 4096

- name: Install dependencies
Comment thread
amrit110 marked this conversation as resolved.
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: |
poetry install --with "dev, test"
run: uv sync --group dev --group test

- name: Run Script
run: |
source .venv/bin/activate
pytest --test-group-count=4 --test-group=${{ matrix.group }} -v --cov fl4health --cov-report=xml tests/smoke_tests/test_smoke_tests.py
run: uv run pytest --test-group-count=4 --test-group=${{ matrix.group }} -v --cov fl4health --cov-report=xml tests/smoke_tests/test_smoke_tests.py

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
Expand All @@ -64,14 +60,14 @@ jobs:
fail_ci_if_error: true
verbose: true

# Deleting some temporary files and useless folders to free up space in order to have space for
# the cache file, and printing the disk space info at the beggining and end.
# Deleting poetry cache should clear ~4GB of space.
# Deleting some temporary files and useless folders to free up space
# Deleting /usr/share/dotnet should clear ~4GB of space.
# Deleting /usr/local/lib/android should clear ~12GB of space.
- name: Cleanup space (before cache save)
run: |
df -h /dev/root
poetry cache clear --all . --no-interaction
sudo rm -rf /usr/share/dotnet /usr/local/lib/android
df -h /dev/root

- name: Minimize uv cache
run: uv cache prune --ci
48 changes: 28 additions & 20 deletions .github/workflows/static_code_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,52 +18,60 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Python 3.10
uses: actions/setup-python@v6

- name: Install uv
uses: astral-sh/setup-uv@v7.1.5
with:
python-version: "3.10"
- name: Install and configure Poetry
uses: snok/install-poetry@v1
version: "0.9.11"
enable-cache: true

- name: Set up Python
uses: actions/setup-python@v6.1.0
with:
virtualenvs-create: true
virtualenvs-in-project: true
python-version-file: ".python-version"

- name: Set up cache
uses: actions/cache@v5
id: cached-poetry-dependencies
id: cached-uv-dependencies
with:
path: .venv
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}
key: venv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }}

- name: Install dependencies
run: poetry install --with "dev, test, codestyle"
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: uv sync --group dev --group test --group codestyle

- name: Pre-commit Checks
run: |
source .venv/bin/activate
pre-commit run --all-files
run: uv run pre-commit run --all-files

- name: pip-audit (gh-action-pip-audit)
uses: pypa/gh-action-pip-audit@v1.1.0
with:
virtual-environment: .venv/
# GHSA-3749-ghw9-m3mg and GHSA-887c-mr87-cxwp are pytorch vulnerabilities that require 2.7 and 2.8 but we're
# pinning to 2.6.0 for now.
# GHSA-wf7f-8fxf-xfxc ML Flow vulnerability in deserialization that hasn't been patched yet.
# CVE-2025-53000 NBConvert issue, no fix yet.
# CVE-2026-21851 is a MonAI issue with no fix at the moment.
# CVE-2024-55459, CVE-2025-9906, CVE-2025-12058, CVE-2025-12060 are keras vulnerabilities that require
# keras>=3.12.0 which needs tensorflow>=2.16, but we're pinning to tensorflow 2.15 due to tensorflow-io
# compatibility constraints.
ignore-vulns: |
GHSA-3749-ghw9-m3mg
GHSA-887c-mr87-cxwp
GHSA-wf7f-8fxf-xfxc
CVE-2025-53000
CVE-2026-21851
CVE-2024-55459
CVE-2025-9906
CVE-2025-12058
CVE-2025-12060

# Deleting some temporary files and useless folders to free up space in order to have space for
# the cache file, and printing the disk space info at the beggining and end.
# Deleting poetry cache should clear ~4GB of space.
# Deleting some temporary files and useless folders to free up space
# Deleting /usr/share/dotnet should clear ~4GB of space.
# Deleting /usr/local/lib/android should clear ~12GB of space.
- name: Cleanup space (before cache save)
run: |
df -h /dev/root
poetry cache clear --all . --no-interaction
sudo rm -rf /usr/share/dotnet /usr/local/lib/android
df -h /dev/root

- name: Minimize uv cache
run: uv cache prune --ci
Loading
Loading