* fix(fs): a healed entry carries its written path, and an entry with no path answers 404 The lineage heal now returns the entry with the path it just wrote instead of re-reading the row, so a replica that hasn't caught up can't hand back the old NULL path. Entries that still have no path are kept out of the cache, resolve to the usual 404 in the fs routes, and an ACL check on a resource with no path refuses instead of throwing. * fix(fs): heal paths along one parent chain, fill only empty paths, and return the healed row from the primary The path lineage now picks the target row and walks up its own parent_uid links, so each row in a healed path is the parent of the next. The backfill only fills a NULL path and never replaces one that is set. Both lineage routes return the row read back from the primary, so every column is current. Path-less entries are kept out of the cache by the cache writers themselves, and a missing or empty path is unresolvable both in resolveOrNotFound and in ACLService.check. * fix(fs): a path lineage resolves only to a row still at that path, and the backfill runs its updates concurrently The lineage lookup now answers a miss when the row read back from the primary sits at a different path than the one walked, and doesn't cache it. The backfill runs its per-row updates through runWithConcurrencyLimit and drops cached entries only for rows it actually filled. ACLService.check refuses only a resource with no string path, so an empty client path keeps its existing 400. * fix(fs): build healed paths from the primary's ancestor chain, and invalidate the paths the heal wrote Both lineage routes now read the ancestor chain from the primary and write the path it spells, so a lagging replica's names never end up in a path column. A path lookup whose replica walk no longer matches the primary's chain is a miss and writes nothing. The backfill drops the cached entries of the rows it filled in one call, keyed by the path it wrote. The lazy-chain comparison now lets a missing path reach ACLService.check on both sides. * fix(fs): leave path-less uid and id lookups to resolveNode resolveNode already answers a uid or id lookup whose entry has no path as not found, and a path lookup always returns an entry with its path, so resolveOrNotFound goes back to trusting what it resolves. The readdir case for a broken parent chain is covered by the existing HTTP test. * fix(fs): the ancestor walk stops at a fixed depth and updates only rows with an empty path The primary's ancestor walk now selects each row's path and hands only the rows whose path is NULL to the backfill, so filled ancestors cost no UPDATE. The walk stops after LINEAGE_MAX_DEPTH steps; a chain that has not reached a row without a parent by then is treated as broken and the row is left alone. * fix(fs): a listing heals its path-less entries a bounded number at a time * test(fs): a stored path the parent chain no longer spells heals from the primary, and a listing leaves a path-less entry uncached --------- Co-authored-by: Daniel Salazar <daniel.salazar@puter.com>
The Open-Source Internet Computer!
« LIVE DEMO »
Puter.com
·
App Store
·
AI Builder
·
Developers
·
X
Puter
Puter is an advanced, open-source, self-hostable internet computer designed to be feature-rich, fast, and highly extensible.
For Users
Puter's goal is to provide you with every app and feature you need to work, create, and play under one roof. From a simple Notepad and Voice Recorder to Spreadsheet and Camera, Puter wants to be the all-in-one solution for your digital life.
For Developers
Puter provides everything you need to build and publish web apps and games. From AI to Cloud Storage and Database to Serverless Workers, Puter has you covered. Puter also helps you get users! Once you build your app, you can publish it on our App Store to reach and monetize users.
Getting Started
💻 Local Development
git clone https://github.com/HeyPuter/puter
cd puter
npm install
npm start
→ This should launch Puter at http://puter.localhost:4100
To run this checkout with Docker, follow Building from source. Create a local docker-compose.override.yml to select the local build; keeping these settings out of docker-compose.yml avoids conflicts when pulling updates and keeps local configuration out of pull requests.
🚀 Self-Hosting
Linux/macOS
curl -fsSL https://puter.com/selfhost | sh
Windows
irm https://puter.com/selfhost?os=windows | iex
→ For more details, see Self-Hosting Puter.
☁️ Puter.com
Puter is available as a hosted service at puter.com.
Support
Connect with the maintainers and community through these channels:
- Bug report or feature request? Please open an issue.
- X (Twitter): x.com/HeyPuter
- Security issues or abuse reports? security@puter.com
- Email maintainers at hi@puter.com
We are always happy to help you with any questions you may have. Don't hesitate to ask!
License
This repository, including all its contents, sub-projects, modules, and components, is licensed under AGPL-3.0 unless explicitly stated otherwise. Third-party libraries included in this repository may be subject to their own licenses.
Translations
- Arabic / العربية
- Armenian / Հայերեն
- Bengali / বাংলা
- Chinese / 中文
- Danish / Dansk
- English
- Farsi / فارسی
- Finnish / Suomi
- French / Français
- German / Deutsch
- Hebrew/ עברית
- Hindi / हिंदी
- Hungarian / Magyar
- Indonesian / Bahasa Indonesia
- Italian / Italiano
- Japanese / 日本語
- Korean / 한국어
- Malay / Bahasa Malaysia
- Malayalam / മലയാളം
- Dutch / Nederlands
- Polish / Polski
- Odia / ଓଡ଼ିଆ
- Portuguese / Português
- Punjabi / ਪੰਜਾਬੀ
- Romanian / Română
- Russian / Русский
- Spanish / Español
- Swedish / Svenska
- Tamil / தமிழ்
- Telugu / తెలుగు
- Thai / ไทย
- Turkish / Türkçe
- Ukrainian / Українська
- Urdu / اردو
- Vietnamese / Tiếng Việt

