Skip to content

getting an incarnation can fail briefly while a change is being pushed #440

@defreng

Description

@defreng
2023-12-14T09:50:16.098428Z [error    ] received unexpected response from FoxOps API: 500 Headers({'date': 'Thu, 14 Dec 2023 09:50:16 GMT', 'content-type': 'application/json', 'content-length': '134', 'connection': 'keep-alive', 'cf-cache-status': 'DYNAMIC', 'server': 'cloudflare', 'cf-ray': '83558aa6a8c001df-ZRH'}) {"message":"the given change is in an incomplete state (commit_pushed=False). Try calling update_incomplete_change(change_id) first."} [FoxopsClient] correlation_id=90434f15-4a73-45ae-be9b-156320b6c00c
2023-12-14T09:50:16.098487Z [error    ] request: GET https://foxops/api/incarnations/12 [FoxopsClient] correlation_id=90434f15-4a73-45ae-be9b-156320b6c00c
2023-12-14T09:50:16.098756Z [error    ] Exception in ASGI application
 [uvicorn.error] correlation_id=90434f15-4a73-45ae-be9b-156320b6c00c
httpx.HTTPStatusError: Server error '500 Internal Server Error' for url 'https://foxops/api/incarnations/12'
For more information check: https://httpstatuses.com/500

the call immediately recovers afterwards...

Probably happening when the GET call is made while foxops is pushing the commit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions