Owner: Stephen Margheim Scope: mobile-rn only. Replace the custom OTA orchestration service with a near-defaults Expo Updates setup, and finish the user-visible OTA control surface started in #1891 (merged) + #1927 (open). No backend, no infra changes. Linear: CORE-2252 Motivation: A production OTA published on 2026-06-07 failed to apply on a TestFlight build despite multiple restarts and a ~2-minute background gap. Root cause is bespoke logic that no other Expo team uses; see § Background. The fix also closes the loop on user-visible OTA state — making it trivial for a user (or support staff) to see what version they're on and force an update.
Linear: Receive dollars from Cash App · CORE-2278 Decide on UX Owner: Stephen Margheim (Kappa) Scope: Backend + mobile-rn end-to-end MVP. Excludes the deferred items in the Linear Project's Scope/Out.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| fun method_name => void do | |
| # ... | |
| end | |
| fun method_name => never do | |
| # ... | |
| end | |
| fun method_name => Integer do | |
| # ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class CreateFtsPosts < ActiveRecord::Migration[8.0] | |
| def change | |
| create_virtual_table :post_documents, :fts5, | |
| [:title, :body, "content=''", "contentless_delete=1", "tokenize='porter unicode61 remove_diacritics 2'"] | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ┌──────{ , }◀─────┐ | |
| # ◯─┴┬─▶[ sql-stmt ]─┬┴─▶◯ | |
| # └───────▶───────┘ | |
| def sql_stmt_list | |
| end | |
| # ◯─┬─────────────┬▶─────────────────────┬─┬─▶[ alter-table-stmt ]──────────▶─┬▶◯ | |
| # └─{ EXPLAIN }─┴─▶{ QUERY }─▶{ PLAN }─┘ ├─▶[ analyze-stmt ]──────────────▶─┤ | |
| # ├─▶[ attach-stmt ]───────────────▶─┤ | |
| # ├─▶[ begin-stmt ]────────────────▶─┤ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class RoutingTest < ActionDispatch::IntegrationTest | |
| IGNORED_CONTROLLERS = Set[ | |
| "Rails::MailersController" | |
| ] | |
| test "no unrouted actions (public controller methods)" do | |
| actions_by_controller.each do |controller_path, actions| | |
| controller_name = "#{controller_path.camelize}Controller" | |
| next if IGNORED_CONTROLLERS.include?(controller_name) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'benchmark/ips' | |
| require 'oj' | |
| require 'json' | |
| puts "Ruby version: #{RUBY_VERSION}" | |
| puts "Oj version: #{Oj::VERSION}" | |
| puts "JSON version: #{JSON::VERSION}" | |
| # Sample data to hash - using varied data types | |
| test_data = [1, "string", { a: 1, b: 2 }, [3, 4, 5]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # frozen_string_literal: true | |
| require "bundler/inline" | |
| gemfile(true) do | |
| source "https://rubygems.org" | |
| gem "rails", "8.0.0.rc1" | |
| # If you want to test against edge Rails replace the previous line with this: | |
| # gem "rails", github: "rails/rails", branch: "main" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'benchmark' | |
| def array_plus_array(n) | |
| result = [] | |
| n.times do |i| | |
| result = result + [i] | |
| end | |
| result | |
| end |
NewerOlder