IBM-Cloud / IBM-Cloud/ibm-cloud-cli-sdk

Unexpected configuration error

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

Nobody has claimed this yet.

Dominant language
Go
Stars
35
Forks
53
Avg merge
1d 15h
Merged PRs (30d)
16

Description

I recently started seeing an error in our CLI Generator tests that is independent of any generator version. When I generate a new plugin and run the tests, all tests fail with this error from the CLI SDK:

panic: configuration error: open .bluemix/config.json: no such file or directory

I've confirmed that this error is not present in v1.0.0 or v1.0.1, it starts occurring in v1.0.2.

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 failure in the CLI Generator tests, then compare configuration handling between SDK versions v1.0.1 and v1.0.2. The work is done when generating a new plugin no longer fails because .bluemix/config.json is missing and the generated tests run successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.