Skip to content

chore: snapshot the iOS 3.x feature flag, error tracking and logs docs - #478

Merged
turnipdabeets merged 2 commits into
chore/legacy-android-flag-snapshotsfrom
chore/legacy-ios-doc-snapshots
Nov 5, 2026
Merged

turnipdabeets merged 2 commits into
chore/legacy-android-flag-snapshotsfrom
chore/legacy-ios-doc-snapshots

Conversation

@turnipdabeets

Copy link
Copy Markdown
Contributor

Problem

The iOS variants install posthog-ios 3.x but read several pages live. posthog-ios 4.0 changes them:

The next build after those merge would hand 3.x installs 4.0-only code. This is the iOS counterpart of #471 and must be released before posthog.com#21807 and posthog#129618 merge.

Stacked on #471 (itself on #454): it reuses #471's adding-feature-flag-code snapshot and its in-place shared_docs replacement.

Changes

Snapshots taken 2026-11-05 from the .md endpoints, while the pages still describe 3.x (CocoaPods, from: "3.56.0"/"3.59.3"):

Snapshot Page Read by
feature-flags/ios.md feature-flags/installation/ios feature-flags ios, integration-v2/feature-flags-step swift, omnibus/instrument-feature-flags
error-tracking/ios.md error-tracking/installation/ios error-tracking ios, integration-v2/error-tracking-step swift, omnibus/instrument-error-tracking
logs-installation/ios.md logs/installation/ios logs ios, omnibus/instrument-logs
feature-flags/adding-feature-flag-code.md (from #471) feature-flags/adding-feature-flag-code feature-flags ios and integration-v2/feature-flags-step swift, via one shared_docs line each
  • The logs folder is logs-installation/ because .gitignore ignores logs.
  • omnibus/instrument-feature-flags keeps the live flag code page, as in chore(skills): snapshot the 3.x Android, 3.x iOS and 5.x Flutter flag, error tracking and logs pages #471: it covers every platform, and the 4.0 iOS section notes the 3.x reloadFeatureFlags signature.
  • Not snapshotted: error-tracking/upload-source-maps/ios. #21807 only relabels its CocoaPods blocks "CocoaPods (version 3)"; the 3.x instructions stay.
  • Pre-existing, not changed here: the integration-v2/error-tracking-step swift variant reads both the error tracking install page and the library page, which both write references/ios.md, so the library page wins (same on main).

Test plan

  • pnpm test: 228 passed. The three install pages are added to the list no config may fetch live, and the flag variant test now covers the iOS variants too.
  • pnpm build: the generated feature-flags-ios, integration-v2-feature-flags-step-swift, error-tracking-ios, logs-ios and the three omnibus skills have references byte-identical to the snapshots. The snapshots match the live pages today, so the output is unchanged until the pages move.

LLM context

Written with Claude Code (Opus 5.5) at the request of the posthog-ios maintainer.

🤖 Generated with Claude Code

posthog-ios 4.0 moves the iOS install snippets to SPM `from: "4.0.0"` and
drops CocoaPods (posthog.com#21807, posthog#129618), and changes the iOS
section of the flag code page. The iOS variants install 3.x, so they read
copies taken while the pages still describe it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 5, 2026

Copy link
Copy Markdown

🧙 Wizard CI

Run the Wizard CI and test your changes against wizard-workbench example apps by replying with a GitHub comment using one of the following commands:

Test all apps:

  • /wizard-ci all

Test all apps in a directory:

  • /wizard-ci ai-observability
  • /wizard-ci basic-integration
  • /wizard-ci feature-flags
  • /wizard-ci mcp-analytics
  • /wizard-ci replay-vision
  • /wizard-ci revenue
  • /wizard-ci self-driving
  • /wizard-ci warehouse
  • /wizard-ci warehouse-seeded

Test an individual app:

  • /wizard-ci ai-observability/anthropic
  • /wizard-ci ai-observability/google-adk
  • /wizard-ci ai-observability/groq
Show more apps
  • /wizard-ci ai-observability/manual-capture
  • /wizard-ci ai-observability/openai
  • /wizard-ci ai-observability/openai-agents
  • /wizard-ci ai-observability/opentelemetry
  • /wizard-ci ai-observability/vercel-ai
  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /wizard-ci basic-integration/flutter
  • /wizard-ci basic-integration/javascript-node
  • /wizard-ci basic-integration/javascript-web
  • /wizard-ci basic-integration/laravel
  • /wizard-ci basic-integration/next-js
  • /wizard-ci basic-integration/nuxt
  • /wizard-ci basic-integration/python
  • /wizard-ci basic-integration/rails
  • /wizard-ci basic-integration/react-native
  • /wizard-ci basic-integration/react-router
  • /wizard-ci basic-integration/sveltekit
  • /wizard-ci basic-integration/swift
  • /wizard-ci basic-integration/tanstack-router
  • /wizard-ci basic-integration/tanstack-start
  • /wizard-ci basic-integration/vue
  • /wizard-ci feature-flags/django
  • /wizard-ci feature-flags/next-js
  • /wizard-ci mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /wizard-ci replay-vision/javascript-node
  • /wizard-ci replay-vision/next-js
  • /wizard-ci replay-vision/react-vite
  • /wizard-ci revenue/stripe
  • /wizard-ci self-driving/astro
  • /wizard-ci self-driving/fastapi
  • /wizard-ci self-driving/nuxt
  • /wizard-ci self-driving/react-router
  • /wizard-ci self-driving/sveltekit
  • /wizard-ci warehouse/monorepo-env
  • /wizard-ci warehouse/multi-source-next
  • /wizard-ci warehouse/stripe-node
  • /wizard-ci warehouse/zero-source
  • /wizard-ci warehouse-seeded/next-stripe
  • /wizard-ci warehouse-seeded/next-stripe-declined

Test against a wizard branch:

  • /wizard-ci all wizard:my-branch

Add wizard:<branch> to any command above to pin the wizard branch. It defaults to main.

Results will be posted here when complete.

@edwinyjlim

Copy link
Copy Markdown
Member

@gewenyu99 not SDK related, but we should keep versioning in the docs somewhere instead of committed here? what do you think? I don't want to store state

@johncwaters johncwaters left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note

Automated review by Glimmervoid, not written by a human. Approved by hand after checking it.

Comment thread context/docs-snapshots/legacy/README.md Resolved
@turnipdabeets
turnipdabeets merged commit 851d4ed into chore/legacy-android-flag-snapshots Nov 5, 2026
7 checks passed
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.

3 participants