Skip to content

CI Bug: wrong cache key for no-std test coverage #2060

Closed
@JulianGCalderon

Description

@JulianGCalderon

When trying to fetch the test coverage cache for no-std tests, the wrong key is used, which causes the step to fail.

Error: Failed to restore cache entry. Exiting as fail-on-cache-miss is set. Input key: codecov-cache-test-no_std--...

This happens because the tests are partitioned into:

  • codecov-cache-test-no_std#1
  • codecov-cache-test-no_std#2
  • codecov-cache-test-no_std#3
  • codecov-cache-test-no_std#4

But the upload coverage workflow tries to restore it as if it were a single partition:

  • codecov-cache-test-no_std

This applies to:

  • codecov-cache-test-no_std-extensive_hints
  • codecov-cache-test-no_std-mod_builtin

We should change the upload workflow to take it into account and restore it as separate partitions.

links:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpipelinesThis PR/issue is exclusively about improving our CI

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions