Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

remove codecov upload (#21902)

Jin Haiebcdf2eef695
diff --git a/.github/workflows/sep-tests.yml b/.github/workflows/sep-tests.yml
index 01d950e335..7619d0df7f 100644
--- a/.github/workflows/sep-tests.yml
+++ b/.github/workflows/sep-tests.yml
@@ -714,13 +714,6 @@ jobs:
set -eo pipefail
exit ${TEST_RC}
- - name: Upload coverage reports to Codecov
- uses: codecov/codecov-action@v5
- if: ${{ !cancelled() }}
- with:
- token: ${{ secrets.CODECOV_TOKEN }}
- fail_ci_if_error: false
-
- name: Collect ragflow log Infinity
if: ${{ !cancelled() }}
# Log collection is diagnostics only: rebuild the artifacts path here
diff --git a/cmd/ragflow_server.go b/cmd/ragflow_server.go
index 6162df8314..8e1c0ef829 100644
--- a/cmd/ragflow_server.go
+++ b/cmd/ragflow_server.go
@@ -478,12 +478,14 @@ func main() {
err = deepdocpkg.RegisterNativeDeepDoc(arguments)
if err != nil {
common.Error("Failed to register in-process DeepDoc backend", err)
+ common.SyncAudit()
os.Exit(1)
}
case common.ServerTypeDeepDocCPU, common.ServerTypeDeepDocGPU, common.ServerTypeDeepDocAscend:
err = runDeepDoc(ctx, serverName, arguments)
if err != nil {
fmt.Printf("Failed to start DEEPDOC: %v\n", err)
+ common.SyncAudit()
os.Exit(1)
}
@@ -567,6 +569,7 @@ func main() {
err = server.StartServer(ctx, cancel, serverName, serverType)
if err != nil {
common.Error("Failed to start EE server", err)
+ common.SyncAudit()
os.Exit(1)
}
defer server.ShutdownServer(ctx)
@@ -580,28 +583,33 @@ func main() {
err = apipkg.Run(ctx, serverName, arguments)
if err != nil {
fmt.Printf("Failed to start API server: %v\n", err)
+ common.SyncAudit()
os.Exit(1)
}
case common.ServerTypeAdmin:
err = admin.Run(ctx, serverName, arguments)
if err != nil {
fmt.Printf("Failed to start ADMIN server: %v\n", err)
+ common.SyncAudit()
os.Exit(1)
}
case common.ServerTypeIngestion:
err = ingestorpkg.Run(ctx, cancel, serverName, arguments)
if err != nil {
fmt.Printf("Failed to start INGESTION worker: %v\n", err)
+ common.SyncAudit()
os.Exit(1)
}
case common.ServerTypeFileSyncer:
err = syncerpkg.Run(ctx, cancel, serverName, arguments)
if err != nil {
fmt.Printf("Failed to start SYNCER: %v\n", err)
+ common.SyncAudit()
os.Exit(1)
}
default:
fmt.Printf("Invalid server mode: %v\n", serverType)
+ common.SyncAudit()
os.Exit(1)
}
}