Skip to content

Restore PUT account route decorator to unblock CI build - #17

Merged
Moon-Knight13 merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job
Jun 20, 2026
Merged

Moon-Knight13 merged 2 commits into
mainfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jun 20, 2026 •

Copy link
Copy Markdown
Contributor

The build GitHub Actions job failed due to a lint error in service/routes.py and exposed a functional regression in route registration for account updates. This PR restores the missing Flask route decorator on the PUT endpoint.

  • Root cause

    • The update endpoint declaration lost its @app.route(...) decorator prefix, leaving a bare expression and triggering flake8 E302 at the failing line.
  • Change

    • Restored the decorator annotation on the update handler so the route is registered correctly and the file conforms to lint expectations.
  • Impact

    • Re-enables PUT /accounts/<int:account_id> handler registration.
    • Removes the exact lint failure blocking the build job.
@app.route("/accounts/<int:account_id>", methods=["PUT"])
def update_accounts(account_id):
    ...

Copilot AI changed the title [WIP] Fix the failing GitHub Actions job 'build' Restore PUT account route decorator to unblock CI build Jun 20, 2026
Copilot AI requested a review from Moon-Knight13 June 20, 2026 08:30
@Moon-Knight13
Moon-Knight13 marked this pull request as ready for review June 20, 2026 08:33
@Moon-Knight13
Moon-Knight13 merged commit e46c2e3 into main Jun 20, 2026
1 check 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