Skip to content

docs(experimentation): Point the coding agent prompts at the Flagsmith database - #8892

Merged
gagantrivedi merged 1 commit into
mainfrom
docs/coding-agent-postgres-experimentation
Nov 6, 2026
Merged

gagantrivedi merged 1 commit into
mainfrom
docs/coding-agent-postgres-experimentation

Conversation

@gagantrivedi

Copy link
Copy Markdown
Member

Thanks for submitting a PR! Please check the boxes below:

  • I have read the Contributing Guide.
  • I have added information to docs/ if required so people know about the feature.
  • I have filled in the "Changes" section below.
  • I have filled in the "How did you test this code" section below.

Changes

Contributes to #8884

The coding agent prompts still expect the Kafka stack that #8884 removed from docker compose, so they would fail on the new compose file.

  • Local setup prompt: drop port 8080, kafka-init and clickhouse-init; connect environments to the Flagsmith database instead of the bundled ClickHouse.
  • Experiment set-up prompt: send SDK events to http://localhost:8000/api/ instead of the ingestion service.
  • Say the Flagsmith database is for trying out experimentation.

How did you test this code?

Ran the warehouse connection call from the updated prompt against the new compose stack; it returned connected. Events sent to http://localhost:8000/api/v1/events landed and showed in experiment results.

@vercel

vercel Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs Ready Ready Preview Nov 6, 2026 3:01am UTC
2 Skipped Deployments
Project Deployment Actions Updated
flagsmith-frontend-preview Ignored Ignored Preview Nov 6, 2026 3:01am UTC
flagsmith-frontend-staging Ignored Ignored Preview Nov 6, 2026 3:01am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Explain Change →

Walkthrough

The coding-agent guides now use the local API on port 8000 for SDK events. The local setup guide checks ports 8000 and 8001, waits for the API liveness endpoint and successful database migration, and connects experimentation environments to the Flagsmith PostgreSQL database. It removes the event-ingestion service from the service summary and states that the database is intended only for experimentation trials.

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: Moderate · up to 444f0

Existing local experimentation setups can stop receiving events when following the updated instructions. Clarify the SDK address and handle older stacks and ClickHouse connections before merging.

- [ ] Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the docs Documentation updates label Nov 6, 2026
@gagantrivedi
gagantrivedi marked this pull request as ready for review November 6, 2026 03:09
@gagantrivedi
gagantrivedi requested a review from a team as a code owner November 6, 2026 03:09
@gagantrivedi
gagantrivedi requested review from bakirFS and removed request for a team November 6, 2026 03:09

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

Note

Follow-up findings are listed below so you can review them separately from inline comments.

Follow-up (1)

Major (1)

Major · Check the warehouse before selecting the local events URL. · set-up-with-a-coding-agent.mdx:98-99

docs/docs/experimentation/set-up-with-a-coding-agent.mdx:98-99
Major · Functional Correctness · Quick win

Check the warehouse before selecting the local events URL.

For an existing local ClickHouse connection, this URL makes SDK event batches return 404, so the experiment receives no new events. Direct ClickHouse users to their ingestion service, or ask them to migrate to the Flagsmith database before using this URL.

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 762c703b-aa14-45c0-99e9-d3b02202f2a8
Commits

Reviewing files that changed from the base of the PR and between 1ec1049 and 444f00e.

Files selected for processing: 2

  • docs/docs/experimentation/set-up-with-a-coding-agent.mdx
  • docs/docs/getting-started/run-locally-with-a-coding-agent.mdx

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.

@gagantrivedi
gagantrivedi merged commit eeac04b into main Nov 6, 2026
14 checks passed
@gagantrivedi
gagantrivedi deleted the docs/coding-agent-postgres-experimentation branch November 6, 2026 07:51

This branch was successfully deployed

1 active deployment
Preview – docs — 444f00ee Deployed Nov 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants