Skip to content

[BUG] [CI] Maven cache key collision causes flaky e2e-case failures #6382

Description

@eye-gu

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

https://github.com/apache/shenyu/actions/runs/27494862854/job/81267317313?pr=6347

Could not find artifact org.apache.shenyu:shenyu-spring-boot-starter-client-springmvc:jar:2.7.1-SNAPSHOT

ci and e2e-k8s workflows share the same cache key: key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}.
But ci not install. The e2e-k8s jobs subsequently restore the incomplete cache from ci.yml, and fail when building shenyu-examples which depends on SNAPSHOT jars not present in the cache.

Expected Behavior

No response

Steps To Reproduce

No response

Environment

ShenYu version(s):

Debug logs

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions