From 4f563a18804c1f0802bd27402b113ccb5be28bd4 Mon Sep 17 00:00:00 2001 From: Eliel Sousa Date: Mon, 21 Sep 2026 18:47:15 -0300 Subject: [PATCH] chore(ci): alinhar retencao estrita de 3 versoes, scripts cli e promover sso a identico --- .github/workflows/ci.yml | 1 + .github/workflows/release.yml | 5 ++++- .gitignore | 1 + pyproject.toml | 2 ++ tests/test_irmaos_identicos.py | 3 +-- 5 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0511ba8..ce0087f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,7 @@ jobs: pip install --upgrade pip pip install . litellmrtksync --help + LiteLlmRTKSync --help docker-validation: name: Validate Docker Image Build & Testcontainers diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e699de1..dc2d0e3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,8 @@ on: branches: ["master"] paths: - "src/**" + - "Dockerfile" + - "pyproject.toml" tags: ["v*.*.*"] workflow_dispatch: @@ -39,6 +41,7 @@ jobs: pip install --upgrade pip pip install . litellmrtksync --help + LiteLlmRTKSync --help build-and-push-docker: name: Build and Push Multi-Arch Docker Image (x86_64 and arm64) @@ -117,7 +120,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} owner: ${{ github.repository_owner }} packages: litellmrtksync - keep-n-tagged: 3 + keep-n-tagged: 2 exclude-tags: latest delete-untagged: true delete-ghost-images: true diff --git a/.gitignore b/.gitignore index 55a6512..41ff261 100644 --- a/.gitignore +++ b/.gitignore @@ -226,6 +226,7 @@ __marimo__/ *.sqlite-shm .dashboard_recovery .dashboard_auth.json +.sso_client_secret *.log logs/ # Clone do upstream para leitura. diff --git a/pyproject.toml b/pyproject.toml index 26e5453..8a0a259 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,6 +46,8 @@ Issues = "https://github.com/pathbit/LiteLlmRTKSync/issues" [project.scripts] litellmrtksync = "litellm_rtksync.cli:main" litellm-rtksync = "litellm_rtksync.cli:main" +LiteLlmRTKSync = "litellm_rtksync.cli:main" +LiteLLMRTKSync = "litellm_rtksync.cli:main" [tool.setuptools.packages.find] where = ["src"] diff --git a/tests/test_irmaos_identicos.py b/tests/test_irmaos_identicos.py index 05940ac..005d427 100644 --- a/tests/test_irmaos_identicos.py +++ b/tests/test_irmaos_identicos.py @@ -52,6 +52,7 @@ "prefs.py", "protecao.py", "sessao.py", + "sso.py", ) # MĂłdulos que AINDA divergem, com o teto medido em 13/09/2026. A convergĂȘncia @@ -91,10 +92,8 @@ # `web.py`, entao sao quatro. A convergencia completa desse ponto e mover a # leitura para `gateway.py`, e isso continua em aberto. TETOS_DE_DIVERGENCIA = { - "i18n.py": 0, "models.py": 7, "render.py": 862, - "sso.py": 328, "web.py": 689, }