Skip to content

Add publication awaiter to MTCLog - #1087

Merged
phbnf merged 2 commits into
transparency-dev:mainfrom
phbnf:logwait
Aug 4, 2026
Merged

Add publication awaiter to MTCLog#1087
phbnf merged 2 commits into
transparency-dev:mainfrom
phbnf:logwait

Conversation

@phbnf

@phbnf phbnf commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Towards #945

We might change this later when the mirror uploader code is available.

This PR also introduces options.

@phbnf
phbnf requested a review from AlCutter August 3, 2026 10:46
@phbnf
phbnf marked this pull request as ready for review August 3, 2026 10:46
@phbnf
phbnf requested a review from a team as a code owner August 3, 2026 10:46
Comment thread cmd/mtc/log/posix/main.go Outdated
WithAwaiterPollInterval(*awaiterPollInterval)
mtcLog, err := log.NewMTCLog(ctx, appender, opts)
if err != nil {
slog.ErrorContext(ctx, "failed to initialize MTC log", slog.Any("error", err))

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Suggested change
slog.ErrorContext(ctx, "failed to initialize MTC log", slog.Any("error", err))
slog.ErrorContext(ctx, "Failed to initialize MTC log", slog.Any("error", err))

@phbnf
phbnf merged commit 44169a9 into transparency-dev:main Aug 4, 2026
20 checks passed
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