Skip to content

docs(xsolla): correct primary keys for project-scoped Store tables - #21311

Merged
Gilbert09 merged 1 commit into
masterfrom
posthog-self-driving/docsxsolla-correct-the-project-table-71e8d1
Oct 19, 2026
Merged

Gilbert09 merged 1 commit into
masterfrom
posthog-self-driving/docsxsolla-correct-the-project-table-71e8d1

Conversation

@posthog

@posthog posthog Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Summary: The Xsolla source guide gives the wrong primary key for three Store tables. This PR corrects the guide.

Problem

  • A reader who joins Store data can use the wrong key. The guide says that all project-scoped tables use (project_id, id).
  • PostHog/posthog#118950 added virtual_items, virtual_currencies, and bundles. These tables use (project_id, sku) in xsolla/settings.py.
  • The guide does not list these Store tables in the project-scoped section.

Changes

  • The intro text now gives one key for subscription tables and one key for Store tables.
  • The project-scoped table has a new "Primary key" column and three new Store rows.
  • The "Project fan-out" item now lists the Store tables.
Table Primary key
subscription_payments, subscription_plans, subscription_products (project_id, id)
virtual_items, virtual_currencies, bundles (project_id, sku)

Agent context

  • This is a content PR. It changes one file under contents/. It does not change navigation.
  • #21214 moves CDP docs to data-pipelines paths and is still open. If it merges first, the author of the second PR must move this change to contents/docs/data-pipelines/sources/xsolla.md.
  • Checks: pnpm format does not include .md files, so I aligned the table by hand. I did not start the dev server, because node_modules is not installed in the sandbox. The Vercel preview is the render check.

Checklist

  • I've read the docs and/or content style guides.
  • Words are spelled using American English
  • Use relative URLs for internal links
  • I've checked the pages added or changed in the Vercel preview build
  • If I moved a page, I added a redirect in vercel.json (no page moved)

Created with PostHog Desktop from this inbox report.

🤖 Generated with Claude Code

Origin

  • Scout: a custom scout
  • First signal: 2026-10-17
  • Inbox report: open
  • Task started by: auto-start, after the report was rated P3 and ready to fix

Subscription tables use (project_id, id). The virtual_items, virtual_currencies, and bundles tables use (project_id, sku). Add the Store tables to the project-scoped table list and the project fan-out list.

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

Generated-By: PostHog Desktop
Task-Id: c1243541-bce8-467b-8aac-dc76c8e0e0be
@posthog posthog Bot added the self-driving label Oct 17, 2026
@posthog
posthog Bot requested a review from Gilbert09 October 17, 2026 08:31
@github-actions github-actions Bot added docs Improvements or additions to product documentation, "Docs" content PR only touches files under contents/ labels Oct 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Vale prose linter → found 0 errors, 9 warnings, 0 suggestions in your markdown

Full report → Copy the linter results into an LLM to batch-fix issues.

Linter being weird? Update the rules!

contents/docs/cdp/sources/xsolla.md — 0 errors, 9 warnings, 0 suggestions
Line Severity Message Rule
2:16 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling
12:5 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling
16:13 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling
19:162 warning Use 'project token' instead of 'project API key'. The project token (phc_) is not an API key. PostHogBase.ProjectToken
24:59 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling
30:51 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling
48:34 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling
55:159 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling
70:146 warning 'Xsolla' is a possible misspelling. PostHogBase.Spelling

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown
Contributor

Deploy preview

Status Details Updated (UTC)
🟢 Ready View preview Oct 17, 2026 08:49AM

Changed pages

Page Source
Linking Xsolla as a source contents/docs/cdp/sources/xsolla.md

@github-actions

Copy link
Copy Markdown
Contributor

Bundle report

Total JS (gzip)

10.37 MiB (no change)

Eager graph (modules shipped in each entrypoint's initial chunks)

Entrypoint Eager size Budget Modules
✅ app 20.75 MiB (no change) report-only 2121
Largest modules in the app closure
Module Size
./src/data/mcp-tools.json 1364.4 KiB
css ./node_modules/.pnpm/css-loader@5.2.7_webpack@5.101.3/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[1]!./node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.5.6_webpack@5.101.3/node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[8].oneOf[1].use[2]!./src/styles/global.css 818.7 KiB
./src/components/Stickers/Stickers.tsx 696.4 KiB
./node_modules/.pnpm/@radix-ui+react-icons@1.3.2_react@18.3.1/node_modules/@radix-ui/react-icons/dist/react-icons.esm.js 481.4 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/x-ray.mjs 481.2 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/trenchcoat.mjs 450.8 KiB
./node_modules/.pnpm/rehype-raw@7.0.0/node_modules/rehype-raw/lib/index.js + 29 modules 395.1 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/im-the-driver.mjs 385.8 KiB
./src/hooks/useCustomers.tsx + 59 modules 380.8 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/tourist.mjs 364.6 KiB
./node_modules/.pnpm/@posthog+icons@0.36.6_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@posthog/icons/dist/posthog-icons.es.js 354.8 KiB
./node_modules/.pnpm/react-markdown@8.0.7_@types+react@16.14.66_react@18.3.1/node_modules/react-markdown/lib/react-markdown.js + 88 modules 351.4 KiB
./src/components/ProductComparisonTable/index.tsx + 127 modules 310.3 KiB
./node_modules/.pnpm/framer-motion@14.0.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs + 127 modules 287.8 KiB
./node_modules/.pnpm/@posthog+brand@0.13.0_react@18.3.1/node_modules/@posthog/brand/dist/generated/hoggies/svg/doll-house.mjs 284.1 KiB

Eager-graph budgets are report-only until a baseline is established. Sizes are gzip of public/**/*.js; eager size is webpack module source bytes for the modules actually shipped in the entrypoint's initial chunks (post-tree-shake).

@Gilbert09
Gilbert09 marked this pull request as ready for review October 19, 2026 15:44
@Gilbert09
Gilbert09 enabled auto-merge (squash) October 19, 2026 15:45
@Gilbert09
Gilbert09 merged commit 4338090 into master Oct 19, 2026
27 of 28 checks passed
@Gilbert09
Gilbert09 deleted the posthog-self-driving/docsxsolla-correct-the-project-table-71e8d1 branch October 19, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

content PR only touches files under contents/ docs Improvements or additions to product documentation, "Docs" self-driving

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant