dfinity / dfinity/sdk

DFX sometimes omits a canister in `.env`

Open
#3,833 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triage
Dominant language
Rust
Stars
204
Forks
98
PR merge metrics
No merged PRs in 30d

Description

I tried the following:

  1. git clone https://github.com/vporton/icp-package-manager
  2. git checkout f5e961e
  3. dfx deploy RepositoryIndex

I expected to see this happen: .env file to be created.

Instead, this happened: .env file was not created.

Meta

dfx --version:

dfx 0.20.1

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 report by cloning the repository at commit f5e961e and running dfx deploy RepositoryIndex with dfx 0.20.1. Trace the deployment path that creates or populates the .env file, then verify that the expected .env file is created after deployment.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.