Repository navigation
feat(app): migrate the remaining bool-only C8 events - #14441
Git-on-my-level wants to merge 5 commits into
Conversation
Capture public-method adapter payloads for the int and closed-enum tranche at 75db862 before any wrapper calls TypedEvents.emit. Co-authored-by: Cursor <[email protected]>
Route twelve production methods whose payloads are only unbounded ints or already-closed enums, keeping emitted names and maps byte-identical to goldens captured before emit. Co-authored-by: Cursor <[email protected]>
Capture public-method adapter payloads at b478587 after the main-forward merges and before those wrappers call TypedEvents.emit. Co-authored-by: Cursor <[email protected]>
Route nine already-bool payloads that needed no new registry type, keeping names and maps byte-identical to goldens at b478587. Co-authored-by: Cursor <[email protected]>
kodjima33
left a comment
There was a problem hiding this comment.
Bool-only C8 analytics migration, no abuse signal; approve-only per standing account flag.
…all C8 slices (#14697) Super-PR batching #14449/#14441/#14459/#14461 (cumulative C8 slice stack) onto a clean ancestry from current main. Registry grows to 121 events with executable consumers; all 120 emit sites use TypedEvents; main's newer guidedIntro block, 1-param omiDoubleTap, and import hygiene are preserved.
|
Fully absorbed: the cumulative C8 slice content (all 121 registered events, TypedEvents migration, slice goldens) reached main via the C8 super-PR #14697. Closing as absorbed per the batching directive. |
|
Hey @Git-on-my-level 👋 Thank you so much for taking the time to contribute to Omi! We truly appreciate you putting in the effort to submit this pull request. After careful review, we've decided not to merge this particular PR. Please don't take this personally — we genuinely try to merge as many contributions as possible, but sometimes we have to make tough calls based on:
Before your next PR, please skim:
If this was declined for direction or taste, maintainers should cite an invariant ID or open a proposed one — ask if that citation is missing. Your contribution is still valuable to us, and we'd love to see you contribute again in the future! If you'd like feedback on how to improve this PR or want to discuss alternative approaches, please don't hesitate to reach out. Thank you for being part of the Omi community! |
What changed and why
C8 slice 2 plus leftover bools, after merging
origin/mainforward through the C7/C8 stack.Twelve production events whose payloads are only unbounded ints and already-closed enums now emit through
TypedEvents, with adapter name and payload byte-identical to goldens captured at75db8620c6before emit. Nine leftover bool-only methods that needed no new registry type follow the same path, goldens atb4785879e9(post-merge HEAD).phoneCallStartedstill acceptsString? contactNamebut emits onlyhas_contact_name; the contact string never enters the payload.The String closed-set list is unchanged and uninvented. Device identity (#14388) and Memory Created (#14392) stay main's named payloads.
Product invariants affected
none
How it was verified
origin/mainintotask/msd-product-c7-registry(spine conflicts took main / harden(dev-harness): distinguish authorized revisions from rejected history #14408), then C7 → c8-migrate → c8-types → c8-slice2.analytics_manager.dartauto-merged; post-merge it still uses_deviceConnectionEventPropertiesand named Memory Created fields, notBtDevice.toJson().TZ=UTC bash app/test.sh,python3 scripts/check_event_registry.py --base origin/main,make preflight,app/AGENTS.md11278 bytes (budget 11411).b4785879e9then re-proven after emit. Prior C8 goldens (c789b4e19e,75db8620c6, type-extension probe) still pass. FullTZ=UTC bash app/test.shafter leftover bools — 2124 passed.python3 scripts/check_event_registry.py --base origin/mainafter leftover bools — 37 registered events.adopted_filesempty.OMI_PR_BODY_FILE=.local/pr-body-c8-slice2.md make preflight— 19 checks passed in 79.55s (harness 344 passed, 7 skipped, 59 xfailed).Did not call
api.omi.me, PostHog, or any warehouse. Did not invent a String closed set. Did not migrate interpolated-name events, transcript-derived counts, or F1 correlation ids.Tests
Core path:
c8_slice2_goldens_test.dart(int/enum tranche) andc8_leftover_bool_goldens_test.dart(nine bool methods including both branches andphoneCallStartedwith/without a name). Main error path: C7 emission-privacy and type-extension constructor TypeError tests remain. Device-identity and Memory Created regression tests from main remain.Failure class (fixes)
Failure-Class: none
Left for a reviewed String closed set
Unchanged from slice 2; do not invent this set:
recordingMuteToggled.recording_type— call sitesdevice|phone_mic; the method still accepts any String, so unknown-versus-passthrough is an owner decisiondeviceOnboardingStarted.source—auto|settingsdeviceOnboardingStepCompleted.step— free String step ids from the onboarding flow (distinct from the intstepon Abandoned)dailySummaryTimeChanged.period—AM|PM(uppercase; the current enum identifier rule is lowercase snake_case);display_timeis a formatted string, not a closed setonboardingUserAcquisitionSource.sourcememoryReviewCardShown.sourcememoriesFiltered.filterphoneCallFailed.error— includesunknownand free-form strings such asFailed to start callphoneCallUpsellShown.sourceappsFilterCategory.category/appsSortChanged.sort_optionchangelogShown.fromVersion/toVersionmemorySearched.query/ single-itemmemoryVisibilityChanged.fact_id+fact_category🤖 Generated with Claude Code