RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.
Go agent-harnessagent-native-databaseagentic-aiagentic-retrievalagentic-searchaiai-agentscontext-enginecontext-engineeringcontext-managementharness-engineeringknowledge-compilationragretrieval-augmented-generationretrieval-harnesssearch-harness
package entity
import (
"reflect"
"testing"
)
// TestPipelineOperationLogHasNoProcessEndAtField guards that the process_end_at
// column/field was fully removed. The authoritative end time is recovered from
// ProcessBeginAt + ProcessDuration, so the struct must not carry a ProcessEndAt
// field at all (neither persisted nor in-memory). This prevents the field from
// being silently re-introduced.
func TestPipelineOperationLogHasNoProcessEndAtField(t *testing.T) {
typ := reflect.TypeOf(PipelineOperationLog{})
if _, ok := typ.FieldByName("ProcessEndAt"); ok {
t.Fatalf("PipelineOperationLog must not have a ProcessEndAt field; remove it entirely")
}
}