Skip to content

Conversation

@Yaminik1996
Copy link
Contributor

Summary

< Provide a brief description of the changes in this PR >

Some conventions to follow

  1. add the module name as a prefix
    • for example: add a prefix: docstore: for document store module, blobstore for Blob Store module
  2. for a test only PR, add test:
  3. for a perf improvement only PR, add perf:
  4. for a refactoring only PR, add "refactor:"

@Yaminik1996 Yaminik1996 force-pushed the W-20342061/iamGcpConformanceTesting branch from 7784cca to 81cf519 Compare December 4, 2025 20:41
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These are being created because of the truncation settings done in TestUtils.java.

.extractBinaryBodiesOver(4096*2)

@codecov-commenter
Copy link

codecov-commenter commented Dec 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.62%. Comparing base (25b694b) to head (88816e4).

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #189      +/-   ##
============================================
+ Coverage     83.60%   83.62%   +0.02%     
- Complexity       90       91       +1     
============================================
  Files           150      150              
  Lines          8087     8087              
  Branches        944      944              
============================================
+ Hits           6761     6763       +2     
+ Misses          877      876       -1     
+ Partials        449      448       -1     
Flag Coverage Δ
unittests 83.62% <ø> (+0.02%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

.withBodyFile(bodyFileName).build());
}
} catch (Exception e) {
logger.warn("Failed to mask PII in response body: {}", e.getMessage());
Copy link
Contributor

Choose a reason for hiding this comment

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

it shoudn't be warn, we should block it.

// Then retrieve it
String policyDetails = iamClient.getInlinePolicyDetails(
harness.getIdentityName(),
"roles/storage.objectViewer", // policy name (role name in GCP)
Copy link
Contributor

@sandeepvinayak sandeepvinayak Dec 4, 2025

Choose a reason for hiding this comment

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

abstract class is meant to be cloud agnostic, please remove gcp specific values from here, there are other places as well

Comment on lines 85 to 86
.action("roles/storage.objectViewer")
.action("roles/storage.objectCreator")
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Comment on lines 141 to 142
.action("roles/storage.objectViewer")
.action("roles/storage.objectCreator")
Copy link
Contributor

Choose a reason for hiding this comment

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

ditto

Copy link
Contributor

@sandeepvinayak sandeepvinayak left a comment

Choose a reason for hiding this comment

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

please fix the gcp values from abstract class

@Yaminik1996 Yaminik1996 force-pushed the W-20342061/iamGcpConformanceTesting branch from 81cf519 to d9b55e3 Compare December 5, 2025 17:22
@sandeepvinayak sandeepvinayak merged commit 3953892 into salesforce:main Dec 6, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants