Skip to content

fix: [self-heal] apply Ruff formatting to unblock CI format-check gate#54

Draft
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-ci-failure-main-25490840604
Draft

fix: [self-heal] apply Ruff formatting to unblock CI format-check gate#54
Copilot wants to merge 2 commits into
mainfrom
copilot/fix-ci-failure-main-25490840604

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 7, 2026

CI run 25490840604 failed in the CI workflow because the format-check step (ruff format --check) reported 10 unformatted files on main.
This PR is a formatting-only correction to align the repository with the enforced Ruff style gate.

  • Scope of changes

    • Applied Ruff formatting to the exact files flagged by CI:
      • packages/devcd-core/src/devcd/cli.py
      • packages/devcd-core/src/devcd/slices/ambient_context/service.py
      • packages/devcd-core/src/devcd/slices/events/models.py
      • packages/devcd-core/src/devcd/slices/mcp_server/service.py
      • packages/devcd-core/src/devcd/slices/vision_layer/__init__.py
      • scripts/internal_agentic_benchmark.py
      • tests/test_agentic_context.py
      • tests/test_cli.py
      • tests/test_mcp_server.py
      • tests/test_skill_contract.py
  • Change characteristics

    • No behavioral logic updates.
    • No API/schema/contract changes.
    • No dependency or workflow changes.
  • Representative formatting delta

    # before
    result = some_call(arg_one, arg_two, arg_three, arg_four)
    
    # after (ruff format)
    result = some_call(
        arg_one,
        arg_two,
        arg_three,
        arg_four,
    )

Copilot AI linked an issue May 7, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix CI failure in workflow run 25490840604 fix: [self-heal] apply Ruff formatting to unblock CI format-check gate May 7, 2026
Copilot AI requested a review from mick-gsk May 7, 2026 11:11
@github-actions github-actions Bot added devcd/events Event normalization, ledger, event schema devcd/cli CLI commands, config init, devcd run devcd/ambient-context devcd/mcp-server labels May 7, 2026
@mick-gsk
Copy link
Copy Markdown
Owner

@copilot Please fix the failed CI checks for this session immediately.
Use the failed check information below, including annotations and check output, to identify the root causes and make the necessary code changes.
Focus on resolving these CI failures. Avoid unrelated changes unless they are required to fix the checks.

Failed CI checks:

Check: Build and smoke-test container
Status: fehlerhaft
Conclusion: failure
Details: https://github.com/mick-gsk/DevCD/actions/runs/25492028163/job/74807436259

Annotations and output:
[warning] .github:2 Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
[failure] .github:115 Process completed with exit code 1.


Check: Python 3.11
Status: fehlerhaft
Conclusion: failure
Details: https://github.com/mick-gsk/DevCD/actions/runs/25492028154/job/74807435960

Annotations and output:
[warning] .github:2 Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
[failure] .github:17 Process completed with exit code 1.


Check: Python 3.12
Status: fehlerhaft
Conclusion: failure
Details: https://github.com/mick-gsk/DevCD/actions/runs/25492028154/job/74807435911

Annotations and output:
[warning] .github:2 Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
[failure] .github:17 Process completed with exit code 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devcd/ambient-context devcd/cli CLI commands, config init, devcd run devcd/events Event normalization, ledger, event schema devcd/mcp-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: CI Self-Heal run:25490840604 — CI failed

2 participants