GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Fix caching in Github Workflows · Issue #4056 · feast-dev/feast

Fix caching in Github Workflows #4056

New issue
Copy link
New issue
Copy link
Closed
Closed
Fix caching in Github Workflows#4056
Copy link
Labels
kind/bug

Description

@tokoko
tokoko
opened on Mar 30, 2024
Issue body actions

Caches are almost never hit in CI workflows for pip install step despite taking considerable time for retrieval and upload sometimes.

Possible problems:

  • We are using old version of cache action
  • caches are scoped to branches, so for unit tests they are always recreated for new PRs. For integration tests, they should still work fine as they are ran with pull_request_target (?)

Activity

  1. tokoko commented on Apr 1, 2024

    @tokoko
    tokoko
    on Apr 1, 2024
    CollaboratorAuthor
    More actions

    cc @jeremyary

    Reacted by Jeremy Ary
  2. jeremyary
    added
    kind/bug
    on Apr 1, 2024
  3. tmihalac commented on Apr 10, 2024

    @tmihalac
    tmihalac
    on Apr 10, 2024
    Contributor
    More actions

    @tokoko
    I think I saw a problem with with the caches, but before coming to a conclusion can please provide further info on how did you see if the caches are hit or not, according to what I see it looks like they should never be hit.

  4. tmihalac
    added a commit that references this issue on Apr 10, 2024

    fix: Caching in Github Workflows

    08092a1
  5. tokoko commented on Apr 10, 2024

    @tokoko
    tokoko
    on Apr 10, 2024
    CollaboratorAuthor
    More actions

    hey, there were some cases when it should have been used but wasn't, but you're right, mostly it was never even supposed to be used because of different branches involved. btw, I already opened a PR to sort of address this. I switched CI scripts to use uv to install dependencies instead of pip and looks like it's much faster even without catching.

  6. tokoko commented on Apr 10, 2024

    @tokoko
    tokoko
    on Apr 10, 2024
    CollaboratorAuthor
    More actions

    #4086

  7. tokoko
    closed this as completedon May 16, 2024
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

    kind/bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.