Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
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 }}
oven-sh
/
bun
Public
Notifications
You must be signed in to change notification settings
Fork
5.1k
Star
96.1k
Code
Issues
3.7k
Pull requests
5k+
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Bun.file: make exists()/size/lastModified reflect the current filesystem state
- #33659
#33659
Closed
robobun
wants to merge 20 commits into
main
oven-sh/bun:main
from
farm/1db7f535/bunfile-stat-cache
oven-sh/bun:farm/1db7f535/bunfile-stat-cache
Copy head branch name to clipboard
Conversation
Commits
20
(20)
Checks
Files changed
Closed
Bun.file: make exists()/size/lastModified reflect the current filesystem state
#33659
robobun
wants to merge 20 commits into
main
oven-sh/bun:main
from
farm/1db7f535/bunfile-stat-cache
oven-sh/bun:farm/1db7f535/bunfile-stat-cache
Copy head branch name to clipboard
Commits
Commits on Jul 28, 2026
Bun.file: make exists()/size/lastModified reflect the current filesystem state
Show description for 03a78e8
robobun
committed
03a78e8
View commit details
Copy full SHA for 03a78e8
Browse repository at this point
get_size: preserve slice() bound for non-seekable and missing files
Show description for e95bb16
robobun
committed
e95bb16
View commit details
Copy full SHA for e95bb16
Browse repository at this point
structuredClone: propagate size_is_explicit for file-backed slices
Show description for ca36103
robobun
committed
ca36103
View commit details
Copy full SHA for ca36103
Browse repository at this point
trim explanatory comments to single lines
robobun
committed
af1030d
View commit details
Copy full SHA for af1030d
Browse repository at this point
get_size: do not cache 0 when stat fails
Show description for f085a78
robobun
committed
f085a78
View commit details
Copy full SHA for f085a78
Browse repository at this point
get_size: stop caching stat-derived size into self.size entirely
Show description for 7d808ea
robobun
committed
7d808ea
View commit details
Copy full SHA for 7d808ea
Browse repository at this point
serve.test.ts: negative slice start now resolves against the live file size
Show description for 0a4a557
robobun
committed
0a4a557
View commit details
Copy full SHA for 0a4a557
Browse repository at this point
get_slice: keep file store for empty regular files; drop resolve_size from serialize
Show description for d005d65
robobun
committed
d005d65
View commit details
Copy full SHA for d005d65
Browse repository at this point
get_slice: only stat for negative indices; keep default end unbounded
Show description for eaa085a
robobun
committed
eaa085a
View commit details
Copy full SHA for eaa085a
Browse repository at this point
[autofix.ci] apply automated fixes
autofix-ci[bot]
authored
50167f3
View commit details
Copy full SHA for 50167f3
Browse repository at this point
test: assert structuredClone result reads too, including a sliced file
robobun
committed
9a0becc
View commit details
Copy full SHA for 9a0becc
Browse repository at this point
get_size_for_bindings: route file stores through view_size()
Show description for 61f8990
robobun
committed
61f8990
View commit details
Copy full SHA for 61f8990
Browse repository at this point
get_size_for_bindings: match get_size's clamp for explicit file slices
Show description for aaa9c8a
robobun
committed
aaa9c8a
View commit details
Copy full SHA for aaa9c8a
Browse repository at this point
extract stat_file_size helper shared by get_size, get_size_for_bindings, view_size
robobun
committed
72053b5
View commit details
Copy full SHA for 72053b5
Browse repository at this point
trim stat_file_size doc comment to one line
robobun
committed
a0a053d
View commit details
Copy full SHA for a0a053d
Browse repository at this point
view_size: clamp explicit file slices via stat_file_size
Show description for 54db525
robobun
committed
54db525
View commit details
Copy full SHA for 54db525
Browse repository at this point
[autofix.ci] apply automated fixes
autofix-ci[bot]
authored
073d5f4
View commit details
Copy full SHA for 073d5f4
Browse repository at this point
test: assert concrete length for both .size and toHaveLength
robobun
committed
b69b413
View commit details
Copy full SHA for b69b413
Browse repository at this point
Commits on Jul 29, 2026
Merge origin/main into farm/1db7f535/bunfile-stat-cache
robobun
committed
55325a1
View commit details
Copy full SHA for 55325a1
Browse repository at this point
lastModified: return 0 for missing files and in-memory blobs instead of 2^52-1 sentinel
Show description for cdead2d
robobun
committed
cdead2d
View commit details
Copy full SHA for cdead2d
Browse repository at this point
You can’t perform that action at this time.