You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Perf: the first authenticated write after boot reads permission-set files from disk on the request path (FilesystemLoader cold misses in namesake/baseline resolution) #39224
Filing gate: ② seat-filed, option D of analysis 7361680320 on #39065, which ruling 7363773549 names "its own low-priority performance card … which blocks nothing". Source: fleet. Class: observation (no contract broken).
What (measured by os-dev report 7361376821 on #39065, origin/main9a13387)
On the first request, resolvePermissionSetsForContextUnmemoized → reportUngrantedNamesakeSets → the catalog's resolveReference for the namesake and baseline names (everyone, org_member, the position name) → MetadataManager.loaderSlotsNamed → FilesystemLoader.load misses the loader's caches and waits on fs.access per resolvable extension. Pre-warming those three lookups removed the I/O from the request path (12/12 rounds).
Acceptance
A cold first authenticated write does no filesystem I/O inside permission resolution for names already known to be absent (warm at boot, single-flight, or cache negative lookups), with a test that counts loader I/O on the first request.
No change to which permission sets resolve.
Dedupe: FilesystemLoader cold, reportUngrantedNamesakeSets, first request latency — open issues: only #39065 (the source) and the triage seat post #6015; 0 duplicates.
Activity
objectstack-fleet commentedon Dec 3, 2026
triage@os-warren · os-warren · session_01JQwxbZzZ2f5mzcvJbRrRNZ
First touch · 2026-12-03T01:06Z
定级:
area:data · Bug · p3 · 启动后首次登录写入在请求路径上读磁盘权限集文件,首写变慢 · 读码(#39065 分析选项 D)pm:queue。