Skip to content

fix(web): repair GitHub teardown, reporting and editor controls - #586

Merged
imshashank merged 7 commits into
mainfrom
codex/fix-production-repair-release
Nov 16, 2026
Merged

imshashank merged 7 commits into
mainfrom
codex/fix-production-repair-release

Conversation

@imshashank

@imshashank imshashank commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

GitHub disconnects and uninstalls fail on populated check graphs, legacy stored timezone values crash reporting, and selection controls overlap or escape the editor. This release repairs those paths together without a schema migration or dependency change.

  • Delete the selected GitHub check graph in dependency order inside the complete removal transaction, retaining foreign-key restrictions and workspace isolation.
  • Normalize legacy stored reporting timezones, validate new profile timezone writes, and omit unchanged legacy timezone values from name-only profile edits.
  • Measure and clamp selection controls, place them below the final selected line when needed, and recompute placement on retained-selection container resize.

This integrates #584 at 695f6b7 and #585/#581 at 39458c2, preserving original contributor history. Independent review verified the exact disjoint union of all 13 files against current main 29d2422. No manifest, lockfile, schema or migration changed; Postgres remains 3.4.9.

Validation: guarded combined bun run verify completed on exact a801064/tree 2b0a43ad9994cc950df447191aad21de1d395d75 with 7,056 tests passing and zero failures; lint, comment and byte policy, imports, dependency deduplication and all package types passed. All six CI jobs passed, including unit/integration, both browser suites, build and migration/schema checks. CodeQL and Markdown links passed. Real Chrome light/dark editor regressions passed, including retained resize and multiline selection. No unresolved review threads at final review.

The helper workflows are blocked before jobs start by GitHub's announced pull_request_target brownout until November 16 at 18:00 UTC. They will be retried after that window without weakening repository policy.

Release verification will cover the exact production artifact and public alias, authenticated reads, realtime readiness, current-host cron allowance and naturally scheduled job progress. The separately confirmed notification candidate-query performance problem remains under investigation and is not claimed fixed by this PR.

ayam04 and others added 7 commits November 16, 2026 08:33
The formatting popover was anchored at the selection midpoint, shifted left by
half its own width through a CSS transform, and pinned 44px above the selection
top. Neither axis was bounded, and the surface scrolls inside an overflow
container, so a selection starting at the left edge of the narrow drawer put
roughly half the popover outside it, and a selection on the first line put the
popover above the box entirely (#515).

The popover now measures itself after mount, centres on the selection only where
the result fits, clamps into the editor box otherwise, and flips below the
selection when there is no room above it. The placement rule is a pure exported
helper, so the reported geometry is a unit test.

Verified:
- bun test tests/features/docs/editor/rich-text-editor.test.tsx: 31 passed
- bun test tests/features/docs: 487 passed, 3 failed, and the same three fail on
  a clean main checkout (useAutosave x2 under full-suite timing, and the outline
  memo setext underline case), so they are pre-existing
- RED both ways: restoring the pre-fix arithmetic fails the six placement tests
  and both component tests; restoring only the pre-fix rendering fails the two
  component tests (left 12px instead of 8px, top -40px instead of 28px)
- biome check, check-comments, check-bytes and check-deps are clean
- apps/web tsc --noEmit names neither touched file (the checkout reports
  pre-existing errors elsewhere)

Fixes #515

Signed-off-by: ayam04 <[email protected]>
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Noveum/orbit
  • Branch: main
  • File: .coderabbit.yaml
  • Commit: 29d2422
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 95b8fb6c-94d7-4820-a752-ea21dd601c0d
Commits

Reviewing files that changed from the base of the PR and between 29d2422 and a801064.

Files selected for processing: 13

  • apps/web/src/features/account/profile-form.tsx
  • apps/web/src/features/docs/editor/rich-text-editor.tsx
  • apps/web/tests/features/account/profile-form.test.tsx
  • apps/web/tests/features/docs/editor/rich-text-editor.test.tsx
  • packages/core/src/analytics/drilldown.ts
  • packages/core/src/analytics/timezone.ts
  • packages/core/tests/analytics/reporting-timezone.test.ts
  • packages/core/tests/org/profile-service.test.ts
  • packages/services/src/github/installations.ts
  • packages/services/src/github/watched.ts
  • packages/services/tests/github/installations-checks.test.ts
  • packages/shared/src/validators/cycle.ts
  • packages/shared/src/validators/profile.ts
  • 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

@imshashank
imshashank marked this pull request as ready for review November 16, 2026 17:53
@imshashank
imshashank requested a review from pulkitxm as a code owner November 16, 2026 17:53
@imshashank
imshashank marked this pull request as draft November 16, 2026 18:03
@imshashank
imshashank marked this pull request as ready for review November 16, 2026 18:03
@vercel

vercel Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
orbit Ready Ready Preview Nov 16, 2026 6:05pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — a8010641 Deployed Nov 16, 2026 by vercel[bot]
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.

2 participants