Skip to content
All docs

Docs / Reference

Limits

What Forge cannot hold or do, in numbers, with where each number comes from. Some are Dash Platform's and some are Forge's own rules. The ones marked frozen are fixed once a network's contracts are registered (Deploying Forge to a network). If a push or a command fails, start with My first push failed.

  1. Sizes
  2. Text and counts
  3. What the apps read
  4. Pushes and the cost guard
  5. Not supported

Sizes

WhatLimitSource
One state transition (a signed write)20,480 bytes (20 KiB)Platform's max_state_transition_size; ST_SIZE_LIMIT in crates/forge-core/src/pack.rs
One byte-array field4,900 bytes (Platform's hard cap is 5,120; the rest is document overhead)FIELD_MAX in pack.rs
One chunk document (git pack bytes on Platform)3 fields, 14,700 bytes of pack per chunk (about 14.4 KiB); a full chunk leaves at least 5 KiB for headersDOC_PAYLOAD_MAX in pack.rs
A pack1 TiB: the cap on the size a manifest records (frozen). Forge's tools add no smaller cap; on Platform a pack is split over as many chunks as it needs, each costing about 0.005 DASHforge-v2.md §9; Costs
A contract (registration)20,480 bytes, and at least 2,000 bytes of headroom under that for the create transitiondeploy-v2.mjs
A passkey vault entry (vaultEntry)credential id 16 to 255 bytes, recipient key 32, encapsulated key 32, sealed bundle 32 to 256 (Forge writes 256). An update can loosen the sealed bundle's bounds but never make it fixed-length, and cannot take the credential id past 255 bytes or version past 255 (frozen). One entry per identity and credential. Fees measured on testnet: about 43 to 52 million credits (about 0.0005 DASH) for an identity's first entry, 33 million for a later one, 3 million to re-seal; a delete refunds about 27 to 37 million, and a sign-in reads onlyforge-v2.md §2
A board (board, forge-meta)name 1 to 63 characters (252 bytes), definition 4,096 bytes of JSON, sealed 5,120 bytes; one definition per member and board. The board key stays a u32 and only maintainers and writers define boards (frozen); the size bounds can be loosened by an update. Fees measured on testnet: about 54 to 64 million credits for a new board with a template's definition, 3.4 to 4.6 million for an editforge-v2.md §2; Boards
A card (card, forge-meta)column 0 to 255, rank 1 to 63 base-62 digits, field values 2,048 bytes of JSON, sealed 2,560 bytes; one card per member, item and board. A card always names an issue or a PR, and only the board's home repository's members write one (frozen). Fees measured on testnet: about 71 million credits for an item's first card, 89 million for a board's first, 43 million when another member has a card for the item, 4 to 5 million for a movesame
Keys in a passkey vault entryat most 6: the main key (a group-bound limited key with a budget and an expiry), up to 4 per-contract wallet grants (each also with a budget and an expiry: an unlimited one stays on its device) and one encryption key (only if asked). At most 10 passkeys per identityPasskey vault
Pack download timeeach copy gets max(120 s, size ÷ 1 MiB/s); a manifest with no size allows 256 MiBBring your own storage
Read-back check after an uploada full download and SHA-256 up to 16 MiB; larger packs get a size check and byte-exact head and tail rangessame
A history or flat index, inflated64 MiBMAX_INFLATED in crates/forge-core/src/pack/historyindex.rs and flatindex.rs
One repack names at most32 older packs it supersedes; run it again for the next onesBring your own storage
A release asset uploaded from the browser256 MiB per fileCollaborating
A branch downloaded as a zip100 MB, built in your browserQuick start

Text and counts

WhatLimitSource
An issue, comment or release-notes body5,120 bytes on Platform (less in a private repository, where the title and other encrypted text share the space)Collaborating
A longer textup to 256 KiB, posted by a maintainer or writer; the field keeps its first part and names an artifact. Triage, Read and non-members stay within 5,120 bytesforge-v2.md §6.3
A members-only post5,120 bytes less 61 bytes of envelope; a bot's reply is cut to at most 4,800private-repos.md §23
An inline comment's diff hunk1,024 bytes (it can be raised by an update, never lowered)forge-v2.md §9
A repository name1 to 63 characters: lowercase letters, digits, ., _ and -, starting with a letter or digit (E202)docs/errors.md
Topics on a repository20, each 1 to 30 characters (frozen)Collaborating
Protected-branch patterns8same
Required checks and their sources10 (frozen)forge-v2.md §9
Reviewers asked from CODEOWNERS15Collaborating
People a message can go to16, you included (an environment: 64)Who can read what
A bot's access note500 characters; the AI service's name 100; a task for a bot 120Bots and agents
A bot's push accessat most 90 days (30 by default)Bots and agents
Names that differ only in case, or one the other as a folder (feature and feature/x)refused for branches and tagsCollaborating

What the apps read

The apps read documents in pages and stop at a limit rather than guess. A result past a limit is marked, never silently wrong.

WhatLimitEffect
A repository's member-event feed30 pages of 100: 3,000 events (FEED_MAX_PAGES in forge-web/lib/repo/issues.ts)Past it, label and assignee filters, pinned issues and milestone progress are shown as unverified. Hides, bans, labels, assignments and pins are events, so a very busy repository, or one that moderates a flood one post at a time, reaches it. Events cannot be deleted
Pull requests in a searchthe newest 100Collaborating
Code searchfiles over 384 KiB are skipped; at most 100 MiB of text; a repository over 2,000 files or 16 MiB stored is indexed on its default branch onlyQuick start
The history indexeach path's newest 256 first-parent versionsCosts

Pushes and the cost guard

WhatLimitSource
A push that costs more thandash.costWarnThreshold, 0.05 DASH by default, asks first; with no terminal it stops with E801. The whole push counts, once, before anything is paid: every pack it stores and every ref update, deletes and tags at commits already stored too (git push --tags of 300 such tags costs about 0.28 DASH)Costs
Storing packs on Platforma push that would store more than 1 MiB of packs in all while dash.storage is unset asks first (they are permanent); raising the threshold does not lift this, choosing storage doesE801
The key's budgeta limited key spends at most its budget (0.25 DASH for dg auth new's key, 0.05 for a browser key by default) (E402)Identity and keys
Memory while indexing a fetched packnone unless you set dash.maxPackInput (the gateway sets one)Gateway
One identity writing from two places at oncetwo writers can pick the same nonce; one write is dropped (E704)docs/errors.md

Not supported

  • Shallow clones (--depth, --shallow-since, --shallow-exclude) fail with E205. Use git clone --filter=blob:none for a smaller checkout (it saves disk, not download: see the next point).
  • A partial clone does not download less than a full one. A stored pack holds whole pushes, not single objects, so git clone --filter=blob:none reads every pack and keeps the commits and trees. The blobs git then fetches on demand (a checkout, git log -p, git blame) come only from the packs that hold them: the clone records which blobs each pack it read holds (.git/dash/catalog/). Every pack is still read again by a git fetch or git pull into a partial clone (a full clone reads only the new ones), by an on-demand fetch of a tree or commit (--filter=tree:0), and by one of a blob in a pack pushed since the clone last read every pack.
  • Atomic pushes (git push --atomic): each branch and tag is its own write.
  • Git LFS objects. A repository can hold LFS pointer files, but the large files are not stored: keep large binaries out of git, or attach them to releases.
  • A git older than 2.44 cannot clone histories with malformed author lines (E511).
  • Forks and webhooks of private repositories (E207).

What Forge leaves out by design or for later is in the FAQ.

This page is docs/limits.md from the Dash Forge repository, as of this build. View or edit it on GitHub