-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
Type: BugSomething isn't working as expectedSomething isn't working as expected
Description
Description
When a root has a symlink under dyd/secrets that points into a dependency (e.g. dyd/secrets/.sops.yaml -> ../dependencies/policies/dyd/assets/common.sops.yaml), dryad root build fails during
fingerprint generation with “error generating root fingerprint”.
Reproduction
- Create a root with a dependency.
- Add a symlink in
dyd/secretspointing to an asset indyd/dependencies/<dep>/dyd/assets/.... - Run
dryad root build <root>.
Observed
Build fails at root fingerprint stage. In logs: error generating root fingerprint.
Expected
Build succeeds. Secrets symlink should be preserved (or handled consistently with assets).
Notes
This appears to be caused by SecretsWalk using fs2.Walk, which eagerly resolves symlinks via filepath.EvalSymlinks against the source root, where dyd/dependencies doesn’t exist. This makes secrets
fingerprinting fail before the build completes.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: BugSomething isn't working as expectedSomething isn't working as expected