Skip to content

Conversation

@crenshaw-dev
Copy link
Member

Taking advantage of new os.Root tool, building on ideas from here: #22932

@crenshaw-dev crenshaw-dev requested review from a team as code owners May 12, 2025 15:03
@bunnyshell
Copy link

bunnyshell bot commented May 12, 2025

❌ Preview Environment deleted from Bunnyshell

Available commands (reply to this comment):

  • 🚀 /bns:deploy to deploy the environment

Signed-off-by: Michael Crenshaw <[email protected]>
Copy link
Contributor

@todaywasawesome todaywasawesome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition, simple and focused.

@todaywasawesome
Copy link
Contributor

I don't know why these tests failed, I'd try rerunning.

@crenshaw-dev
Copy link
Member Author

Interesting, looks like fs.Root doesn't like it when the directory doesn't exist. I'll add code to check if it exists and then just log a warning if not (to match current behavior):

15:25:52                api-server | �[m{"level":"fatal","msg":"open /shared/app: no such file or directory","time":"2025-05-12T15:25:52Z"}

Signed-off-by: Michael Crenshaw <[email protected]>
@codecov
Copy link

codecov bot commented May 12, 2025

Codecov Report

❌ Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 60.08%. Comparing base (610523b) to head (ad5647f).
⚠️ Report is 470 commits behind head on master.

Files with missing lines Patch % Lines
server/server.go 40.00% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master   #22936      +/-   ##
==========================================
+ Coverage   60.03%   60.08%   +0.05%     
==========================================
  Files         344      344              
  Lines       57781    57795      +14     
==========================================
+ Hits        34689    34729      +40     
+ Misses      20333    20316      -17     
+ Partials     2759     2750       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@crenshaw-dev
Copy link
Member Author

That got it. :-)

@crenshaw-dev crenshaw-dev merged commit 76a63a1 into argoproj:master May 13, 2025
27 checks passed
@crenshaw-dev crenshaw-dev deleted the fs-root-static-assets branch May 13, 2025 20:43
ranakan19 pushed a commit to ranakan19/argo-cd that referenced this pull request May 20, 2025
olivergondza pushed a commit to olivergondza/argo-cd that referenced this pull request May 20, 2025
tylerrosnett pushed a commit to StateFarmIns/argo-cd that referenced this pull request May 27, 2025
chansuke pushed a commit to chansuke/argo-cd that referenced this pull request Jun 4, 2025
dsuhinin pushed a commit to dsuhinin/argo-cd that referenced this pull request Jun 16, 2025
dsuhinin pushed a commit to dsuhinin/argo-cd that referenced this pull request Jun 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants