Skip to content

ops: stdcm requests can't be saved and reproduced anymore #13988

@eckter

Description

@eckter

The current way to save and rerun past requests is to save editoast input payloads in datadog.

That relies on the input being smaller than 1024 characters. Which was fine up to now, but adding the list of allowed tracks to this payload brings it to a few hundreds kbs.


Possible fix 1

Object storage: #13640

It would take some time to set it up, but it would be straightforward, efficient, and reliable.

Possible fix 2

  1. Copy the input payload and remove the list of tracks from the copy, to keep its size under the threshold. Log that in datadog instead.
  2. Figure out which search environment was used in the request, and log that. May require an API change.
  3. Adapt the script that builds and save a payload
    a. Identify the used search environment
    b. Query that search environment to get the tracks. May require a new endpoint, or iterating through all the envs and their tracks.
    c. Patch those tracks into the request to be sent to editoast.

While this delays the need for an object storage for a little longer, I don't think it would take less time / effort / complexity than option 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions