Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of detached bundles #5785

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

kostko
Copy link
Member

@kostko kostko commented Jul 23, 2024

  • go/runtime: Automatically enable all configured detached components
  • go/runtime/bundle: Use manifest hash at bundle load time

@kostko kostko added the c:bug Category: bug label Jul 23, 2024
Copy link

netlify bot commented Jul 23, 2024

Deploy Preview for oasisprotocol-oasis-core canceled.

Name Link
🔨 Latest commit bfdf208
🔍 Latest deploy log https://app.netlify.com/sites/oasisprotocol-oasis-core/deploys/669f8a223787550008198d6c

Since they are explicitly configured there should be no need to enable
them twice. This just defaults detached components to be enabled and one
needs to explicitly disable them.
@kostko kostko force-pushed the kostko/feature/detached-comps-autoenable branch from b98e8ef to bfdf208 Compare July 23, 2024 10:46
@kostko kostko self-assigned this Jul 23, 2024
@kostko kostko marked this pull request as ready for review July 23, 2024 10:47
go/runtime/bundle/bundle.go Show resolved Hide resolved
go/runtime/config/config_test.go Show resolved Hide resolved
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 65.62%. Comparing base (c08a577) to head (bfdf208).
Report is 1 commits behind head on master.

Files Patch % Lines
go/runtime/registry/config.go 60.00% 1 Missing and 1 partial ⚠️
go/runtime/bundle/bundle.go 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5785      +/-   ##
==========================================
+ Coverage   64.82%   65.62%   +0.79%     
==========================================
  Files         621      621              
  Lines       63393    63399       +6     
==========================================
+ Hits        41096    41607     +511     
+ Misses      17421    16969     -452     
+ Partials     4876     4823      -53     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kostko kostko merged commit ca0105a into master Jul 23, 2024
7 checks passed
@kostko kostko deleted the kostko/feature/detached-comps-autoenable branch July 23, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:bug Category: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants