jfrog / jfrog/setup-jfrog-cli

Ghost mode continues to intercept commands after POST configuration step within GitHub Actions

Open
#349 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
266
Forks
110
Avg merge
3d 15h
Merged PRs (30d)
3

Description

Describe the bug

Ghost mode continues to intercept commands, after the POST jfrog/setup-jfrog-cli@v5 step. This causes commands after to continue to be Intercepted resulting in a Server ID 'xxx' does not exist, for the dotnet tool.

Jfrog was called after to avoid requiring Re-Pinning Aliases as stated in the docs

Current behavior

Ghost mode continues to intercept commands, after the POST jfrog/setup-jfrog-cli@v5 step. this causes commands after to continue to be Intercepted resulting in a Server ID 'xxx' does not exist.

As shown in the screen shot below,

  • Setup .NET (actions/setup-dotnet@v5)
  • Config Artifactory (JFrog)
  • Build + Test
  • Post JFrog clean up
  • Post .NET (This errors out)
Image
Reproduction steps

Run a workflow with actions/setup-dotnet@v5 then jfrog/setup-jfrog-cli@v5

Expected behavior

The dotnet is not intercepted and there are no errors.

Setup JFrog CLI version

5.1.0

JFrog CLI version

Latest (2.124.0)

Workflow operating system type and version

Github Actions (windows)

JFrog Artifactory version (if relevant)

No response

JFrog Xray version (if relevant)

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the workflow on Windows with actions/setup-dotnet@v5 followed by jfrog/setup-jfrog-cli@v5, then inspect the setup action's POST cleanup behavior; the issue names no source files or tests. Done means commands after the JFrog cleanup no longer intercept dotnet and the post-setup step completes without the missing Server ID error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, typescript
Domain
ci-cd, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.