DataDog / orchestrion

Automatic compile-time instrumentation of Go code
http://datadoghq.dev/orchestrion/
Apache License 2.0
159 stars 5 forks source link

chore: refactor test setup #301

Closed rarguelloF closed 1 month ago

rarguelloF commented 1 month ago

Summary of changes:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 98.30508% with 4 lines in your changes missing coverage. Please review.

Project coverage is 73.82%. Comparing base (1b1f5aa) to head (d2cd3f9). Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
_integration-tests/validator/trace/diff.go 84.00% 2 Missing and 2 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #301 +/- ## ========================================== - Coverage 78.99% 73.82% -5.18% ========================================== Files 143 145 +2 Lines 6738 7986 +1248 ========================================== + Hits 5323 5896 +573 - Misses 984 1659 +675 Partials 431 431 ``` | [Components](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | Coverage Δ | | |---|---|---| | [Generators](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `76.69% <ø> (-1.58%)` | :arrow_down: | | [Instruments](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `88.05% <ø> (ø)` | | | [Go Driver](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `72.81% <ø> (-7.44%)` | :arrow_down: | | [Toolexec Driver](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `70.88% <ø> (-3.42%)` | :arrow_down: | | [Aspects](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `71.95% <ø> (-7.20%)` | :arrow_down: | | [Injector](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `73.42% <ø> (-5.24%)` | :arrow_down: | | [Job Server](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `63.20% <ø> (-5.63%)` | :arrow_down: | | [Integration Test Suite](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `87.82% <98.30%> (-4.82%)` | :arrow_down: | | [Other](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | `73.82% <98.30%> (-5.18%)` | :arrow_down: | | [Files with missing lines](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | Coverage Δ | | |---|---|---| | [\_integration-tests/tests/aws.v1/aws.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Faws.v1%2Faws.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2F3cy52MS9hd3MuZ28=) | `94.59% <100.00%> (-5.41%)` | :arrow_down: | | [\_integration-tests/tests/aws.v2/base.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Faws.v2%2Fbase.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2F3cy52Mi9iYXNlLmdv) | `93.87% <100.00%> (-6.13%)` | :arrow_down: | | [...egration-tests/tests/aws.v2/load\_default\_config.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Faws.v2%2Fload_default_config.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2F3cy52Mi9sb2FkX2RlZmF1bHRfY29uZmlnLmdv) | `100.00% <100.00%> (ø)` | | | [\_integration-tests/tests/aws.v2/new\_config.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Faws.v2%2Fnew_config.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2F3cy52Mi9uZXdfY29uZmlnLmdv) | `100.00% <100.00%> (ø)` | | | [\_integration-tests/tests/aws.v2/struct\_literal.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Faws.v2%2Fstruct_literal.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2F3cy52Mi9zdHJ1Y3RfbGl0ZXJhbC5nbw==) | `100.00% <100.00%> (ø)` | | | [...tegration-tests/tests/aws.v2/struct\_literal\_ptr.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Faws.v2%2Fstruct_literal_ptr.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2F3cy52Mi9zdHJ1Y3RfbGl0ZXJhbF9wdHIuZ28=) | `100.00% <100.00%> (ø)` | | | [\_integration-tests/tests/chi.v5/chi.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Fchi.v5%2Fchi.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2NoaS52NS9jaGkuZ28=) | `100.00% <100.00%> (ø)` | | | [\_integration-tests/tests/dd-span/tag.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Fdd-span%2Ftag.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2RkLXNwYW4vdGFnLmdv) | `100.00% <100.00%> (ø)` | | | [\_integration-tests/tests/echo.v4/echo.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Fecho.v4%2Fecho.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2VjaG8udjQvZWNoby5nbw==) | `100.00% <100.00%> (ø)` | | | [\_integration-tests/tests/fiber.v2/fiber.go](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree&filepath=_integration-tests%2Ftests%2Ffiber.v2%2Ffiber.go&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog#diff-X2ludGVncmF0aW9uLXRlc3RzL3Rlc3RzL2ZpYmVyLnYyL2ZpYmVyLmdv) | `100.00% <100.00%> (ø)` | | | ... and [31 more](https://app.codecov.io/gh/DataDog/orchestrion/pull/301?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog) | | ... and [85 files with indirect coverage changes](https://app.codecov.io/gh/DataDog/orchestrion/pull/301/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog)