Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use nsc for coverage #2893

Merged
merged 22 commits into from
Jul 18, 2024
Merged

use nsc for coverage #2893

merged 22 commits into from
Jul 18, 2024

Conversation

trajan0x
Copy link
Contributor

@trajan0x trajan0x commented Jul 18, 2024

Description
A clear and concise description of the features you're adding in this pull request.

Additional context
Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

Summary by CodeRabbit

  • New Features

    • Enhanced cloud environment setup by adding automated script installation in Docker setup.
    • Improved logging functionality with automatic creation of log directories.
  • Maintenance

    • Updated test workflow to use a specific runner and conditional checkout action versions.
  • Documentation

    • Added a blank line at the end of core/README.md for formatting consistency.
  • Improvements

    • Extended configuration expiry time in the Anvil options to 900 seconds.

Copy link
Contributor

coderabbitai bot commented Jul 18, 2024

Walkthrough

The recent updates include specifying a fixed runner for the test job in the GitHub Actions workflow, adjusting checkout action versions based on the runner name, and enhancing logging functionality. Additionally, a script from namespace.so has been included to set up a cloud environment in the Dockerfile, and the expiry time for configurations has been extended. These changes collectively improve the CI/CD setup, logging processes, and environmental configurations.

Changes

File Change Summary
.github/workflows/go.yml Fixed runner for test job, added conditional checks for checkout action versions
core/README.md Added a blank line at the end of the file
docker/goreleaser/Dockerfile Added script download and installation from namespace.so, set environment variables
ethergo/backends/anvil/options.go Extended expiry seconds from 600 to 900 in NewAnvilOptionBuilder
core/processlog/options.go Set log directory to /tmp/logs, ensured directory exists with os.MkdirTemp and os.MkdirAll

Poem

In the realm of code we trod,
Logs now find a safer pod.
Runners fixed, the tests do sing,
Expiry times with greater fling.
Docker scripts from clouds descend,
In this quest, our codes transcend. 🚀🐇


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

  • Added a newline at the end of core/README.md for formatting consistency.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

cloudflare-workers-and-pages bot commented Jul 18, 2024

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: c72b63b
Status: ✅  Deploy successful!
Preview URL: https://116421e1.sanguine-fe.pages.dev
Branch Preview URL: https://fix-nsc-install.sanguine-fe.pages.dev

View logs

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated CI workflow to specify a specific runner and use the latest version of actions/checkout in /.github/workflows/scan.yml.
  • Configured Dockerfile to set up a cloud environment using a script from namespace.so.
  • Added a blank line at the end of core/README.md for formatting consistency.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 2f02af4 and a37c385.

Files selected for processing (3)
  • .github/workflows/go.yml (2 hunks)
  • core/README.md (1 hunks)
  • docker/goreleaser/Dockerfile (1 hunks)
Files skipped from review due to trivial changes (1)
  • core/README.md
Additional comments not posted (4)
docker/goreleaser/Dockerfile (1)

125-125: Ensure the script from namespace.so is trusted.

Downloading and executing a script from an external source can pose security risks. Ensure that the script is from a trusted source and review its contents for any potential security issues.

.github/workflows/go.yml (3)

80-80: Ensure the specified runner is available.

The runs-on attribute has been changed to a specific runner (namespace-profile-default-coverage-runner). Ensure that this runner is available and properly configured in your environment.


108-109: Conditional checkout step is correctly implemented.

The conditional checkout step based on the runner name is correctly implemented.


114-116: Conditional checkout with Namespace Git mirrors cache is correctly implemented.

The conditional checkout step using Namespace Git mirrors cache based on the runner name is correctly implemented.

docker/goreleaser/Dockerfile Show resolved Hide resolved
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in multiple workflows for consistency (/.github/workflows/scan.yml, /.github/workflows/changesets.yml, /.github/workflows/ui-preview.yaml, /.github/workflows/clean-up-pr.yml, /.github/workflows/go.yml, /.github/workflows/solidity.yml).
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml.
  • Configured Dockerfile to set up a cloud environment using namespace.so.
  • Added a blank line at the end of core/README.md for formatting consistency.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between a37c385 and 72cec9f.

