Skip to content

Deprecate old witness methods - #1165

Merged
AlCutter merged 2 commits into
migrate_tlog_policy_5from
migrate_tlog_policy_6
Sep 10, 2026
Merged

Deprecate old witness methods#1165
AlCutter merged 2 commits into
migrate_tlog_policy_5from
migrate_tlog_policy_6

Conversation

@AlCutter

@AlCutter AlCutter commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

This PR marks the old witness policy methods deprecated.

Towards #1152

@AlCutter
AlCutter force-pushed the migrate_tlog_policy_6 branch from daf7d6c to 2818910 Compare September 8, 2026 15:01
@AlCutter
AlCutter force-pushed the migrate_tlog_policy_6 branch from 2818910 to 45db773 Compare September 8, 2026 15:09
@AlCutter
AlCutter force-pushed the migrate_tlog_policy_6 branch from 45db773 to 8090da7 Compare September 8, 2026 15:23
@AlCutter AlCutter changed the title migrate tlog policy 6 Deprecate old witness methods Sep 8, 2026
@AlCutter
AlCutter requested a review from roger2hk September 8, 2026 15:30
@AlCutter
AlCutter marked this pull request as ready for review September 8, 2026 15:31
@AlCutter
AlCutter requested a review from a team as a code owner September 8, 2026 15:31
@AlCutter
AlCutter force-pushed the migrate_tlog_policy_6 branch from 8090da7 to f8fe6bc Compare September 9, 2026 11:31

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: af73263 Previous: f1f48c4 Ratio
BenchmarkDedup (github.com/transparency-dev/tessera) 5090917 ns/op 902324 B/op 18784 allocs/op 2207022 ns/op 886850 B/op 18650 allocs/op 2.31
BenchmarkDedup (github.com/transparency-dev/tessera) - ns/op 5090917 ns/op 2207022 ns/op 2.31
BenchmarkLeafBundle_UnmarshalText (github.com/transparency-dev/tessera/api) 9754 ns/op 6528 B/op 1 allocs/op 1351 ns/op 6528 B/op 1 allocs/op 7.22
BenchmarkLeafBundle_UnmarshalText (github.com/transparency-dev/tessera/api) - ns/op 9754 ns/op 1351 ns/op 7.22
BenchmarkProofBuilder/InclusionProof/WarmCache (github.com/transparency-dev/tessera/client) 139986 ns/op 15387 B/op 179 allocs/op 56548 ns/op 15353 B/op 180 allocs/op 2.48
BenchmarkProofBuilder/InclusionProof/WarmCache (github.com/transparency-dev/tessera/client) - ns/op 139986 ns/op 56548 ns/op 2.48
BenchmarkProofBuilder/InclusionProof/ColdCache (github.com/transparency-dev/tessera/client) 1458195 ns/op 689105 B/op 3555 allocs/op 554836 ns/op 689106 B/op 3555 allocs/op 2.63
BenchmarkProofBuilder/InclusionProof/ColdCache (github.com/transparency-dev/tessera/client) - ns/op 1458195 ns/op 554836 ns/op 2.63
BenchmarkProofBuilder/ConsistencyProof/WarmCache (github.com/transparency-dev/tessera/client) 135636 ns/op 15440 B/op 180 allocs/op 56420 ns/op 15411 B/op 180 allocs/op 2.40
BenchmarkProofBuilder/ConsistencyProof/WarmCache (github.com/transparency-dev/tessera/client) - ns/op 135636 ns/op 56420 ns/op 2.40

This comment was automatically generated by workflow using github-action-benchmark.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.50.

Benchmark suite Current: f8fe6bc Previous: f1f48c4 Ratio
BenchmarkDedup (github.com/transparency-dev/tessera) 3764645 ns/op 900716 B/op 18779 allocs/op 2207022 ns/op 886850 B/op 18650 allocs/op 1.71
BenchmarkDedup (github.com/transparency-dev/tessera) - ns/op 3764645 ns/op 2207022 ns/op 1.71
BenchmarkLeafBundle_UnmarshalText (github.com/transparency-dev/tessera/api) 8027 ns/op 6528 B/op 1 allocs/op 1351 ns/op 6528 B/op 1 allocs/op 5.94
BenchmarkLeafBundle_UnmarshalText (github.com/transparency-dev/tessera/api) - ns/op 8027 ns/op 1351 ns/op 5.94
BenchmarkProofBuilder/InclusionProof/WarmCache (github.com/transparency-dev/tessera/client) 110537 ns/op 15354 B/op 180 allocs/op 56548 ns/op 15353 B/op 180 allocs/op 1.95
BenchmarkProofBuilder/InclusionProof/WarmCache (github.com/transparency-dev/tessera/client) - ns/op 110537 ns/op 56548 ns/op 1.95

This comment was automatically generated by workflow using github-action-benchmark.

@AlCutter
AlCutter force-pushed the migrate_tlog_policy_6 branch from f8fe6bc to af73263 Compare September 10, 2026 10:53
@AlCutter
AlCutter merged commit d189d7e into main Sep 10, 2026
47 of 48 checks passed
@AlCutter
AlCutter deleted the migrate_tlog_policy_6 branch September 10, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants