Skip to content

fix(follower): add experimental tag to deltas endpoint.#5169

Merged
winder merged 1 commit into
algorand:masterfrom
winder:will/deltas-endpoint-tag
Feb 28, 2023
Merged

fix(follower): add experimental tag to deltas endpoint.#5169
winder merged 1 commit into
algorand:masterfrom
winder:will/deltas-endpoint-tag

Conversation

@winder
Copy link
Copy Markdown
Contributor

@winder winder commented Feb 28, 2023

Summary

The deltas endpoint is currently intended for internal use by Conduit. This PR adds the experimental tag to the endpoint in order to avoid including it in generated SDK code.

Test Plan

No functional changes.

@winder winder force-pushed the will/deltas-endpoint-tag branch from f8baa2c to 02bc56e Compare February 28, 2023 17:19
@winder winder marked this pull request as ready for review February 28, 2023 17:19
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 28, 2023

Codecov Report

Merging #5169 (02bc56e) into master (b22f3b5) will decrease coverage by 7.25%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #5169      +/-   ##
==========================================
- Coverage   53.58%   46.33%   -7.25%     
==========================================
  Files         439      439              
  Lines       54934    54934              
==========================================
- Hits        29434    25455    -3979     
- Misses      23214    27110    +3896     
- Partials     2286     2369      +83     
Impacted Files Coverage Δ
tools/network/dnssec/sort.go 0.00% <0.00%> (-100.00%) ⬇️
daemon/algod/api/server/lib/middlewares/auth.go 0.00% <0.00%> (-100.00%) ⬇️
cmd/algofix/deadlock.go 3.12% <0.00%> (-84.38%) ⬇️
data/transactions/teal.go 0.00% <0.00%> (-84.00%) ⬇️
util/uuid/uuid.go 0.00% <0.00%> (-81.82%) ⬇️
util/metrics/gauge.go 0.00% <0.00%> (-80.65%) ⬇️
network/requestLogger.go 0.00% <0.00%> (-72.73%) ⬇️
cmd/tealdbg/cdtState.go 18.25% <0.00%> (-66.90%) ⬇️
...merklesignature/persistentMerkleSignatureScheme.go 0.00% <0.00%> (-65.28%) ⬇️
stateproof/verify/stateproof.go 15.71% <0.00%> (-60.01%) ⬇️
... and 166 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Comment on lines +8 to +9
# do not include endpoints tagged public/experimental
# - public
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.

This works, but it's a bit hacky because the tags weren't meant to be overlapping like this--each set of APIs, gated by certain configs, is tagged as public or private to identify the authenticator required, and a single category.

This will introduce partially overlapping sets of tags in ways that could become messy in the future. But it does look like the only viable way we currently have to disable sdk code gen for an API w/o requiring the admin token.

@winder winder self-assigned this Feb 28, 2023
@winder winder merged commit 9220f7b into algorand:master Feb 28, 2023
@winder winder deleted the will/deltas-endpoint-tag branch February 28, 2023 18:51
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