Skip to content

fix(tabs): continue edge scrolling after a native snap - #210

Merged
koreyba merged 1 commit into
mainfrom
codex/tab-drag-scroll
Nov 4, 2026
Merged

koreyba merged 1 commit into
mainfrom
codex/tab-drag-scroll

Conversation

@koreyba

@koreyba koreyba commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

A busy renderer can run the first tab-drag animation frame before React commits scroll-snap-type: none. Native snapping then holds the requested movement, and the old loop permanently stopped even though scrollable space remained. Main run 41847442290 captured this as the only failure among 1,146 component cases.

Continue edge scrolling while distance remains in the pointer’s direction. Physical boundaries stop scheduling frames; drop, leave, cancellation and unmount retain their cleanup. The existing resize/reveal guard is preserved.

Validation:

  • Two new direction regressions failed before the fix; all 22 tab-control unit cases now pass, including boundary and cancellation checks.
  • Headed Linux with 6x CPU throttling reproduced the original failure in 9 of 10 independent repetitions. The identical 40-case stress scope passes after the fix; trace attachments show recovery from the held first write. Temporary instrumentation and throttling are outside git.
  • All four unchanged original browser cases pass on headed Linux with coverage. Allure scope matched, complete modeling, no findings.
  • Full type-check, targeted ESLint, whitespace checks and AI DevKit base-document lint pass. No browser assertions, retries, timeouts, coverage settings or CI gates changed.

All fresh exact-head GitHub checks passed before merge at 5e1d29485e24ec314e3eac83d73304b98b31dcc8. This is a follow-up to the component-runtime rollout in #208 and the Jest fix in #209.

PR Tests 41851718737 retained all 143 specs / 1,146 exact component identities: all passed, zero retries/flaky/skipped, complete Allure modeling. The aggregate validated four exact-head coverage inputs. All 298 source files remain; 297 unchanged-source maps match #209, with only the reviewed tab-strip map differing (+2 branch points). Hit-count variations in unchanged async session/cancellation and navigation guards were inspected; no test or source scope was excluded.

This component family completed in 9m22s versus the original 29m12s; summed runner time was 32m03s (+9.8% for this sample). Earlier optimized runs varied around 11–13 minutes. Combined report contains 3,289 results: 3,283 passed and six existing unit skips. CodeRabbit automatically skipped due to repository stars; it was not completed review.

Final rollout: merged main 4c734702412c5b948fc268b37a93043d84a61378 coverage run 41854124816 passed all 143 specs / 1,146 original component identities with no retries/flaky/skipped cases; native Jest passed 2,177 with six existing skips (2,183 total). All 298 source maps match the reviewed PR210 tree. Component elapsed 11m57s versus 29m12s baseline (-59.1%); summed family runner time 42m04s (+44.1%). The duplicate main component execution remains removed. Published main report has 3,269 results (3,263 passed, six existing unit skips).

All four main Actions workflows succeeded, but the external main SonarCloud quality gate is still FAILED, independently of its scanner job succeeding. The same C security/reliability conditions already failed on pre-optimization main 3852946. Main’s previous-version baseline starts 2026-03-05: 14 older bug/vulnerability findings remain. The one new S3403 warning on require.main === module is a confirmed false positive: direct CLI execution emits the 143-spec plan, importing the module does not execute CLI, and Node documents this exact CommonJS guard. The finding remains visible; no gate, rule or issue status was changed. All PR checks, including the PR Sonar gate, were green at each exact reviewed head before the guarded merges.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cdf7c806-c111-4948-b18c-5fa20f6aef9b
  • 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

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying everfreenote with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5e1d294
Status: ✅  Deploy successful!
Preview URL: https://9ba1733d.everfreenote.pages.dev
Branch Preview URL: https://codex-tab-drag-scroll.everfreenote.pages.dev

View logs

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

PR Status

Updated for PR #210 at 5e1d294 on 2026-11-04T15:02:56.539Z.

📊 Allure Test Report

Open Allure Report

Contributing Workflows

Workflow Status Suites
Unit Tests ✅ Completed Core Unit, Core Integration, Web Unit, Mobile Unit
Component Tests ✅ Completed Web Component
E2E Tests (PR Preview) ✅ Completed Web E2E

Catalog: All reports

🤖 Android Build Panel

Check a box below to trigger a release build:

  • 🚀 Build Stage Release APK
  • 🚀 Build Prod Release APK

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Allure Report Summary

Name Duration Stats New Flaky Retry Report
Allure Report Allure Report 10m 42s Passed tests 3283   Skipped tests 6 4 0 0 View

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

@koreyba
koreyba merged commit 4c73470 into main Nov 4, 2026
30 checks passed
@koreyba
koreyba deleted the codex/tab-drag-scroll branch November 4, 2026 15:05
@koreyba
koreyba restored the codex/tab-drag-scroll branch November 4, 2026 15:05

This branch was previously deployed

1 inactive deployment
Stage — 5e1d2948 Deployed Nov 4, 2026 by koreyba via build #1054
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