From 4abed77e61e22086e3f93f130caa80a87804208c Mon Sep 17 00:00:00 2001 From: Sean Tang <171081544+seant-aws@users.noreply.github.com> Date: Tue, 11 Aug 2026 21:10:44 +0000 Subject: [PATCH 1/2] test(e2e): fix mypy Optional narrowing in test_session_runtime Signed-off-by: Sean Tang <171081544+seant-aws@users.noreply.github.com> --- test/e2e/test_session_runtime.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/e2e/test_session_runtime.py b/test/e2e/test_session_runtime.py index deeabde0..c2600391 100644 --- a/test/e2e/test_session_runtime.py +++ b/test/e2e/test_session_runtime.py @@ -537,6 +537,7 @@ def check_worker_service_stopped() -> None: interval=10, ) def wait_worker_started() -> None: + assert worker.worker_id is not None # narrow Optional inside the closure for mypy assert is_worker_started( deadline_client=deadline_client, farm_id=deadline_resources.farm.id, From 0bc8bbabac393b4617f0cc3c7953757ca0d578ea Mon Sep 17 00:00:00 2001 From: Sean Tang <171081544+seant-aws@users.noreply.github.com> Date: Tue, 11 Aug 2026 21:17:12 +0000 Subject: [PATCH 2/2] ci: run e2e:lint in Code Quality workflow Signed-off-by: Sean Tang <171081544+seant-aws@users.noreply.github.com> --- .github/workflows/code_quality.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/code_quality.yml b/.github/workflows/code_quality.yml index b254b63f..856c9d42 100644 --- a/.github/workflows/code_quality.yml +++ b/.github/workflows/code_quality.yml @@ -54,3 +54,25 @@ jobs: - name: Run Integration Tests run: hatch run integ-test + + E2ELint: + name: E2E Lint + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ inputs.tag || inputs.branch || github.ref }} + + - name: Set up Python + uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0 + with: + python-version: '3.11' + + - name: Install Hatch + run: | + pip install --upgrade hatch + + - name: Run E2E Lint + run: hatch run e2e:lint