Skip to content

fix: exclude squads from sources best-of sitemap#3786

Merged
idoshamun merged 1 commit intomainfrom
exclude-squads-from-source-best-of-sitemap
Apr 12, 2026
Merged

fix: exclude squads from sources best-of sitemap#3786
idoshamun merged 1 commit intomainfrom
exclude-squads-from-source-best-of-sitemap

Conversation

@idoshamun
Copy link
Copy Markdown
Member

Summary

  • Filter out squad-type sources from the archive-index and archive-pages sitemaps so only machine sources appear in best-of pages
  • Adds squad exclusion to both buildArchiveIndexSitemapQuery and buildArchivePagesPaginatedQuery

Test plan

  • Added test: squad sources excluded from archive index sitemap
  • Added test: squad sources excluded from archive pages sitemap
  • All 34 sitemap tests pass

@pulumi
Copy link
Copy Markdown

pulumi Bot commented Apr 12, 2026

🍹 The Update (preview) for dailydotdev/api/prod (at b149ebe) was successful.

✨ Neo Explanation

Routine deployment promoting commit `394c80d3` across all API deployments and cron jobs, with fresh DB and ClickHouse migration jobs created for the new release. ✅ Low Risk

This is a standard application deployment rolling all workloads from commit d1f6ac17 to 394c80d3. Every change is purely an image tag and version label update — no configuration, resource sizing, or structural changes are involved.

The migration Jobs follow the expected pattern: new Jobs for both the PostgreSQL (api-db-migration) and ClickHouse (api-clickhouse-migration) migrations are created for the new commit hash, while the previous commit's completed Jobs are deleted. This is normal housekeeping, not a replacement of in-flight work. The new migration Jobs will run against the databases before or alongside the rolling deployment of the updated application containers.

🔵 Info — The GCP provider warning about missing default credentials is cosmetic — it only affects GCP resource operations, not the Kubernetes resources being deployed here.

Resource Changes

    Name                                                       Type                           Operation
~   vpc-native-clean-stale-user-transactions-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-update-source-public-threshold-cron             kubernetes:batch/v1:CronJob    update
~   vpc-native-bg-deployment                                   kubernetes:apps/v1:Deployment  update
~   vpc-native-clean-zombie-user-companies-cron                kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-images-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-generic-referral-reminder-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-personalized-digest-cron                        kubernetes:batch/v1:CronJob    update
~   vpc-native-rotate-weekly-quests-cron                       kubernetes:batch/v1:CronJob    update
~   vpc-native-worker-job-deployment                           kubernetes:apps/v1:Deployment  update
~   vpc-native-clean-expired-better-auth-sessions-cron         kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-channel-highlights-cron                   kubernetes:batch/v1:CronJob    update
~   vpc-native-deployment                                      kubernetes:apps/v1:Deployment  update
~   vpc-native-personalized-digest-deployment                  kubernetes:apps/v1:Deployment  update
~   vpc-native-update-tag-materialized-views-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-update-views-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-channel-digests-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-opportunities-cron                 kubernetes:batch/v1:CronJob    update
~   vpc-native-materialize-yearly-best-post-archives-cron      kubernetes:batch/v1:CronJob    update
~   vpc-native-squad-posts-analytics-refresh-cron              kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-zombie-users-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-generate-search-invites-cron                    kubernetes:batch/v1:CronJob    update
~   vpc-native-channel-highlights-cron                         kubernetes:batch/v1:CronJob    update
~   vpc-native-clean-gifted-plus-cron                          kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-updated-sync-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-ws-deployment                                   kubernetes:apps/v1:Deployment  update
-   vpc-native-api-clickhouse-migration-d1f6ac17               kubernetes:batch/v1:Job        delete
~   vpc-native-update-achievement-rarity-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-analytics-history-clickhouse-cron  kubernetes:batch/v1:CronJob    update
~   vpc-native-private-deployment                              kubernetes:apps/v1:Deployment  update
~   vpc-native-post-analytics-clickhouse-cron                  kubernetes:batch/v1:CronJob    update
~   vpc-native-update-tags-str-cron                            kubernetes:batch/v1:CronJob    update
~   vpc-native-check-analytics-report-cron                     kubernetes:batch/v1:CronJob    update
~   vpc-native-calculate-top-readers-cron                      kubernetes:batch/v1:CronJob    update
~   vpc-native-temporal-deployment                             kubernetes:apps/v1:Deployment  update
~   vpc-native-materialize-monthly-best-post-archives-cron     kubernetes:batch/v1:CronJob    update
~   vpc-native-user-profile-analytics-clickhouse-cron          kubernetes:batch/v1:CronJob    update
+   vpc-native-api-db-migration-394c80d3                       kubernetes:batch/v1:Job        create
+   vpc-native-api-clickhouse-migration-394c80d3               kubernetes:batch/v1:Job        create
~   vpc-native-post-analytics-history-day-clickhouse-cron      kubernetes:batch/v1:CronJob    update
~   vpc-native-daily-digest-cron                               kubernetes:batch/v1:CronJob    update
~   vpc-native-hourly-notification-cron                        kubernetes:batch/v1:CronJob    update
... and 11 other changes

@idoshamun idoshamun merged commit 7a9a21d into main Apr 12, 2026
10 checks passed
@idoshamun idoshamun deleted the exclude-squads-from-source-best-of-sitemap branch April 12, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant