Skip to content

Post Gems cache remains running indefinitely, does not respect timeout-minutes #132

Closed

Description

@ain

Steps to reproduce

  1. Add deploy step to Ruby project that uses actions/cache:
      - name: Gem cache
        id: gem-cache
        timeout-minutes: 15
        uses: actions/[email protected]
        with:
          path: vendor/bundle
          key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
          restore_keys: |
            ${{ runner.os }}-gem-
  1. Add deploy step that triggers GAE deploy, e.g. using actions-hub/[email protected]

What happens

  1. Post Gem cache step remains running indefinitely even after all other steps finish successfully, e.g. more than an hour:

Screenshot 2019-12-17 at 14 04 02

  1. timeout-minutes of the step is not respected

What should happen

  1. No error should happen
  2. If task hangs, timeout-minutes should be respected

Activity

  1. ain commented on Dec 17, 2019

    @ain
    Author

    UPDATE: issue occured over a background process following Gem cache step.

    When the process got killed, Post Gem cache succeeded.

  2. TingluoHuang commented on Dec 17, 2019

    @TingluoHuang
    Member

    Which process did you killed?

  3. ain commented on Dec 17, 2019

    @ain
    Author

    GoogleCloudPlatform/cloudsql-proxy, but I'm sure any process left in the background with & could help to reproduce this.

  4. TingluoHuang commented on Dec 17, 2019

    @TingluoHuang
    Member

    @ain do you mind share a link to your workflow execution if the repository is public? We should handle & properly and not hang the workflow.

  5. joshmgross commented on Apr 2, 2020

    @joshmgross
    Contributor

    👋 hashFiles has been updated on the runner to correctly handle symlink loops (see actions/runner#234).

    @ain do you still see this issue?

  6. github-actions commented on Dec 30, 2021

    @github-actions

    This issue is stale because it has been open for 365 days with no activity. Leave a comment to avoid closing this issue in 5 days.

  7. github-actions commented on Jan 4, 2022

    @github-actions

    This issue was closed because it has been inactive for 5 days since being marked as stale.

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