Fix official news retries, date boundaries and collection status
Development CI / check-and-build (push) Successful in 3m2s
GitHub Git mirror / mirror (push) Successful in 6s
Development CI / deploy-development (push) Successful in 2m31s

Bound document retries across realtime and history lanes, preserve safe completed reads on failed rounds, and retain unresolved gaps. Honor the longest access-block cooldown and measure retries from the actual failure time.

Filter dated official listings at the collection boundary, handle empty Federal Register days, and distinguish active rounds from waiting or failed processes in the console. Add captured-response regressions and isolated checkpoint validation.
This commit is contained in:
eezd committed 2026-11-05 11:22:46 +08:00
1 parent 80665905e5
commit 39675fe46b
11 files changed
+577 -39

No files matched your search

+5 -4
View File
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import type { SourcesInfo } from "@@/apis/crawler/type"
import type { SourceInfo, SourcesInfo } from "@@/apis/crawler/type"
import { createRssApi, listSourcesApi, restartCrawlerApi } from "@@/apis/crawler"
import { useSessionScope } from "@@/composables/useSessionScope"
import { formatTime } from "@@/utils/text"
@@ -8,6 +8,7 @@ import { logRequestError } from "@/http/axios"
import CalendarSourcePanel from "./components/CalendarSourcePanel.vue"
import SourcePanel from "./components/SourcePanel.vue"
import { useCrawlerLogs } from "./composables/useCrawlerLogs"
import { sourceStatus } from "./sourceStatus"
const rssVisible = ref(false)
const rssSaving = ref(false)
@@ -178,10 +179,10 @@ onMounted(async () => {
{{ regions[row.region_code as keyof typeof regions] ?? row.region_code }}
</template>
</el-table-column>
<el-table-column label="状态" width="110">
<el-table-column label="状态" min-width="130">
<template #default="{ row }">
<el-tag size="small" :type="row.enabled && row.process?.state === 'running' ? 'success' : 'info'">
{{ !row.enabled ? '已停用' : row.process?.state === 'running' ? '运行中' : '未运行' }}
<el-tag size="small" :type="sourceStatus(row as SourceInfo, restarting.has(row.code)).type">
{{ sourceStatus(row as SourceInfo, restarting.has(row.code)).text }}
</el-tag>
</template>
</el-table-column>