oasis-core icon indicating copy to clipboard operation
oasis-core copied to clipboard

go: Per-role quote policies

Open martintomazic opened this issue 1 month ago • 2 comments

Wip.

Closes #6387, follows #6331

TODO:

  • [ ] Write corresponding rust code runtime/src/...
  • [ ] Write tests
  • [x] Hide behind feature flag and ensure emptiness of the per role policy before it is enabled.

martintomazic avatar Nov 24 '25 21:11 martintomazic

Deploy Preview for oasisprotocol-oasis-core ready!

Name Link
Latest commit db8d2a62209646034e656dd8a81f43f078a59f98
Latest deploy log https://app.netlify.com/projects/oasisprotocol-oasis-core/deploys/69414aca19704500084141e9
Deploy Preview https://deploy-preview-6410--oasisprotocol-oasis-core.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Nov 24 '25 21:11 netlify[bot]

Codecov Report

:x: Patch coverage is 55.96330% with 48 lines in your changes missing coverage. Please review. :white_check_mark: Project coverage is 64.51%. Comparing base (d13337b) to head (9e35bd3).

Files with missing lines Patch % Lines
go/common/node/sgx.go 23.07% 7 Missing and 3 partials :warning:
go/common/sgx/quote/quote.go 44.44% 10 Missing :warning:
go/registry/api/api.go 25.00% 2 Missing and 4 partials :warning:
go/registry/api/sanity_check.go 58.33% 2 Missing and 3 partials :warning:
go/common/node/tee.go 20.00% 3 Missing and 1 partial :warning:
...onsensus/cometbft/apps/keymanager/secrets/epoch.go 50.00% 1 Missing and 1 partial :warning:
go/consensus/cometbft/apps/registry/messages.go 50.00% 1 Missing and 1 partial :warning:
...o/consensus/cometbft/apps/registry/transactions.go 84.61% 1 Missing and 1 partial :warning:
go/consensus/cometbft/apps/scheduler/scheduler.go 71.42% 1 Missing and 1 partial :warning:
...sensus/cometbft/apps/supplementarysanity/checks.go 60.00% 1 Missing and 1 partial :warning:
... and 3 more
Additional details and impacted files
@@             Coverage Diff             @@
##           master    #6410       +/-   ##
===========================================
+ Coverage        0   64.51%   +64.51%     
===========================================
  Files           0      698      +698     
  Lines           0    68130    +68130     
===========================================
+ Hits            0    43955    +43955     
- Misses          0    19130    +19130     
- Partials        0     5045     +5045     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

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

codecov[bot] avatar Nov 26 '25 11:11 codecov[bot]