Skip to content

[3/N] feat(request): materialize request log status#342

Open
albertywu wants to merge 1 commit into
wua/request-receipt-admissionfrom
wua/request-log-materializer
Open

[3/N] feat(request): materialize request log status#342
albertywu wants to merge 1 commit into
wua/request-receipt-admissionfrom
wua/request-log-materializer

Conversation

@albertywu

@albertywu albertywu commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Add projection winner selection, optimistic-concurrency convergence, and queue-summary repair without activating production call sites yet.

Validation: make fmt && make build && make test && make e2e-test
}
}

func logWins(log entity.RequestLog, summary entity.RequestSummary) bool {

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.

probably deserves some comments


// Materializer appends request logs and projects the winning current status.
// Storage implementations remain mechanical; this type owns winner selection, optimistic concurrency, and projection repair.
type Materializer struct {

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.

thinking if there is better name for this like RequestReconciler or something

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.

2 participants