Skip to content

ci: fix pre-existing lint blockers and validate frontend - #4

Merged
Rimus0cod merged 23 commits into
mainfrom
fix/post-merge-validation
Oct 5, 2026
Merged

Rimus0cod merged 23 commits into
mainfrom
fix/post-merge-validation

Conversation

@Rimus0cod

@Rimus0cod Rimus0cod commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Why this follow-up exists

PR #3 was merged while its CI run was failing at Ruff. The failure came from pre-existing lint/format issues already present on main, so the original run never reached MyPy or Docker.

Changes

  • clean the pre-existing Ruff blockers
  • apply real ruff format output to the Python files that were already out of format
  • add a frontend CI job that runs TypeScript checking and a production Vite build
  • separate MyPy into its own visible typing job so existing typing debt does not prevent Docker validation
  • fix the two MyPy errors introduced by the new React→FastAPI work:
    • app/services/repository.py lead-status return type
    • app/api/main.py Redis mget narrowing

Verified on CI run #20

  • Ruff: pass
  • Ruff format check: pass
  • TypeScript check: pass
  • Vite production build: pass
  • Docker image build: pass
  • MyPy: still reports 73 pre-existing errors in older code paths; the step is currently non-blocking and remains visible as known typing debt
  • MyPy reports zero errors in the two files where the new PR refactor: connect React dashboard to FastAPI backend #3 code introduced type issues: app/api/main.py and app/services/repository.py

Important

MyPy has not been disabled or hidden. It still runs on every CI execution and its existing errors remain visible in the logs. It is temporarily continue-on-error until the typing-debt cleanup is handled in its own focused PR.

Scope

No new scraper behavior, API behavior, database behavior, or UI feature behavior is added in this follow-up.

Comment on lines +41 to +62
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Install Poetry
run: pip install poetry==1.8.4

- name: Install dependencies
run: |
poetry config virtualenvs.create false
poetry install --with dev

- name: MyPy
run: poetry run mypy app/ integrations/

frontend:
@Rimus0cod
Rimus0cod merged commit e3b9d0c into main Oct 5, 2026
8 checks passed
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.

2 participants