Skip to content

fix: digest tooling + mergeable - #4

Merged
eordano merged 4 commits into
decentraland:mainfrom
eordano:fix/deps-digest-tooling-mergeable
Jul 16, 2026
Merged

fix: digest tooling + mergeable#4
eordano merged 4 commits into
decentraland:mainfrom
eordano:fix/deps-digest-tooling-mergeable

Conversation

@eordano

@eordano eordano commented Jul 16, 2026

Copy link
Copy Markdown
Member

No description provided.

dalkia and others added 4 commits July 15, 2026 09:25
…, probe

Scene glb/gltf bundles now carry the upstream converter's deps digest in
their canonical name ({hash}_{depsdigest}_{platform}) in both the live/JIT
server and abgen-corpus, matching the asset-reuse flow the ab-cdn
deployment has run since v49. On by default; ABGEN_ASSET_REUSE=0 opts out
for parity runs against pre-v49 reference trees.

- naming: filter deps digests to GLB_DEP_EXTENSIONS (.bin + textures),
  mirroring upstream computeDepsDigest — fixes digest divergence for glbs
  referencing non-texture uris (also corrects the wearables path);
  add split_bundle_stem for parsing canonical names
- live: per-entity deps-digest map (magenta-tolerant when enabled),
  canonical naming + digest validation in the JIT build path, shared
  {version}/assets/ space layout with entity-scoped read fallback,
  pre-build HEAD probe that lists space hits in the manifest without
  rebuilding
- space: signed HEAD support for the probe
- abcdn: flat lane strips the digest for owner-entity resolution
- corpus: canonical naming in derive_one_entity behind
  EffectiveToggles.asset_reuse; strict mode skips digest-less glbs
  (upstream skipped-assets semantics)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
… controls

Local-workflow ergonomics on top of the asset-reuse parity change:

- --pointer <x,y | urn | entityId>: single-target convenience mode —
  resolves the pointer via the content server (CatalystClient::
  resolve_scene already handled all three forms), then runs the same
  fused derive+build path as --entity-ids without needing an ids file.
  With --cdn-layout it also copies manifests to the production CDN
  naming (<out>/manifest/<entity>_<platform>.json). from_entity_ids
  folded into the shared ids-vector path (now dead) and removed.
- fetch heartbeat (worlds.rs): scenes with 1000+ content files sat
  silent for minutes during --fetch-missing/--world; now prints
  progress at most every 2s while downloads are actually happening.
- build heartbeat (corpus build.rs): the per-entity progress line only
  fires every 5000 entities, so a single big scene (hundreds of
  bundles) looked hung; now prints completed-bundle counts every 2s.
- naming controls renamed to say what they do: corpus flag
  --no-deps-digest (legacy {hash}_{platform} glb names, for consumers
  that request bundles by bare content hash) and env
  ABGEN_DEPS_DIGEST=0 (was ABGEN_ASSET_REUSE; also disables the shared
  assets/ space layout + pre-build probe on the server).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
# Conflicts:
#	README.md
#	crate/src/abcdn/mod.rs
#	crate/src/bin/abgen-corpus/main.rs
#	crate/src/bin/abgen-corpus/sources.rs
#	crate/src/live.rs
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@eordano
eordano merged commit e15afa7 into decentraland:main Jul 16, 2026
2 checks passed
@eordano
eordano deleted the fix/deps-digest-tooling-mergeable branch July 16, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants