Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 18, 2024. It is now read-only.

fix: validation of artifact source repo#812

Merged
azlam-abdulsalam merged 4 commits into
developfrom
fix/validateSourceRepo
Jan 18, 2022
Merged

fix: validation of artifact source repo#812
azlam-abdulsalam merged 4 commits into
developfrom
fix/validateSourceRepo

Conversation

@aly76

@aly76 aly76 commented Jan 18, 2022

Copy link
Copy Markdown
Contributor

Fix validation logic used for checking if artifacts belong to the same source
repo, such that auth info does not impact validity.

Closes #811

Fix validation logic used for checking if artifacts belong to the same source
repo, such that auth info or different protocol does not impact validity.
@aly76 aly76 added the bug Something isn't working label Jan 18, 2022
@codecov-commenter

codecov-commenter commented Jan 18, 2022

Copy link
Copy Markdown

Codecov Report

Merging #812 (c6f8fbb) into develop (54035b5) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #812   +/-   ##
========================================
  Coverage    66.22%   66.22%           
========================================
  Files           46       46           
  Lines         1593     1593           
  Branches       341      346    +5     
========================================
  Hits          1055     1055           
+ Misses         538      505   -33     
- Partials         0       33   +33     
Impacted Files Coverage Δ
packages/core/src/logger/SFPLogger.ts 49.23% <0.00%> (ø)
packages/core/src/stats/SFPStatsSender.ts 11.53% <0.00%> (ø)
packages/core/src/project/ProjectConfig.ts 87.69% <0.00%> (ø)
packages/core/src/package/PackageManifest.ts 93.57% <0.00%> (ø)
packages/core/src/artifacts/ArtifactMigrator.ts 9.85% <0.00%> (ø)
...ages/core/src/artifacts/ArtifactFilePathFetcher.ts 30.55% <0.00%> (ø)
.../core/src/sfpcommands/apextest/TriggerApexTests.ts 23.40% <0.00%> (ø)
...core/src/command/commandExecutor/ExecuteCommand.ts 10.00% <0.00%> (ø)
...re/src/sfpcommands/apextest/TestReportDisplayer.ts 8.06% <0.00%> (ø)
...ats/nativeMetricSenderImpl/NewRelicMetricSender.ts 11.42% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 54035b5...c6f8fbb. Read the comment docs.

@aly76 aly76 marked this pull request as draft January 18, 2022 04:10
aly76 added 2 commits January 18, 2022 17:12
Artifacts from the same source repo, but specified in different protocol will
not be considered from the same repo.
@aly76 aly76 marked this pull request as ready for review January 18, 2022 06:20
Comment thread packages/core/src/artifacts/ArtifactInquirer.ts Outdated

@azlam-abdulsalam azlam-abdulsalam left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good

@azlam-abdulsalam azlam-abdulsalam merged commit 6b3295e into develop Jan 18, 2022
@azlam-abdulsalam azlam-abdulsalam deleted the fix/validateSourceRepo branch January 18, 2022 07:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

orchestrator:prepare fails in GitLab Cloud Runners during SO Pool for updated artifact versions

3 participants