Require agents to work from worktrees under .agents/worktrees (#12014)
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
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.
Which makes read_attribute faster for models without any aliases ``` ======== no-alias ======== ruby 4.0.7 (2026-09-15 revision 229531a6cf)
When doing marking work with > 16 Ractors, we can see a difference by not having to rederive the mark context when marking the Ractor obj
Render collection items into one buffer when nothing needs them apart
https://github.com/ruby/prism/commit/4893d3b94e
https://github.com/ruby/prism/commit/c3bdf7c769
Previously checking for a command write was the same concept as checking for a command call, but in reality (and since 4.0) they are differe
A very subtle issue, but one that came up with fuzzers. https://github.com/ruby/prism/commit/b57cd1f440
- Implement the gc_impl.h functions added since wbcheck was last updated (single-objspace stubs, as in mmtk) - Create the object table in
Add a new private reader method, refactor alias resolution
Fix composite-key association query edge cases
Build the render_template instrumentation payload only when subscribed
Rendering a collection gave every item its own OutputBuffer, copied the item's output into a SafeBuffer, wrapped that in a RenderedTempl
Unparenthesized lambdas with do...end inside a while loop need to change ever so slightly. No one is using this syntax, but a fuzzer found i
Delimit numbers in place and assemble format options in one pass
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
This is for speeding up the activerecord benchmark in ruby-bench. I added a private reader method. The method is for internal use only, it
tag_options rendered every attribute into its own interpolated string (%(key="value")) and then appended that string to the attrib
Build token_list and class_names with fewer intermediate arrays
When gen_block_series() fails on a block after the first one, for example because code memory is full, it frees the blocks it already compil
Add read-only attributes and use it instead of building a cache
number_to_delimited, which every other number helper also goes through, split the number into an array, sliced the integer part into one str
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
Freeze type objects so that `_default_attributes` is Ractor shareable
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
Calling `deep_dup` or `map` on a `LazyAttributeSet` would return an instance of an `AttributeSet` rather than a `LazyAttributeSet`. This pa
LazyAttributeSet is a type of AttributeSet, so lets put them together
When making the default_values attribute hash, if all of the attributes are "freezable" (not executable code for example), then ma
It's read-only, so nobody should be able to mutate it
`attributes` is protected, so we shouldn't need to `send` on it
Rebasing onto the SchemaContext refactor: build the model's default attributes as a ReadOnlyAttributeSet when every default is freezable
Ruby on Rails. Contribute to rails/rails development by creating an account on GitHub.
token_list split every value into an array, flattened those arrays into another, deduplicated into a third, then handed the result to safe_j
Map key values in the key's own shape
Don't match through associations by direct keys
Build String#truncate's result in one copy
Respect custom primary keys in grouped calculations and through builds
Fix type matching in inverse polymorphic queries
Preserve array-valued composite keys in find_by
Define an internal ActiveSupport::WeakKeyMap
最近は、Claude CodeやCodexなどを使ってAIにコードを書かせることが当たり前になってきました。 そんな中で皆さんは、何をもって「システムの品質が担保されている」と考えるでしょうか。 以前はどうやって品質を説明していたか ちょっと昔のシステム開発では、以下のよ...
Build Enumerable#index_with without a pair array per element
Also avoid an allocation per column when casting composite keys.
A through association's owner and target aren't directly linked, so comparing them by the source association's keys could attach
Dispatch polymorphic URL helpers for a model without intermediate arrays
Cut allocations in per-form CSRF token generation
The fully-stacked web framework. Contribute to remix-run/remix development by creating an account on GitHub.
Interrupts are checked at arbitrary points, including while a jump (break/next/redo/return/raise/throw) is being propagated, and the payload
Anthropicが開発しているJavaScriptランタイム「Bun」は、10月10日付けで新バージョン「Bun v1.4.3」がリリースされました。 Bun v1.4.3の最大の特徴として示されたのが、Go言語で実装されたTypeScr...
truncate sliced the receiver, then interpolated the slice and the omission into a third string. The slice is already a fresh, mutable string
polymorphic_url and polymorphic_path duplicated their options hash even when it was empty, and HelperMethodBuilder.polymorphic_method asked
React Ariaのスワイプ操作で閉じられるSheetコンポーネントの実装について。CSS Scroll Snapとview-timelineを使い、JavaScriptでタッチイベントを処理せずにスワイプ操作と連動したアニメーションを実現する。途中の位置で停止するスナップポイ
Every form rendered with per-form CSRF tokens, which is every button_to and form_with on the page, parsed its action path with URI.parse, bu
Reduce allocations across URL generation
Avoid materializing per-instance config copies for common reads
Memoize the host on the request and skip the port regexp when there is none
…s none Every host read rebuilt the raw host from the env and ran a regexp substitution to strip the port, allocating a String and a MatchD
…fore navigate fires (#11987) Co-authored-by: Matt Brophy <matt@brophy.org>
Cache derived controller constant names
https://github.com/ruby/prism/commit/e06e08af29
controller_class_for underscored and camelized the controller param on every call, and the param encoding checks make it run several times p
Use Symbol#name for session key stringification
RouteSet#call normalized the request path on every request. The overwhelming majority of paths already are normalized and take normalize_pat
The session accessors call key.to_s on every access. Virtually every caller passes a symbol (session[:user_id], the CSRF token, the flash),
Make the abstract controller logger test order independent
The instance-assignment test reset Child's logger to nil in its ensure block. That stores an explicit nil in Child's own configurati
Memoize the attribute builder per schema context
Spare the Content-Type parsing on the response for headers it set itself
parsed_content_type_header ran a regexp match and allocated a MatchData, its captures, and a ContentTypeHeader struct every time anything as
…ibers Allocate nothing in the notifications fanout for silenced subscribers
Spare the thunk in before callbacks for known terminators
Fanout#groups_for runs on every event that reaches build_handle, which is every SQL query and every transaction in Active Record. For each g
Every before callback invocation allocated a lambda (a Proc plus its captured environment) purely so the chain's terminator could run th
1.はじめに 2026年11月17日〜20日に、アメリカ・サンフランシスコで開催される Microsoft Ignite 2026(以降、MS Ignite)に、現地参加することになりました。 そして、これが私にとって初めての海外出張です。 MS Ignite は、世界中...
TanStack Start 1.0リリース。TanStack Routerを基盤とするReact/Solid向けのフルスタックフレームワーク。SSR/ストリーミング、型付きサーバ関数のcreateServerFn、実行環境ごとに処理を切り替えるcreateIsomorphicF
The example shows `link_to nil, "http://example.com"` rendering an anchor whose `href` and text are `http://www.example.com`. `lin
PHP の max() と min() に NAN が混ざると、答えが引数の順番で変わります。同じ順番でも、PHP のバージョンによって答えが逆になりました。PHP 7.4.33、8.0.30、8.3.6、8.4.21 で測った結果です。 式 7.4.33 8.0.3...
A ruby built this way also builds extension libraries with `make` from PATH, so installing gems with C extensions needs GNU make there. Co-
`update-gems` and `extract-gems` in common.mk read `gems/bundled_gems` when they run. With `-j`, `make up` downloaded the gems listed before
Since 4361d8e48f, `REVISION_H_CMD` in common.mk pipes `$(LASTREV)`, which only win32/Makefile.sub defined. With GNU make, `make update-src`
はじめに Agentforceの指示文に「必ず取引先を確認してから回答してください」と書いたのに、確認が飛ばされて、そのまま回答されてしまった。 Agentforceでエージェントを作っていると、こんな場面に出会うことがあります。 LLMは賢いですが、少し気まぐれなところがありま
こんにちは。ALGO ARTISの大賀 愛一郎です。yomiyasuの開発者でもあります。 最近、日本語性能が高いモデルが相次いで公開されていますね。 2026年10月13日、SB Intuitions は、国産LLM「Sarashina」のAPIを利用できる「Sarashina
Every dynamic read on an OrderedOptions or InheritableOptions, which is what `config.x` is throughout the framework and applications, went t
Read the controller logger from the config hash directly
Remove baseruby from the prerequisites so that `lastrev` will work as long as Git is installed.
はじめに CukeDedupは、Cucumber/Gherkinプロジェクトのステップ定義を静的解析し、重複や曖昧さ、再利用の可能性、未使用の定義を見つける CLI ツールです。Rust で書いていて、MITライセンスで GitHub に公開しています。 設定ファイルは不...
AbstractController::Logger delegated logger and logger= to config, so every read went through config.logger, which OrderedOptions resolves i
Memoize controller url_options with script_name across calls
JUCKです。 FFRI × NFLabs. Cybersecurity Challenge 2026という学生向けCTFに参加し2100pt/26thでした。 ここでは Copy(pentest) The Hidden Layer(pentest) Unearthed(pe
ActionController::Metal::UrlFor#url_options memoizes the base options hash, but for a request dispatched through the controller's own ro
mkmf on mswin moves the drive letter of prefix into DESTDIR in the Makefile, so passing an empty DESTDIR made C extension installs fail on a
…ut hook Coding agents build in a new worktree for each task, so every worktree meets the dialog. The hook runs without stopping only when
Windows Defender Firewall asks about every new executable path that listens on all interfaces. A block rule for the build directory stops th
Neither the `__builtin_cpu_supports` probe in conf.rb nor `cpuid.h` has a use now that SSE2 is assumed on x86-64. The probe kept SIMD off on
Negating INT_MIN overflows, so the compiler may drop the `width < 0` check that follows it. clang-cl does so, and `sprintf("%*s"
Build ActionDispatch::Request's inner Rack::Request lazily
Many middlewares wrap the env in their own ActionDispatch::Request: RequestId, RemoteIp, the Rails logger, the Executor, Cookies, the sessio
Fast path for single primary keys in to_param
Array(id).join(delimiter) wraps the id in an array and joins it on every call, but the join only does anything for composite primary keys. F
vm_ic_update used GET_RACTOR() after the constant lookup. The lookup may block waiting for an autoload, and under the M:N thread scheduler t
The lazy loading of error_highlight, did_you_mean, and syntax_suggest claimed the load by an atomic exchange before the load started. So a c
clang-cl defines the weak Init_extra_exts as `.weak.Init_extra_exts.default.ruby_prefix_path`, and lib.exe rejects that name in the .def fil
clang-cl 15 is the oldest version the build accepts. The component is not in Visual Studio 2017, which mswin still supports. Co-Authored-By
clang-cl takes the here-document without an extension as linker input, so verconf.mk came out empty and nmake stopped at "MSC_VER not d
The previous revision still used SSSE3 instructions on MSVC x64 without checking the CPU, which clang-cl rejects, so the clang-cl build stop
They take pointers to the signed LONG64. clang-cl warns about the difference in every file that includes ruby/atomic.h, as MSVC does at -W4
clang-cl ignores `#pragma optimize` before 15, so rb_gc_guarded_ptr, which RB_GC_GUARD uses with _MSC_VER, can be optimized away. Check it a
clang-cl does not know `#pragma deprecated` and warns about it in every file that includes ruby.h. The warning is an error in mkmf checks wi
clang-cl warns that the option is unused. Through CPPFLAGS in RbConfig, the warning becomes an error in mkmf checks with -WX, and convertibl
clang-cl takes the default -O2sy- as -Os. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
clang-cl counts a library before -link as another input and then rejects -Fo, so test-spec stopped at building array_spec.so. Co-Authored-B
nmake reruns configure.bat with configure_args when build files change. CC set only in the environment was not recorded there, so nmake from
__builtin_cpu_supports refers to __cpu_model in compiler-rt, which clang-cl does not link, so generator.so and parser.so failed with an unde
clang-cl defines _MSC_VER but is not MSVC for RBIMPL_COMPILER_IS, so rbimpl_atomic_or and rbimpl_atomic_cas fell through to "Unsupporte
Short-circuit route matching for static paths
Don't build structured events that no subscriber will consume
Skip static file candidates whose top-level entry doesn't exist in public/
はじめに 横浜銀行アジャイル開発チームのwatariです。 AWS上で、次のようなサーバーレスアプリケーションをOpenTelemetryで計装する機会がありました。 これまではAWS X-Ray SDKを利用してトレースを可視化していましたが、AWSがOpenTelemetry
…ec with monkeypatches The spec checks that the Kernel.require monkeypatch is still used, by comparing the whole stdout. However, the scrip
[Bug #22436] The check_funcall_exec function incorrectly restored the pending block handler which causes it to leak. For example, the foll
第1回で使った米生産費統計は、昭和26年産から令和5年産までの73年産を収めている。ところが、e-StatのAPIでこの表を取り出すと、年産を並べた分類には78の項目があり、年産の数より5つ多くなっている。 今回は、連載「日本の農業を公的統計から読む」の第2回である。最初に断って
1. はじめに 松尾研究所の具です。昨今、LLMが外部環境に作用し自律的にタスクをこなすAIエージェントに関する研究が注目されています。中でも、多様なツールを用いてAgentに適切な行動を取らせるために、ツールの利用方法を推論時のコンテキストとして渡すのではなく、事後学習によって
Ractor::Port#receive, Ractor.receive and Ractor.select gained a `timeout:` keyword argument in d32793fe8e (#18418), and the rdoc of each met
Port the YJIT part of Makefile.sub, so that `--with-gnu-make` no longer rejects `--enable-yjit`. The rustc version stamp is a rule here, sin
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.
The Ruby Programming Language. Contribute to ruby/ruby development by creating an account on GitHub.