Skip to content

Conversation

kieran-ryan
Copy link
Member

@kieran-ryan kieran-ryan commented Sep 16, 2025

🤔 What's changed?

⚡️ What's your motivation?

  • Improve CI performance

    Metric Previous Now Delta % Change
    Total Runner Time 18m 27s
    (1107s)
    13m 15s
    (795s)
    -5m 12s
    (-312s)
    -28.2%
    Total Python Test Runner Time 4m 41s
    (301s)
    1m 56s
    (116s)
    -3m 5s
    (-185s)
    -61.5%
    Python Test Workflow Duration 6m 47s
    (407s)
    1m 0s
    (60s)
    -5m 47s
    (-347s)
    -85.3%
    Python Test Fastest Job 18s 6s -12s -67%
    Python Test Average Job 40s 14.5s -25.5s -64%
  • Improve maintainability

    • Considerable complexity reduction in GitHub Actions from poetry bootstrapping to managed uv
    • Enforces import formatting - which although had a configuration, was not validated in the pipeline and imports were thus not formatted
    • Automatically update Python linting dependencies through Renovate
  • Improve developer experience

  • Removed deprecated poetry APIs before they are removed; and the following warning on builds: The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.

🏷️ What kind of change is this?

  • 🏦 Refactoring/debt/DX (improvement to code design, tooling, etc. without changing behaviour)

♻️ Anything particular you want feedback on?

📋 Checklist:

@kieran-ryan kieran-ryan self-assigned this Sep 16, 2025
@kieran-ryan kieran-ryan added the 🏦 debt Tech debt label Sep 16, 2025
@kieran-ryan kieran-ryan force-pushed the debt/optimise-py-tooling branch from 7af52df to f7ca33c Compare September 16, 2025 19:55
Run linting workflow through uv and Python 3.13 with a cache.
Automatically validate formatting through CI.
@kieran-ryan kieran-ryan force-pushed the debt/optimise-py-tooling branch from 7cb1701 to a5054d0 Compare September 16, 2025 20:34
@kieran-ryan kieran-ryan force-pushed the debt/optimise-py-tooling branch from c07dba6 to 2d1f995 Compare October 10, 2025 20:11
@kieran-ryan kieran-ryan force-pushed the debt/optimise-py-tooling branch 3 times, most recently from e71acbc to c96c021 Compare October 10, 2025 22:06
@kieran-ryan kieran-ryan force-pushed the debt/optimise-py-tooling branch from c96c021 to 42d45d5 Compare October 10, 2025 23:04
@kieran-ryan kieran-ryan marked this pull request as ready for review October 11, 2025 00:13
@mpkorstanje mpkorstanje merged commit 4cb201f into main Oct 12, 2025
32 checks passed
@mpkorstanje mpkorstanje deleted the debt/optimise-py-tooling branch October 12, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🏦 debt Tech debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants