Merge pull request #58653 from Shopify/ec-fire-on-wip
Freeze Active Record specific `on` callbacks
Freeze Active Record specific `on` callbacks
- Model that define such callbacks can't be made Ractor shareable. ```ruby class Post < ApplicationRecord after_create_commi
Electron 44リリース。Chromium 152.0.7977.54、Node.js v24.18.1、V8 15.2へアップデート。macOS 12/Windows 32-bit/Linux ARM 32-bitのサポート終了、rendererからのclipboard直
Use the profiled splat array length to expand caller splats into fixed positional arguments for SendDirect. Guard the runtime length and fal
Move receiver guards, argument emission, and SendDirect generation into a callback invoked by dispatch_caller_splat. This keeps caller-splat
Caller-splat dispatch creates a join result during type_specialize. A following CFunc inline may use it before infer_types runs again, causi
Use guards instead of a dynamic Send fallback and join block for monomorphic caller splats. Recompile on length mismatches so the call site
Document that observing a second splat length makes the profile non-monomorphic, so the next version keeps the dynamic Send instead of emitt
Select the profiled caller-splat length in add_iseq_to_hir and attach it to each Send before receiver dispatch creates its specialized arms.
…he-order Preserve `fetch_multi` key order when local cache is active
お久しぶりです! NTT データ数理システムで顧問をしている大槻(けんちょん)です。好きなアルゴリズムは最小カットです。 今回は、競技プログラミングの世界で「燃やす埋める」という愛称で親しまれている問題について書きます。「 番目を選ぶならば 番目も選ばないとペ...
Freeze Active Record time zone related configuration
- Those two configs need to be frozen in order to be accessible from a ractor. I also modified the mutation in the Railtie because it h
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
はじめに Ubuntu Serverを運用していると、ログファイルやアプリケーションデータの増加によりディスク容量が不足する場合があります。 今回、Ubuntu Serverのディスク容量拡張作業を実施しました。 私はLinux初心者だったため、LVM(Logical V...
Make ActionPack settings instance variables
…ttings-ractor Store the AssetTagHelper settings in singleton class attributes
Make the allow_browser callback shareable
The six settings were class variables, which non-main Ractors cannot read on Ruby 4.0. Use instance variables on the module directly, and a
For including modules, define delegator class accessors. Drop the instance methods generated by mattr_accessor.
Amazon Web Services(AWS)は、3DオープンワールドでAWSを学べるオンラインゲーム「AWS Cloud Quest」の新バージョン「AWS Cloud Quest 2.0」の提供を開始しました。 AWS Cloud Q...
Amzon Web Services(AWS)とマイクロソフトは、両社が協力してAWSとMicrosoft Azureを最大100Gbpsの高速な閉域網で相互接続することを発表しました(AWSの発表、マイクロソフトの発表)。 両社ともにプレ...
Cloudflareは、ボットの侵入手段を同社のネットワーク全体から動的に学習し、防御を継続的に改善し続ける「Adaptive Intelligence」という仕組みを採用した新しいボット検出エンジンを発表しました。 Cloudflare&...
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
「アンケートの回答データ、集計できる形にしておいてもらえますか」 先日そう頼まれて、送られてきたCSVを開いた瞬間、正直うんざりしました。 列名は SC1 SC2 SC3、その先は Q1 Q2 と続きます。値は 1 2 3。列を見ても値を見ても、何のことか分かりません。 ...
… signing fails Signing a certificate for an ML-DSA key passes a nil digest, which Ruby OpenSSL rejects with a bare TypeError before 3.3. O
The signing tests were gated on the PQC handshake probe, which needs SSLContext#groups=. On OpenSSL >= 3.5 with Ruby OpenSSL < 4.0 all
…signing digest_required? treated every algorithm outside RSA, DSA and EC as digest-less, so a gemspec cert_chain could steer verification
…e_cert defaults keyEncipherment should be set only when the subject public key is used for key transport, and dataEncipherment only when i
Simplify PQC check not to depend on OpenSSL and Ruby OpenSSL versions. https://github.com/ruby/rubygems/commit/303e1214a1
…y signed gems workflow These changes enable the full PQC ML-DSA cryptographically signed gems workflow: `gem cert --build` (key/cert gener
Acronyms should be in all caps for naming convention. Assisted-by: Claude:Opus 4.6 https://github.com/ruby/rubygems/commit/7dc8e9e72d
* Move omit_unless_support_pqc from test_gem_remote_fetcher_local_ssl_server.rb to helper.rb so that all rubygems test files can use it
…atch help text The following help text and error message in lib/rubygems/security.rb show that the order of algorithms is RSA, DSA, EC. Al
`ActiveSupport::Cache::Store#fetch_multi` is documented to return values in the order the keys were requested (#34700). The `Strategy::Local
マイベスト1人目の専任 SRE の秋吉です。ポメラニアンと暮らしています。 概要 マイベストでは、ステージング環境を含めて100個弱の ECS サービスを運用しています。これまで ECS の構成管理とデプロイは、CodePipeline / CodeBuild / CodeD
! この記事は個人の見解であり、所属する組織を代表するものではありません。 はじめに データサイエンティストのキャリアについて聞かれることが、ここ数年でかなり増えました。社内やお客様先だけでなく、大学の知り合いからも聞かれます。これから進もうとしている学生もいれば、何年かや
Bumps the rb-sys group with 1 update in the /test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib directory: [rb-sys](ht
…orm-query-stubs Remove leftover perform_query stubs in TrilogyAdapterTest
Ractorize Active Record schema context
These tests stub perform_query on the pooled connection. Minitest's stub restores the original method directly on the instance, so later
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
Separate SchemaContext attributes code into separate class that's embedded in Ractor storage (so it can change). Move schema context spe
We don't need 64 bits for jit_entry_calls/jit_exception_calls so dropping them down to 32 bits will allow us to save 8 bytes per iseq.
When bundle exec resolves an explicit relative path like ./script and falls back to Kernel.exec, Bundler currently prepends another ./ becau
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
SalesforceとAnthropicが「Claudeforce」を発表しました。 第一弾となる「Salesforce in Claude」では、Claudeの画面からプロンプトを入力するだけで、Salesforceのデータやワークフロー...
Bumps the github-actions group with 2 updates in the / directory: [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) an
「だいたい○○ケースくらいですかね」の正体 テスト計画でスケジュールを立てるとき、テストケース数の見積もりはどうやっているだろうか。 正直なところ、多くの現場では「前回と同じくらいの規模感だから○○ケースくらい」「経験的にこの手の機能なら△△ケース」という見積もりが主流だと思う。
It was deprecated in 4.0 with a 4.1 removal horizon, and its tests were already dropped with the deprecation. Nothing else in this file uses
The file and path schemes wrote into the shared cache directory with a plain FileUtils.cp, so a concurrent install could read a half-written
… the API The expected cache base was computed from Gem.global_gem_cache_path, the same expression the code under test uses, so the asserti
A gem installed from a local path was copied into the global cache under its canonical file name, where later remote installs of the same na
…ne is gone A git source that pins no branch, tag or ref follows whatever branch the cached bare clone's HEAD points at. Once the remot
The whole attested push was wrapped in rescue StandardError. A failure to read a file given to --attestation printed a warning and published
GitHub Actions documents the variable as "true", so any other value, including "false", should not trigger the auto-atte
On GitHub Actions the push tests inherited the real variable, took the auto-attestation path, and spawned `gem exec sigstore-cli` subprocess
https://github.com/ruby/rubygems/commit/971dfd6e5f
https://github.com/ruby/rubygems/commit/c4793effbf
Fall back to RubyGems' safe YAML parser when Psych cannot accept the metadata as UTF-8. This preserves bytes from ISO-8859-1, EUC-JP, an
- Normalizes legacy Latin-1 bytes in Gem::Specification.normalize_yaml_input. - Works with both Psych and RubyGems’ internal YAML parser. h
(https://github.com/ruby/time/pull/76) The sample code and its result in the Time.rfc2822 documentation appear to be inconsistent. https:/
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.