Skip to content

Refactor: Align CUE compatibility caching with pkg/cache #256

Description

@roguepikachu

Is your feature request related to a problem? Please describe.
CUE compatibility caching already lives under github.com/kubevela/pkg/cue/upgrade and is consumed by this repo through the pkg dependency. As github.com/kubevela/pkg/cache becomes the shared cache surface, CUE compat caching should align with that package (in pkg) and workflow should pick up the dependency bump so there is one cache story across repos.

Describe the solution you'd like
Scope for this workflow issue:

  1. Coordinate / land the pkg-side alignment of cue/upgrade caching with pkg/cache (kubevela/pkg), if not already done there.
  2. Bump github.com/kubevela/pkg in this repo and fix any call-site fallout.
  3. Do not add a parallel CUE-compat cache implementation inside workflow.

Keep CUE upgrade behavior equivalent; this is an alignment / dependency update, not a new feature.

Describe alternatives you've considered

  • Reimplement CUE compat caching inside workflow on pkg/cache. Rejected: ownership belongs in pkg; duplication would drift.
  • Leave cue/upgrade's private cache forever. Rejected long-term if the project standardizes on pkg/cache.

Additional context

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions