Skip to content

Commit

Permalink
feat: add provisioning & dna lineage calls to api (#94)
Browse files Browse the repository at this point in the history
* ci: update nix install

* udpate deps

* add new calls

* trigger ci

* update to fixed holonix

* ci: update action to latest nix

* build(nix): add go
  • Loading branch information
jost-s authored Jul 18, 2024
1 parent 05b99c9 commit 015b417
Show file tree
Hide file tree
Showing 13 changed files with 409 additions and 482 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/flake_update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
- uses: actions/checkout@v4

- name: Install nix
uses: cachix/install-nix-action@v25
uses: cachix/install-nix-action@v27
with:
install_url: https://releases.nixos.org/nix/nix-2.20.4/install
install_url: https://releases.nixos.org/nix/nix-2.23.3/install

- name: Flake update
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
remove-docker-images: "true"

- name: Install nix
uses: cachix/install-nix-action@v25
uses: cachix/install-nix-action@v27
with:
install_url: https://releases.nixos.org/nix/nix-2.20.4/install
install_url: https://releases.nixos.org/nix/nix-2.23.3/install

- name: Set up cachix
uses: cachix/cachix-action@v14
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## \[Unreleased\]

### Added
- New value `NotStartedAfterProvidingMemproofs` for type `DisabledAppReason` which effectively allows a new app status, corresponding to the specific state where a UI has just called AppRequest::ProvideMemproofs, but the app has not yet been enabled for the first time.
- New `AppWebsocket` call `EnableAfterMemproofsProvided`, which allows enabling an app only if the app is in the `AppStatus::Disabled(DisabledAppReason::NotStartedAfterProvidingMemproofs)` state. Attempting to enable the app from other states (other than Running) will fail.
- New field `lineage` to the DNA manifest, which declares forward compatibility for any hash in that list with this DNA.
- New `AdminWebsocket` call `GetCompatibleCells`, which returns `CellId` for all installed cells which use a DNA that is forward-compatible with a given DNA hash. This can be used to find a compatible cell for use with the UseExisting cell provisioning method.
### Changed
### Fixed
### Removed
Expand Down
Loading

0 comments on commit 015b417

Please sign in to comment.