feat(ci): env-aware bulletin benchmarks and timeline dashboard#136
Merged
Conversation
Adds a `--env` / `--network` selector that lets the CLI target multiple DotNS deployments, with per-environment RPC and contract addresses. Native token decimals and symbol are read from chain spec metadata instead of being hard-coded. * Adds `resolveDotnsEnvironment` and `getChainTokenInfo` * Threads env into auth options, lookup, info, and context * Adds per-env entries in `CONTRACTS` and shared constants * Mirrors the env mapping in the UI network store * Surfaces `--env` in deploy and bulletin GitHub Actions
Personhood status is no longer mutable from the CLI; the precompile is now the source of truth for reads. This PR removes the `dotns pop set` command, the `--status` flag on `dotns register`, and the helper plumbing that supported them. `getUserProofOfPersonhoodStatus` now calls the personhood precompile via the env-aware constants added in the previous PR, and `finalizeRegularRegistration` threads native token decimals through. Depends on the multi-environment PR.
The `StoreFactory` on the latest deployment splits storage into a protocol-managed `LabelStore` (deployed automatically by the registrar) and a user-claimed `UserStore`. The CLI previously called the removed `getDeployedStore` selector and tried to authorise the store as a registrar writer, both of which now revert. This PR refreshes `StoreFactory.json`, removes the obsolete `displayDeployedStore` / `ensureStoreAuthorizations` helpers, and adds `claimUserStoreIfNeeded` which reads `getUserStore` and claims it for the signer if none exists. The two-step "Displaying store" + "Ensuring store authorizations" stage in the register flow collapses into a single "Claiming user store" step. Depends on the previous two PRs (multi-env + setPop removal).
Reads the renamed `transactions` / `bytes` fields from `AuthorizationExtent` (replacing the `_allowance` aliases that no longer exist on the new chain types), updates the CLI README to reflect the env-aware command surface, and tidies the UI doc pages, modal, and IPFS helper. Depends on the previous three PRs.
* Adds an `env` workflow input to `deploy-sized-benchmark-entry.yml` (default `paseo-v2`), forwarded to `deploy.yml` so sized benchmark runs target the active DotNS environment. * Sets `register-base: true` on the on-demand UI deploy and the per-PR UI benchmark deploy so the base domain is registered if it is not already owned. * Adds a per-size duration timeline to the bulletin benchmark dashboard using ECharts, with a Flatpickr custom-range picker alongside the existing 7d / 30d / All presets. Depends on the docs / bulletin cleanup PR.
CI Summary
Labelspkg: cli, scope: bulletin, type: docs, type: test, dependencies, pkg: ui, scope: benchmark |
b2113d2 to
8b4cdde
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
envworkflow input todeploy-sized-benchmark-entry.yml(defaultpaseo-v2), forwarded todeploy.ymlso sized benchmark runs target the active DotNS environment.register-base: trueon the on-demand UI deploy and the per-PR UI benchmark deploy so the base domain is registered if it is not already owned.Test plan
register-base: trueforbulletin-benchmarks.doton Paseo V2.Order
Fifth in the stack. Base is
spha/cli-misc-cleanup(#135).