Files selected for processing (1)
  • .github/workflows/go.yml (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/go.yml

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 72cec9f and 6f5ded5.

Files selected for processing (1)
  • .github/workflows/go.yml (2 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/go.yml

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in multiple workflows for consistency (/.github/workflows/scan.yml, /.github/workflows/changesets.yml, /.github/workflows/ui-preview.yaml, /.github/workflows/clean-up-pr.yml, /.github/workflows/go.yml, /.github/workflows/solidity.yml).
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml.
  • Configured Dockerfile to set up a cloud environment using namespace.so.
  • Added a blank line at the end of core/README.md for formatting consistency.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 25.36579%. Comparing base (2f02af4) to head (c72b63b).

Additional details and impacted files
@@                 Coverage Diff                 @@
##              master       #2893         +/-   ##
===================================================
- Coverage   25.39278%   25.36579%   -0.02699%     
===================================================
  Files            785         785                 
  Lines          56520       56521          +1     
  Branches          80          80                 
===================================================
- Hits           14352       14337         -15     
- Misses         40690       40701         +11     
- Partials        1478        1483          +5     
Flag Coverage Δ
cctp-relayer 31.97848% <ø> (ø)
core 59.37500% <100.00000%> (-0.08190%) ⬇️
ethergo 48.05942% <100.00000%> (-0.16060%) ⬇️
git-changes-action 23.69615% <ø> (ø)
opbot 0.18564% <ø> (ø)
promexporter 8.50242% <ø> (ø)
rfq 24.76385% <ø> (-0.03149%) ⬇️
screener-api 29.79798% <ø> (+0.50505%) ⬆️
scribe 18.11159% <ø> (-0.06438%) ⬇️
tools 30.55118% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 6f5ded5 and c16740d.

Files selected for processing (1)
  • .github/workflows/go.yml (3 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/go.yml

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in multiple workflows for consistency (/.github/workflows/scan.yml, /.github/workflows/changesets.yml, /.github/workflows/ui-preview.yaml, /.github/workflows/clean-up-pr.yml, /.github/workflows/go.yml, /.github/workflows/solidity.yml).
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml.
  • Configured Dockerfile to set up a cloud environment using namespace.so.
  • Added a blank line at the end of core/README.md for formatting consistency.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in multiple workflows for consistency (/.github/workflows/scan.yml, /.github/workflows/changesets.yml, /.github/workflows/ui-preview.yaml, /.github/workflows/clean-up-pr.yml, /.github/workflows/go.yml, /.github/workflows/solidity.yml).
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml.
  • Configured Dockerfile to set up a cloud environment using namespace.so.
  • Added a blank line at the end of core/README.md for formatting consistency.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between c16740d and 2f54304.

Files selected for processing (1)
  • .github/workflows/go.yml (4 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/go.yml

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in multiple workflows for consistency (/.github/workflows/scan.yml, /.github/workflows/changesets.yml, /.github/workflows/go.yml).
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml.
  • Configured Dockerfile to set up a cloud environment using namespace.so.
  • Minor update to core/README.md to add a blank line at the end.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@github-actions github-actions bot added the go Pull requests that update Go code label Jul 18, 2024
Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Adjusted default expiry time for requests from 600 to 900 seconds in ethergo/backends/anvil/options.go
  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 2f54304 and 379c031.

Files selected for processing (2)
  • .github/workflows/go.yml (7 hunks)
  • ethergo/backends/anvil/options.go (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/go.yml
Additional comments not posted (1)
ethergo/backends/anvil/options.go (1)

32-32: LGTM! But verify the impact of the increased expiry time.

The change from 600 to 900 seconds extends the expiry time, which seems reasonable. Ensure this aligns with the system requirements and does not introduce any unintended side effects.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Adjusted default expiry time for requests from 600 to 900 seconds in ethergo/backends/anvil/options.go
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Adjusted default expiry time for requests from 600 to 900 seconds in ethergo/backends/anvil/options.go
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Adjusted default expiry time for requests from 600 to 900 seconds in ethergo/backends/anvil/options.go
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Adjusted default expiry time for requests from 600 to 900 seconds in ethergo/backends/anvil/options.go
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Adjusted default expiry time for requests from 600 to 900 seconds in ethergo/backends/anvil/options.go
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Updated actions/checkout to version 4 in /.github/workflows/go.yml
  • Added conditional checks and specific runner configurations in /.github/workflows/go.yml
  • Adjusted default expiry time for requests from 600 to 900 seconds in ethergo/backends/anvil/options.go
  • Configured Dockerfile to set up a cloud environment using namespace.so
  • Minor update to core/README.md to add a blank line at the end

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Modified temporary log directory path in core/processlog/options.go to /tmp/logs
  • Ensure /tmp/logs directory exists and has appropriate permissions

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Added directory creation step in core/processlog/options.go to ensure log directory exists.
  • Updated go.yml workflow to use a fixed runner for the test job.
  • Added conditional checks for appropriate checkout action versions in go.yml.
  • Enhanced Dockerfile to set up a cloud environment by downloading and installing a script from namespace.so.
  • Increased expiry seconds to 900 in NewAnvilOptionBuilder to extend configuration lifespan.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Replaced os.Mkdir with os.MkdirAll in core/processlog/options.go for robust directory creation.
  • Updated go.yml workflow to use a fixed runner for the test job.
  • Added conditional checks for appropriate checkout action versions in go.yml.
  • Enhanced Dockerfile to set up a cloud environment by downloading and installing a script from namespace.so.
  • Increased expiry seconds to 900 in NewAnvilOptionBuilder to extend configuration lifespan.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

(updates since last review)

  • Modified directory creation logic in core/processlog/options.go to use /tmp/logs.
  • Replaced os.Mkdir with os.MkdirAll in core/processlog/options.go.
  • Updated go.yml workflow to use a fixed runner for the test job.
  • Added conditional checks for appropriate checkout action versions in go.yml.
  • Enhanced Dockerfile to set up a cloud environment by downloading and installing a script from namespace.so.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 379c031 and c72b63b.

Files selected for processing (2)
  • .github/workflows/go.yml (7 hunks)
  • core/processlog/options.go (1 hunks)
Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/go.yml
Additional comments not posted (2)
core/processlog/options.go (2)

184-184: Ensure the directory creation is necessary.

The os.MkdirAll function ensures that the /tmp/logs directory exists. Verify that this is necessary and does not cause any issues.

Verification successful

The directory creation is necessary.

The /tmp/logs directory is used as a base for creating temporary directories within core/processlog/options.go. Ensuring its existence with os.MkdirAll is justified and necessary to avoid potential errors.

  • core/processlog/options.go:
    • Line 184: _ = os.MkdirAll("/tmp/logs", os.ModePerm)
    • Line 185: args.LogDir, _ = os.MkdirTemp("/tmp/logs", "")
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the necessity of `os.MkdirAll`.

# Test: Search for the usage of `os.MkdirAll`. Expect: Correct usage.
rg --type go 'os.MkdirAll'

Length of output: 1268


Script:

#!/bin/bash
# Description: Search for references to `/tmp/logs` in the codebase.

# Test: Search for the usage of `/tmp/logs`. Expect: To find its usage in other parts of the code.
rg '/tmp/logs'

Length of output: 159


183-183: Verify the usage of os.MkdirTemp.

The os.MkdirTemp function is used to create a temporary directory. Verify that the usage is correct and that the directory is created as expected.

@trajan0x trajan0x changed the title Fix/nsc install use nsc for coverage Jul 18, 2024
@trajan0x trajan0x merged commit bc7c012 into master Jul 18, 2024
52 of 53 checks passed
@trajan0x trajan0x deleted the fix/nsc-install branch July 18, 2024 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code M-ci Module: CI M-docker needs-go-generate-services/rfq size/xs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant