Skip to content

[Bug]: Phantom file_archives changes detected #3265

@jvstme

Description

@jvstme

Steps to reproduce

Create the /tmp/files directory and apply the configuration:

type: dev-environment
name: test
ide: vscode
files:
- /tmp/files:/files

Then apply the same configuration again.

Actual behaviour

> dstack apply
Active run test already exists. Detected changes that cannot be updated in-place:
- File archives

Stop and override the run? [y/n]:

Expected behaviour

> dstack apply
Active run test already exists. Detected no changes.
Stop and override the run? [y/n]:

dstack version

0.19.35

Server logs

Additional information

This bug makes in-place update impossible when files are used, because changes in file archives are always detected and they always require a redeployment.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions