feat: split data per release channel (alpha/beta/stable)

This commit is contained in:
lvwmwm 2026-09-18 14:30:03 -03:00
parent 6d7584455e
commit 0352c78c5e
18313 changed files with 9 additions and 5 deletions

View file

@ -1,9 +1,10 @@
# decord — data branch
Auto-generated by `main`'s `update (hourly)` workflow (`src/update/tasks/decompile.ts` + `code.ts`). Do not edit manually.
## Contents
## Layout
Data is split per Discord release channel: `alpha/`, `beta/`, `stable/`. Each channel has the same contents:
- `code.js.gz` — full decompiled bundle (`hermes-decomp decompile`)
- `index.android.bundle` / `.hdcache`
@ -12,10 +13,11 @@ Auto-generated by `main`'s `update (hourly)` workflow (`src/update/tasks/decompi
- `source/` — `16492` modules (`hermes-decomp extract` + path mapping)
- `version.txt`
`version.txt` is written only after a successful decompile. A placeholder `0` signals "never decompiled" (forces the first run).
## `source/` layout
`10030` Discord-owned modules have a real path (`fileFinishedImporting`) and are placed at their source path:
`modules/` (7291), `discord_common/` (501), `discord_assets/`, `utils/`, `actions/`, etc.
`10030` Discord-owned modules have a real path (`fileFinishedImporting`) and are placed at their source path: `modules/` (7291), `discord_common/` (501), `discord_assets/`, `utils/`, `actions/`, etc.
`6468` modules have no path in the bundle and are sharded semantically to avoid GitHub's 1000-file dir limit (`NNxxx = id//1000`):
@ -33,4 +35,4 @@ Each `NNxxx` bucket is `<1000` (max `961` in `02xxx` polyfill).
## Links
- Main: https://github.com/lvwmwm/decord
- Workflow: `.github/workflows/update.yml` (`workflow_dispatch force=true` to re-shard)
- Workflow: `.github/workflows/update.yml` (`workflow_dispatch force=true` to re-shard)

Some files were not shown because too many files have changed in this diff Show more