• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

UiPath / uipathcli / 13790794198
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: chore/update-readme
DEFAULT BRANCH: main
Ran 11 Mar 2025 02:40PM UTC
Jobs 1
Files 109
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

11 Mar 2025 02:38PM UTC coverage: 90.575% (+0.5%) from 90.121%
13790794198

push

github

thschmitt
Add network package with common http client

Moved common code for handling HTTP requests in a new shared
network package to avoid duplication and ensure that each plugin
handles network requests the same way.

The common HTTP client code takes care of a couple of cross-cutting
concerns needed by all plugins and the main HTTP executor:

- Logs request and response when debug flag is set. Added a new
  resettableReader which preserves the request and response bodies while
  they are being read and forwards them to the debug logger.

- Added retries for all HTTP requests. This also leverages the
  resettableReader to ensure the request body can be replayed.

- The `CommandBuilder` generates now an operation id which is set on every
  request the uipathcli performs. The same operation id is kept for the
  duration of the whole command execution which makes it easier to
  correlate multiple requests performed by a single command.

- The `HttpClient` also sets transport-related settings like certificate
  validation and response header timeout.

- Using the built-in context instead of a custom requestError channel.

466 of 493 new or added lines in 26 files covered. (94.52%)

10 existing lines in 6 files now uncovered.

5372 of 5931 relevant lines covered (90.57%)

1.02 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
94.44
1.42% auth/identity_client.go
1
88.33
2.53% plugin/orchestrator/download_command.go
2
87.82
2.56% plugin/studio/package_publish_command.go
2
94.74
utils/network/resettable_reader.go
3
88.78
2.53% plugin/digitizer/digitize_command.go
3
90.63
1.02% plugin/orchestrator/upload_command.go
5
85.94
0.84% executor/http_executor.go
10
89.47
utils/network/http_client.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
88.78
2.53% plugin/digitizer/digitize_command.go
1
88.33
2.53% plugin/orchestrator/download_command.go
2
66.67
-16.67% log/default_logger.go
2
90.63
1.02% plugin/orchestrator/upload_command.go
2
87.82
2.56% plugin/studio/package_publish_command.go
2
92.31
-2.56% utils/visualization/progress_bar.go
Jobs
ID Job ID Ran Files Coverage
1 13790794198.1 11 Mar 2025 02:40PM UTC 109
90.57
GitHub Action Run
Source Files on build 13790794198
  • Tree
  • List 109
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2c650296 on github
  • Prev Build on main (#13717877165)
  • Next Build on feature/network-package (#13829663743)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc