Skip to content

chore(self-driving): cut the comments I added down to one line each - #1032

Merged
gewenyu99 merged 1 commit into
tom/self-driving-detected-sourcesfrom
posthog-code/one-line-comments
Jul 29, 2026
Merged

chore(self-driving): cut the comments I added down to one line each#1032
gewenyu99 merged 1 commit into
tom/self-driving-detected-sourcesfrom
posthog-code/one-line-comments

Conversation

@gewenyu99

Copy link
Copy Markdown
Collaborator

Problem

The comments I added in #1028 and #1031 ran to multi-line rationale blocks — a six-line explanation on prepareRunSession, an eighteen-line one on the promoted-tools constant. Vincent wants comments kept to one line.

Changes

Seven blocks collapsed to a single line each across three files. Net −71 lines, no behaviour change.

The reasoning that was in them lives in the PR descriptions, which already carry it: why the key is self-driving's own rather than the warehouse program's, how the promoted list was computed, and why the count tag fires at zero and at −1.

Test plan

pnpm build && pnpm test && pnpm fix — 1671 tests pass, 0 lint errors. Comment-only.


Created with PostHog Code

Seven multi-line comment blocks from #1028 and #1031 collapsed to a single
line each. Net -71 lines, no behaviour change.

The rationale that was in them belongs in the PR descriptions, which already
carry it: why the key is self-driving's own rather than the warehouse
program's, how the promoted list was computed, and why the count tag fires at
zero and at -1.

Generated-By: PostHog Code
Task-Id: df870021-4bdf-465b-ba4f-d486c37b97d3
@gewenyu99
gewenyu99 requested review from a team as code owners July 29, 2026 22:31
@github-actions

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 basic-integration
  • /wizard-ci mcp-analytics
  • /wizard-ci revenue
  • /wizard-ci self-driving

Test an individual app:

  • /wizard-ci basic-integration/android
  • /wizard-ci basic-integration/angular
  • /wizard-ci basic-integration/astro
Show more apps
  • /wizard-ci basic-integration/django
  • /wizard-ci basic-integration/fastapi
  • /wizard-ci basic-integration/flask
  • /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 mcp-analytics/custom-dispatcher
  • /wizard-ci mcp-analytics/typescript-sdk
  • /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

Results will be posted here when complete.

@gewenyu99
gewenyu99 merged commit 04b1770 into tom/self-driving-detected-sources Jul 29, 2026
11 checks passed
@gewenyu99
gewenyu99 deleted the posthog-code/one-line-comments branch July 29, 2026 22:31
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