VerifyClosure task is failing if target directory does not exist
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 68/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- build-system
Research direction
Open src/Microsoft.DotNet.Build.Tasks.Packaging/src/VerifyClosure.cs around line 388 and inspect how the DGML visualization file is created. Ensure the destination directory exists before the file is written, then verify that VerifyClosure succeeds when the target directory is absent.
Written by the indexing model from the issue text.
Description
VerifyClosure task is failing to write the visualization file (DGML) if destination directory does not exist: https://github.com/dotnet/arcade/blob/e11b8486ad155fab13e788a268755c0ca60d3609/src/Microsoft.DotNet.Build.Tasks.Packaging/src/VerifyClosure.cs#L388
The task should ensure that directory exists before trying to create a file, i.e. Directory.CreateDirectory(Path.GetDirectoryName(dependencyGraphFilePath))
- Dominant language
- C#
- Stars
- 730
- Forks
- 397
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 164
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/arcade
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agentic-workflows
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:auth FE mvp P3
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
klasolsson81/jobbliggaren#1788 ·