feat(assessment): record capture hints and keep one window per attempt

This commit is contained in:
shira committed 2026-10-11 13:16:52 +03:00
1 parent c975a0d506
commit bb917bf62e
108 files changed
+6649 -139

No files matched your search

@@ -320,6 +320,10 @@ type Querier interface {
GetAssessmentSignalNoticeAcknowledgement(ctx context.Context, arg GetAssessmentSignalNoticeAcknowledgementParams) (pgtype.Timestamptz, error)
// Read only the receipt associated with the reserved idempotency scope.
GetAssessmentSignalOutcome(ctx context.Context, scopeHash []byte) (GetAssessmentSignalOutcomeRow, error)
// The hold of the single active work session of a real attempt. The caller
// holds the row lock of the attempt, so one attempt's lease is changed by one
// transaction at a time.
GetAssessmentWorkLease(ctx context.Context, attemptID pgtype.UUID) (AssessmentAttemptWorkLease, error)
GetCandidateAssessmentCategory(ctx context.Context, arg GetCandidateAssessmentCategoryParams) (CandidateAssessmentCategory, error)
// Reads one hiding of the candidate with the current name of the
// organization.
@@ -1251,6 +1255,7 @@ type Querier interface {
// either order keep the order check. The first evaluation time and the policy
// version stay; the guard trigger refuses a change of either.
UpsertAssessmentAttemptReview(ctx context.Context, arg UpsertAssessmentAttemptReviewParams) error
UpsertAssessmentWorkLease(ctx context.Context, arg UpsertAssessmentWorkLeaseParams) error
}
var _ Querier = (*Queries)(nil)