Phase 5 part 5: check the live site after a merge
Merged Sites pages are checked on the live site until they answer with their own words and title; removed ones until they're gone. The SEO loop, the page, the signal's page and Sites → Publishing check (or Check now); two hours without the page points at the deploy hook. Pages going live or away go to IndexNow. Sites → Publishing lists what's waiting, open pull requests and recent merges. Schema 24. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -712,6 +712,14 @@ func (s *Server) signalPages(ctx context.Context, sig *signals.Signal, d *signal
|
||||
}
|
||||
cancel()
|
||||
}
|
||||
lctx, lcancel := context.WithTimeout(ctx, 15*time.Second)
|
||||
for i := range ps {
|
||||
if ps[i].Waiting() && time.Since(ps[i].CheckedAt) > time.Minute {
|
||||
sites.CheckLive(lctx, s.liveFetcher(), &ps[i], time.Now())
|
||||
_ = sites.SavePage(s.DB, &ps[i])
|
||||
}
|
||||
}
|
||||
lcancel()
|
||||
prof, _ := profile.Load(s.DB)
|
||||
bySite := map[string][]string{}
|
||||
for _, p := range ps {
|
||||
|
||||
Reference in New Issue
Block a user