Skip to content

Followup to the yaml helper refactor #4467

@LecrisUT

Description

@LecrisUT

Splitting up a couple of comments from #4334

  • 1 ruame.yaml.YAML uses round-trip as the default parser, but if we do not save and re-use the yaml object, this does not really help us. to_yaml is example of that case where we throw away the yaml object afterwads.
  • 2 Related to the above, it would actually be useful to use the roundtrip to incrementally add to a file. I wonder if that is not what we actually see in Poor performance of tmt/testing-farm with thousands of tests #4406

Footnotes

  1. https://github.com/teemtee/tmt/pull/4334#discussion_r2668330246

  2. https://github.com/teemtee/tmt/pull/4334#discussion_r2668339049

Metadata

Metadata

Assignees

No one assigned

    Labels

    area | maintenanceChanges important for efficiency and the long-term health of the projectcode | utilsVarious utility functions and classes used across the code

    Type

    Projects

    Status

    backlog

    Status

    triaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions