Git designed for AI agents.
auth: classify the new UserLandResponse fields of the land identity for the agent refs filter
Federico Elia754b548f54a7
diff --git a/internal/gitaly/server/auth/agent_refs.go b/internal/gitaly/server/auth/agent_refs.goindex e4948c6..c685b93 100644--- a/internal/gitaly/server/auth/agent_refs.go+++ b/internal/gitaly/server/auth/agent_refs.go@@ -463,12 +463,14 @@ var agentRefFields = map[protoreflect.FullName]refFieldKind{"gitaly.UserLandRequest.resolve_conflicts": notRef,"gitaly.UserLandRequest.strategy": notRef,- "gitaly.UserLandResponse.already_landed": notRef,- "gitaly.UserLandResponse.landed_commit_id": notRef,- "gitaly.UserLandResponse.old_tip": notRef,- "gitaly.UserLandResponse.resolved_paths": notRef,- "gitaly.UserLandResponse.resolver": notRef,- "gitaly.UserLandResponse.rewritten": notRef,+ "gitaly.UserLandResponse.already_landed": notRef,+ "gitaly.UserLandResponse.already_landed_detail": notRef,+ "gitaly.UserLandResponse.landed_commit_id": notRef,+ "gitaly.UserLandResponse.old_tip": notRef,+ "gitaly.UserLandResponse.resolved_paths": notRef,+ "gitaly.UserLandResponse.resolver": notRef,+ "gitaly.UserLandResponse.reverted_by_commit_id": notRef,+ "gitaly.UserLandResponse.rewritten": notRef,}// agentRefField returns what a field holds, and whether the exact table knows it.