Skip to content

e2e: cozytest prints every HelmRelease snapshot every 2 seconds, so an install log reaches hundreds of MB #4705

Open

Description

While cozy_wait_all_helmreleases_ready polls, cozytest's live trace prints the full HelmRelease snapshot JSON every 2 seconds. A slow install grows the job log to hundreds of megabytes: run 36961209755 (the isp-hosted lane in progress for #3390) produced a 347 MB log for a 31-minute install, and gh run view --log fails on a log that size, so the failing line has to be fetched with an HTTP range request. The same helper runs in the isp-full lanes, so any slow install there inflates the log the same way. Fix shape: print a snapshot only when it changes (or a one-line summary per poll and the full JSON once at timeout), and keep the full dump in the report artifact rather than the step log.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/testingIssues or PRs related to testing (e2e, bats, unit tests)kind/bugCategorizes issue or PR as related to a bugtriage/needs-triageIndicates an issue needs triage by a maintainer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions