Conversation
Add browsingContextEnabled to SettingsFlags type, SettingsFlagsPublic pick type, GraphQL schema (type + input), and flags transform with default false. This stores the user's explicit consent for browsing-based personalization in the existing JSONB flags column (zero migration). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
🍹 The Update (preview) for dailydotdev/api/prod (at c08b6d5) was successful. ✨ Neo ExplanationRoutine release rolling commit `1329a265` → `098e8836` across all services, with DB and ClickHouse schema migrations running as one-shot Jobs. ✅ Low Risk — no infrastructure changes, but verify both migration Jobs complete successfully after deployment.This is a standard application release, deploying commit The two migration Jobs (DB and ClickHouse) follow the expected pattern for this codebase: the old commit-tagged Jobs are deleted and new ones for the incoming commit are created, running The GCP credentials warning on the Resource Changes Name Type Operation
~ vpc-native-bg-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-clean-channel-highlights-cron kubernetes:batch/v1:CronJob update
~ vpc-native-expire-super-agent-trial-cron kubernetes:batch/v1:CronJob update
~ vpc-native-rotate-daily-quests-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-tags-str-cron kubernetes:batch/v1:CronJob update
~ vpc-native-post-analytics-history-day-clickhouse-cron kubernetes:batch/v1:CronJob update
~ vpc-native-channel-digests-cron kubernetes:batch/v1:CronJob update
~ vpc-native-validate-active-users-cron kubernetes:batch/v1:CronJob update
~ vpc-native-clean-zombie-user-companies-cron kubernetes:batch/v1:CronJob update
~ vpc-native-post-analytics-clickhouse-cron kubernetes:batch/v1:CronJob update
~ vpc-native-squad-posts-analytics-refresh-cron kubernetes:batch/v1:CronJob update
- vpc-native-api-db-migration-1329a265 kubernetes:batch/v1:Job delete
~ vpc-native-update-views-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-highlighted-views-cron kubernetes:batch/v1:CronJob update
~ vpc-native-ws-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-clean-stale-user-transactions-cron kubernetes:batch/v1:CronJob update
~ vpc-native-user-profile-updated-sync-cron kubernetes:batch/v1:CronJob update
+ vpc-native-api-db-migration-098e8836 kubernetes:batch/v1:Job create
~ vpc-native-update-tag-materialized-views-cron kubernetes:batch/v1:CronJob update
~ vpc-native-clean-zombie-users-cron kubernetes:batch/v1:CronJob update
~ vpc-native-temporal-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-update-source-public-threshold-cron kubernetes:batch/v1:CronJob update
~ vpc-native-calculate-top-readers-cron kubernetes:batch/v1:CronJob update
~ vpc-native-check-analytics-report-cron kubernetes:batch/v1:CronJob update
~ vpc-native-worker-job-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-clean-zombie-images-cron kubernetes:batch/v1:CronJob update
~ vpc-native-personalized-digest-deployment kubernetes:apps/v1:Deployment update
~ vpc-native-clean-zombie-opportunities-cron kubernetes:batch/v1:CronJob update
~ vpc-native-personalized-digest-cron kubernetes:batch/v1:CronJob update
~ vpc-native-generic-referral-reminder-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-achievement-rarity-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-trending-cron kubernetes:batch/v1:CronJob 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-clean-gifted-plus-cron kubernetes:batch/v1:CronJob update
+ vpc-native-api-clickhouse-migration-098e8836 kubernetes:batch/v1:Job create
- vpc-native-api-clickhouse-migration-1329a265 kubernetes:batch/v1:Job delete
~ vpc-native-channel-highlights-cron kubernetes:batch/v1:CronJob update
~ vpc-native-materialize-yearly-best-post-archives-cron kubernetes:batch/v1:CronJob update
~ vpc-native-update-current-streak-cron kubernetes:batch/v1:CronJob update
~ vpc-native-deployment kubernetes:apps/v1:Deployment update
... and 11 other changes |
The transformSettingFlags function now returns browsingContextEnabled in its output, so the boot test expectation must include it. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Summary
browsingContextEnabled: booleantoSettingsFlagstype andSettingsFlagsPublicpick typebrowsingContextEnabled: Booleanto GraphQLSettingsFlagsPublictype andSettingsFlagsPublicInputinputfalseintransformSettingFlagsKey decisions
flagscolumn, no schema change neededfalse; the companion frontend sets it totrueonly on explicit user consentTest plan
pnpm run buildpasses (full TypeScript compilation)updateUserSettings(data: { flags: { browsingContextEnabled: true } })persists and returns correctlyCloses ENG-1231
Created by Huginn 🐦⬛