Skip to content

scripts(feat[erlang]) Read application manifests - #284

Closed
tony wants to merge 1 commit into
erlang-source-usagefrom
erlang-app-manifests
Closed

tony wants to merge 1 commit into
erlang-source-usagefrom
erlang-app-manifests

Conversation

@tony

@tony tony commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Read Erlang application identities and versions from root and umbrella .app.src files. This lets package inventory distinguish source applications from generated build copies and artwork directories.

The reader uses OTP 29's scanner and constant-term parser without evaluating application source. Each application name must match its filename, with exactly one nonempty flat Unicode version string. The native child's serialized input and captured output are limited to 1 MiB, with a five-second deadline; these limits do not bound Git reads or Node allocations before serialization.

This is a prerequisite for Erlang site registration. It does not register the port or qualify a package or deployment. Stacked on #280, the native command-usage reader; the earlier extraction and signature work remains in #279. MCP remains excluded from the Erlang port.

Test plan

  • Native application fixtures: PASS, 2.646 seconds
  • Focused script lint: PASS, 0.132 seconds
  • Independent caller and systems reviews accept the exact three-file correction
  • Exact-head hosted checks
  • Shared medium and outer loop budgets

Fixtures cover source layouts, artwork/build exclusion, duplicate or mismatched metadata, nested character data, and executable expressions. The expression fixture would produce a valid version if evaluated, so rejection distinguishes constant-term parsing from evaluation followed by metadata validation. The initial empty-version failure and both review HOLDs remain preserved.

The existing whole-loop timing failures remain unwaived and tracked in #271. Registration, rendered site assembly and publisher wiring remain separate work.

why: Package inventory must describe native source applications while
excluding generated builds and artwork directories.

what:
- Parse constant application terms in a bounded OTP 29 child
- Require matching application names and flat nonempty Unicode versions
- Cover root and umbrella layouts, invalid terms and input limits
tony added a commit that referenced this pull request Nov 9, 2026
why: Erlang's stack continues past #280; its application manifest reader is part of the release.

what: Merge #284 at 1d66f52, keeping the Perl, OCaml, Haskell and Lisp readers beside Erlang's.
tony added a commit that referenced this pull request Nov 9, 2026
…ts (#291)

why: Six ports had docs branches ready but no published site, and
three shared fixes were waiting behind them. Releasing them together
gives one docs commit to trust for deployment and one set of caller
pins to move, instead of six separate waves.

what:
- Add OCaml (#264), Haskell (#265), Erlang (#266, #278, #279, #280,
  #284, #292), Common Lisp (#268), Perl (#274) and Clojure (#276):
  native API pages, tested guides, navigation, landing and switcher
  entries, and cross-reference data for each
- Keep browser checks from loading third-party resources, and pass
  the check origin to the three scripts that named an undefined base
  (#287)
- Render guide badges at build time instead of hotlinking shields
  (#288)
- Size the reference sidebar and member bars from the viewport, so
  the Chrome iOS keyboard no longer shrinks them (#290)
- Make the OCaml model producer verify its native build inputs in
  their checkout and reject stale ones, with controls run in CI
- Offer one switcher page per port, and title Perl's workspace guide
  "Workspace guide"
- Regenerate the registry, mention index and cross-reference counts
  for the combined port set

Base main 2593131, head dabe59b. Port heads: #264 7d4f88f
and 73fb1ad, #265 dc024e3, #268 947da1f, #274 818fa2e,
#276 a134503, #287 a437e97, #292 e7740d9.
@tony

tony commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

Shipped in #291 (8245169, 2026-11-09 07:38 CST), the combined release: this PR's head 1d66f5253 is an ancestor of main (cfa8a14), merged into the release branch by "Merge PR #284 into combined release" (fb65f86), although the description of #291 does not list it. The Erlang application-manifest reader is therefore on main; the exact-head hosted checks and shared loop budgets in the description stay tracked in #271. Closing, since nothing in this branch is missing from main.

@tony tony closed this Nov 12, 2026
@tony
tony temporarily deployed to docs-preview-cleanup November 12, 2026 01:53 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
docs-preview-cleanup — 1d66f525 Deployed Nov 12, 2026 by tony via cleanup #241
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.

1 participant