Skip to content

Conversation

@ok-nick
Copy link
Contributor

@ok-nick ok-nick commented Nov 19, 2025

Removes the fetch_remote_manifest feature and changes the verify.remote_manifest_fetch setting to default to false. This is related to avoiding network requests by default in the SDK. Note this is NOT a backwards compatible change although effectively has the same behavior as if the feature wasn't enabled.

@codspeed-hq
Copy link

codspeed-hq bot commented Nov 19, 2025

CodSpeed Performance Report

Merging #1618 will not alter performance

Comparing ok-nick/remove-fetch-remote-manifest-flag (61a1416) with main (629ab6e)

Summary

✅ 16 untouched
⏩ 2 skipped1

Footnotes

  1. 2 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@tmathern
Copy link
Contributor

How does this impact the cli tools?

@ok-nick
Copy link
Contributor Author

ok-nick commented Nov 19, 2025

@tmathern I preserved the same behavior for c2patool. This PR only changes the SDK.

Copy link
Contributor

@tmathern tmathern left a comment

Choose a reason for hiding this comment

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

Why is it a verify.remote_manifest_fetch settings? Verify implies a validation for me? But this is more a "read", in the sense we allow to get remote data.

What will be the expectations for the downstream SDKs? They all get the "remote manifest fetch" turned off by default and need to set the appropriate setting if they want it back?

@ok-nick
Copy link
Contributor Author

ok-nick commented Nov 20, 2025

Why is it a verify.remote_manifest_fetch settings? Verify implies a validation for me? But this is more a "read", in the sense we allow to get remote data.

Yes I agree, we should consider changing this, but we probably want to preserve backwards compatibility as well.

What will be the expectations for the downstream SDKs? They all get the "remote manifest fetch" turned off by default and need to set the appropriate setting if they want it back?

Yes this will change that functionality. I suggest we wait to merge this until we can pass settings to readers/builders individually.

@tmathern
Copy link
Contributor

Why is it a verify.remote_manifest_fetch settings? Verify implies a validation for me? But this is more a "read", in the sense we allow to get remote data.

Yes I agree, we should consider changing this, but we probably want to preserve backwards compatibility as well.

What will be the expectations for the downstream SDKs? They all get the "remote manifest fetch" turned off by default and need to set the appropriate setting if they want it back?

Yes this will change that functionality. I suggest we wait to merge this until we can pass settings to readers/builders individually.

Sidenote: We are already breaking backwards compatibility with that change (builds will break, but I agree it's different than also breaking settings files... but it seems everyone who wants that functionality to stay will need to update settings anyway).

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.

Configure fetching remote manifests with a setting versus feature flag

3 participants