From 3edd7548f4c697809284001d8ed84978b4997a15 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Tue, 7 Apr 2026 21:44:20 +0800 Subject: [PATCH] refactor: Update step numbering in wiki_ingest service process --- internal/application/service/wiki_ingest.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/application/service/wiki_ingest.go b/internal/application/service/wiki_ingest.go index 1fef6279..67fc0d37 100644 --- a/internal/application/service/wiki_ingest.go +++ b/internal/application/service/wiki_ingest.go @@ -423,11 +423,11 @@ func (s *wikiIngestService) ProcessWikiIngest(ctx context.Context, t *asynq.Task // Step 4: Append to log page s.appendLogEntry(ctx, payload, "ingest", docTitle, pagesAffected, "") - // Step 6: Cross-link injection — scan all affected pages and inject [[wiki-links]] + // Step 5: Cross-link injection — scan all affected pages and inject [[wiki-links]] // for mentions of other wiki page titles. Pure text matching, no LLM call. s.injectCrossLinks(ctx, payload.KnowledgeBaseID, pagesAffected) - // Step 7: Publish all draft pages created during this ingest + // Step 6: Publish all draft pages created during this ingest s.publishDraftPages(ctx, payload.KnowledgeBaseID, pagesAffected) // Step 7: Handle stale pages — pages that previously referenced this document