Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always include all local agents when doing an rpc multi call -- simple version #2425

Merged
merged 4 commits into from
May 26, 2023

Conversation

maackle
Copy link
Member

@maackle maackle commented May 24, 2023

Summary

There was a bug where authored data could not be retrieved locally if your storage arc didn't cover it. This fixes that.

Closes #2422

TODO:

  • CHANGELOG(s) updated with appropriate info
  • Just before pressing the merge button, ensure new entries to CHANGELOG(s) are still under the UNRELEASED heading

@Connoropolous
Copy link
Contributor

@maackle maackle changed the title Zero arcs cannot get their own links Always include all local agents when doing an rpc multi call -- simple version May 26, 2023
@maackle maackle enabled auto-merge (squash) May 26, 2023 20:44
@maackle maackle merged commit 7d2607c into develop May 26, 2023
15 checks passed
@maackle maackle deleted the fix/zero-arc-get-links branch May 26, 2023 21:29
ThetaSinner added a commit that referenced this pull request Jul 18, 2023
* chore(workflows/release-prepare): allow 0.3.0-beta-dev.N version bumps (#2298)

* chore(workflows/release-prepare): allow 0.Y.0-beta-dev.N version bumps

* fixup! chore(workflows/release-prepare): allow 0.Y.0-beta-dev.N version bumps

* update source 'rust-overlay' on branch 'develop' (#2300)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2294)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* [DOCS][TINY]  update comment for hc_sandbox cli opts (#2305)

* update comment for running hc sandbox cli

* add item to changelog

* docs(conductor-api-hdk): add links (#2033)

* add links to conductor api docs

* add links to hdk docs

* easier intro into hdk

* add changes to log

* fmt

* Update crates/hdk/src/lib.rs

Co-authored-by: Paul d'Aoust <paul.daoust@holo.host>

* Update crates/holochain_conductor_api/src/lib.rs

Co-authored-by: Paul d'Aoust <paul.daoust@holo.host>

* Update crates/hdk/src/lib.rs

Co-authored-by: Paul d'Aoust <paul.daoust@holo.host>

* Update crates/hdk/src/lib.rs

Co-authored-by: Paul d'Aoust <paul.daoust@holo.host>

* few more updates

* small addition to internal callbacks

* Apply suggestions from code review

Co-authored-by: Paul d'Aoust <paul.daoust@holo.host>

---------

Co-authored-by: Paul d'Aoust <paul.daoust@holo.host>

* Make holochain build without test utils and sweetest easier to consume (#2281)

* Make holochain build without test utils

* Use the sweetest feature flag for testing

* Don't enable unnecessary features

* Update changelog

* Fix formatting

* Default features cannot be excluded

* Diagnostics depends on holochain test utils

* Add a developer setup guide to the contributing guide (#2301)

* Add a developer setup guide to the contributing guide

* Make the use of CLI tools clearer

* update source 'rust-overlay' on branch 'develop' (#2313)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* docs(crate-level): generate readmes from doc comments

* create a release from branch release-20230503.003735

the following crates are part of this release:

- hdk-0.3.0-beta-dev.0
- holochain_cascade-0.3.0-beta-dev.0
- holochain_conductor_api-0.3.0-beta-dev.0
- holochain_test_wasm_common-0.3.0-beta-dev.0
- holochain-0.3.0-beta-dev.0
- holochain_cli_sandbox-0.3.0-beta-dev.0
- holochain_cli-0.3.0-beta-dev.0

* update source 'rust-overlay' on branch 'develop' (#2316)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Fix flaky test `remote_signals` (#2310)

* Fix flaky test `remote_signals`

* Fix formatting

* update source 'rust-overlay' on branch 'develop' (#2323)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2314)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* bump tx5 to fix network loop halting (#2315)

* bump tx5 to fix network loop halting

* changelog

* new signal server url

* fix test

* fmt

* update source 'rust-overlay' on branch 'develop' (#2324)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2325)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Less flaky sandbox tests (#2320)

* Make hc sandbox tests less flaky

* Remove use of port picker

* Read io streams instead of processes

* update source 'rust-overlay' on branch 'develop' (#2328)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2327)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2331)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2333)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2335)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Ignore two flaky tests (#2334)

* Ignore two flaky tests

* Ignore sandbox tests, TODO @ThetaSinner have a look

* Try ignoring tests only for macos

* update source 'rust-overlay' on branch 'develop' (#2338)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* feat(nix): support and recommend custom override mechanism for versions (#2330)

**not** using a distinct input for the versions flake has been observed
to be ineffective at locking the component versions via the versions flake.
therefore it is highly recommended to end-users to refactor their
flake.nix files to use a distinct input for the versions flake as shown
in the examples.

* update source 'versions/0_1' on branch 'develop' (#2340)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Prevent zome calls when the network is not initialised (#2280)

* Try to reproduce clone network errors

* Remove unused code

* Disable and enable clones

* Fix call to uninitialised cell network and slim down testing

* Fix arq quantization rounding error (#2332)

* ArqBoundsSet -> ArqSet

* Ignore two flaky tests

* Remove experimental `gossip-single_storage_arc_per_space` tuning param

* ArqBoundsSet -> ArqSet

* Failing test of arc quantization roundtrip

* Use exact arc conversion for arqsets (failing tests still in)

* Ignore irrelevant tests

* Changelog

* Ignore sandbox tests, TODO @ThetaSinner have a look

* Ignore sandbox tests, TODO @ThetaSinner have a look

* Try ignoring tests only for macos

* Ignore another flake on macos

* Ignore two more tests on macos

* Apply suggestions from code review

Co-authored-by: David Braden <neonphog@gmail.com>

---------

Co-authored-by: David Braden <neonphog@gmail.com>

* update source 'rust-overlay' on branch 'develop' (#2345)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* feat(github/build-and-test): pass github access-token to nix (#2347)

* Error earlier when databases do not become consistent (#2341)

* update source 'rust-overlay' on branch 'develop' (#2348)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'versions/0_1' on branch 'develop' (#2349)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* harden lib loading against race conditions (#2337)

* harden lib loading against race conditions

* bump tx5 version

* 'text file busy' fix

* update source 'rust-overlay' on branch 'develop' (#2355)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* feat(versions,nix): add 0_2 and necessary nix changes (#2210)

* feat(update-dispatch): make the version directory an argument

add 0_2 flake

adjust update script

fix(nix/scaffolding): add holochain's inputs

add custom go wrapper

add apple specific workarounds to go and rust builds

fix(github/build-and-test): configure access-tokens for github in nix

tolerate missing rev for inputs

feat(github/build-and-test): pass github access-token to nix

nix/scripts/repo-flake-update: consistently use environment's git

flake: use an empty repo instead of /dev/null

  `file:///dev/null` is not compatible with fetchTree and therefore
flake-compat which is not desirable.

* Support multiple action or entry types in query filters (#2302)

* Support multiple action or entry types in query filters

* Update the SQL query to supports filtering on multiple entries and actions

* Fix formatting

* Update changelog

* Update crates/holochain_state/src/source_chain.rs

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* Update crates/holochain_state/src/source_chain.rs

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* Code review changes

* bind counts which are computed twice

---------

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* fix(scripts): typo in scripts-repo-flake-update (#2356)

* feat(nix): add shell with holochain binaries only (#2342)

* feat(nix): add shell with holochain binaries only

* docs: update changelog

* Update nix/modules/devShells.nix

Co-authored-by: Stefan Junker <1181362+steveeJ@users.noreply.github.com>

* retrigger gh workflows

---------

Co-authored-by: Stefan Junker <1181362+steveeJ@users.noreply.github.com>

* `hc signal-srv` is now `hc run-local-services` (#2353)

* `hc signal-srv` is now `hc run-local-services`

* changelog

* don't drop bootstrap shutdown handle

* `hc` CLI documentation fixes and updates (#2100)

* update documentation for `hc` and subcommands

Fixed inconsistencies/outdated information, punctuation.
Added more information to explain certain commands and arguments.

* READMEs
* Code comments incl Rustdoc
* Outputted help text
* Error messages

* update CHANGELOGs

* further edits to help text on hc bundle  flag

* fix small spelling mistake

* update source 'rust-overlay' on branch 'develop' (#2103)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* fixes for the release workflow (#2095)

* fix(github/release): changed variables

* fix(github/release): string substitution for gh cmd

* chore: re-enable the weekly release schedule (#2104)

* refactor(zome-call): optimize cap grant verification (#2097)

* refactor(zome-call): cap grant verification

* refactor: simplify cap grant validation flow

* update changelog

* simplify assigned cap access arm

* add PR reference to changelog

* add comment to test

* Apply suggestions from code review

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* refactor: use high level db query fn

* replace hardcoded cap access variant by method

---------

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* further punctuation/spacing/formatting edits to hc

* 2023 03 17 switch to clap (#2125)

* upgrade from structopt to clap 3.0

* update from structopt 0.3 to clap 3.0

* resolve deprecated warnings for clap 3 upgrade

* hc binary: upgrade to clap 4.0

* update changelog for hc scaffold

* updated a couple more changelogs

* fix error with hc s call

* hc cli: move runner impl to subcommand enum

* update source 'nixpkgs' on branch 'develop' (#2158)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2159)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* fix(release-automation): consider dependency state of all matched crates (#2160)

fix(release-automation): consider dependency state of all matched crates (#2149)

* fix(release-automation): consider dependency state of all matched crates

the change filter could lead to dependency changes not
including the changed dependency in the release, if the selected crate
itself didn't have any changed.

the blocked filter was removed because it adds unnecessary obfuscation.

* chore(release-automation): remove duplicate test

* test(relase-automation): cover the fixed case

* chore: add FIXME comment for a bug in the dependencies_in_workspace_filter function

* test(release-automation): extend dependency bump test to cover the transitive case

* refactor(release-automation/crate_selection): clarify transitive change detection

* update source 'nixpkgs' on branch 'develop' (#2161)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Improve HoloHash::from_raw_32 and use it (#2162)

* Update from_raw_32 to only allow 32

* Use 32 byte hash for a test where it matters

* Fix fixturator

* Fix one more test

* hc: code reorganisation, make clap types more consistent

* update source 'rust-overlay' on branch 'develop' (#2163)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2164)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2165)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* fix(github/release*): merge release into target branch before pushing (#2151)

* update source 'nixpkgs' on branch 'develop' (#2169)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* hc: re-add support for --version

* hc: fix hc sandbox list

* revert some overly eager search/replace

* bump deps

* clean up whitespace in hc codebase

* fix fmt and clippy issues in hc

---------

Co-authored-by: Holochain Release Automation <100725712+holochain-release-automation2@users.noreply.github.com>
Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>
Co-authored-by: Stefan Junker <1181362+steveeJ@users.noreply.github.com>
Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* fix wonky merge on Cargo.lock and one source file

* update hc signal-src and hc dna bundle --dylib ios to clap 4

* improve top-level hc README

* final polish on hc help text/readme improvements

* update changelogs for hc doc changes

* fix some uncaught merge problems

---------

Co-authored-by: Holochain Release Automation <100725712+holochain-release-automation2@users.noreply.github.com>
Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>
Co-authored-by: Stefan Junker <1181362+steveeJ@users.noreply.github.com>
Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>
Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* update source 'rust-overlay' on branch 'develop' (#2358)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* fix(nix/launcher): reintroduce glib buildInput (#2360)

it's required for glib-networking

* Fix merge issues left over from #2100 (#2363)

* remove value_delimiter on signal_interfaces; not parsed as comma-separated list

* cleanup from merging #2100

* update source 'rust-overlay' on branch 'develop' (#2364)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2365)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2368)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2367)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* bump holochain 0_2 version (#2371)

* chore: bump holochain in 0_2 flake

* fix(nix/scripts): use '==' for string comparison

* fix(nix/scripts): typo in comparison

chore(flakes): update ./versions/0_2

* update source 'rust-overlay' on branch 'develop' (#2373)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2374)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2376)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2375)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'versions/0_2' on branch 'develop' (#2378)

chore(flakes): update ./versions/0_2

Co-authored-by: Holochain Release Automation <hrabot@holochain.org>

* Disable network_stats test on macos (#2377)

* update source 'nixpkgs' on branch 'develop' (#2381)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2382)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2383)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Clamp all arcs to Empty or Full (#2352)

* WIP kitsune StorageConfig

* New config for clamping arc size, and failing test of overall system

* Draw empty arc as ascii

* Better failing test

* Filter out zero arcs so that other arcs can pick up the slack

* Use real ArqStrat

* Ignore another test

* Update crates/kitsune_p2p/types/src/config.rs

Co-authored-by: David Braden <neonphog@gmail.com>

* Remove unused config

* Changelog

* Clippy

* Clippy again

---------

Co-authored-by: David Braden <neonphog@gmail.com>

* update source 'rust-overlay' on branch 'develop' (#2385)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Move consistency_* functions into sweettest module (#2307)

* update source 'nixpkgs' on branch 'develop' (#2387)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2388)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2389)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2391)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2392)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2393)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2394)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2416)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2417)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Correct fn name (#2395)

* WIP cap grant corruption

* Try to understand zome index issue

* Correct cap fn name

* Remove base changes

* create a release from branch release-20230524.003830

the following crates are part of this release:

- kitsune_p2p_dht_arc-0.3.0-beta-dev.0
- holo_hash-0.3.0-beta-dev.0
- holochain_integrity_types-0.3.0-beta-dev.0
- hdk_derive-0.3.0-beta-dev.0
- hdi-0.4.0-beta-dev.0
- kitsune_p2p_bin_data-0.3.0-beta-dev.0
- kitsune_p2p_block-0.3.0-beta-dev.0
- kitsune_p2p_dht-0.3.0-beta-dev.0
- holochain_zome_types-0.3.0-beta-dev.0
- hdk-0.3.0-beta-dev.1
- kitsune_p2p_types-0.3.0-beta-dev.0
- holochain_keystore-0.3.0-beta-dev.0
- kitsune_p2p_fetch-0.3.0-beta-dev.0
- kitsune_p2p_transport_quic-0.3.0-beta-dev.0
- kitsune_p2p_proxy-0.3.0-beta-dev.0
- kitsune_p2p-0.3.0-beta-dev.0
- holochain_sqlite-0.3.0-beta-dev.0
- holochain_types-0.3.0-beta-dev.0
- kitsune_p2p_bootstrap-0.2.0-beta-dev.0
- holochain_p2p-0.3.0-beta-dev.0
- holochain_state-0.3.0-beta-dev.0
- holochain_cascade-0.3.0-beta-dev.1
- holochain_wasm_test_utils-0.3.0-beta-dev.0
- holochain_conductor_api-0.3.0-beta-dev.1
- holochain_test_wasm_common-0.3.0-beta-dev.1
- holochain-0.3.0-beta-dev.1
- holochain_cli_bundle-0.3.0-beta-dev.0
- holochain_cli_run_local_services-0.3.0-beta-dev.0
- holochain_cli_sandbox-0.3.0-beta-dev.1
- holochain_cli-0.3.0-beta-dev.1

* update source 'rust-overlay' on branch 'develop' (#2420)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Fix misleading error when holochain fails to launch (#2411)

* update source 'nixpkgs' on branch 'develop' (#2424)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* tx5 ios tls fix (#2415)

* update source 'nixpkgs' on branch 'develop' (#2429)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2428)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Wait for gossip to start after starting a new conductor (#2361)

* Wait for gossip to start after starting a new conductor

* Try fixing more tests

* Try fixing more tests

* Wait for gossip in test_publish

* Try adding tuning parameters for gossip

* Remove tuning params, too broad

* Verify test directories are unique

* Require minimum number of peers when checking gossip activity

* Fix reference to old default constant

* Be less aggressive about timing out gossip

* Don't wait for gossip in a test that doesn't gossip :)

* Remove unnecessary peer info exchanges

* Join existing network instead of starting new when adding a conductor

* Clippy fix

* Network stats to use local conductors

* Use local config for test_publish

* Timeout if no gossip

* Prevent bootstrap check time increasing

* View error output from holochain

* remove debug code

* Don't use rendezvous by default

* Require minimum number of peers when checking gossip activity

* Update new tests after rebase

* Format

* Format all

* Move two tests back to rendezvous because they fail with standard config

* update source 'rust-overlay' on branch 'develop' (#2431)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Always include all local agents when doing an rpc multi call -- simple version (#2425)

* Add failing test

* Don't filter local agents by arc for rpc multi

* Changelog

* Consistency improvements (#2423)

* Use same query as publish workflow in consistency fn

* Remove some usages of wait_for_integration, and pave the way for diffs

* Add diff dep

* Print diff on consistency failure

* Better diff

* Clippy

* Clippy

* Re-adding somehow removed items?

* Better warning

* Rewrite problematic publish query

* update source 'rust-overlay' on branch 'develop' (#2434)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2435)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2437)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2439)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Enable and fix sandbox tests (#2339)

* enable sandbox tests with debug logging

* Avoid dropping stdout

* Clean up logging output

* Clean up shutdown

* update source 'nixpkgs' on branch 'develop' (#2440)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Count links (#2430)

* WIP count links

* Format

* add count links tests to the cascade crate

* Add filtering tests

* Add filtering tests

* Add missing docs

* Fix reference to missing field

* Add sweet test and fixes

* Add more tests and fix a bug

* Fix compile issues in holochain_state tests

* Reformat

* Code review changes

* Add comments to count_links cascade tests

* Improve test

* Fix clippy error

* Fix clippy error

* Update crates/holochain_cascade/tests/count_links.rs

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* Add slow tests back

* Add changelog entry

---------

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* Fix diagnostic tests

* Standardize debug hex (#2384)

* WIP kitsune StorageConfig

* New config for clamping arc size, and failing test of overall system

* Draw empty arc as ascii

* Better failing test

* Filter out zero arcs so that other arcs can pick up the slack

* Use real ArqStrat

* Ignore another test

* Update crates/kitsune_p2p/types/src/config.rs

Co-authored-by: David Braden <neonphog@gmail.com>

* Remove unused config

* Changelog

* Clippy

* Clippy again

* Improve one unrelated test

* Disable gossip for zero arc, with test that doesn't quite work

* A 2way test that makes sense

* Good comprehensive 4way test of arc clamping

* Remove debugs

* Clippy

* Changelog

* cargo fmt!

* More uniform use of hex for Debug bytes

* Disable gossip for zero arc (#2380)

* Disable gossip for zero arc, with test that doesn't quite work

* A 2way test that makes sense

* Good comprehensive 4way test of arc clamping

* Remove debugs

* Clippy

* Changelog

* cargo fmt!

* Remove the cruft

* Use function to denote places where local agent info is added

* Fix test

* Fix bad hex display impl

* Oops

---------

Co-authored-by: David Braden <neonphog@gmail.com>

* update source 'rust-overlay' on branch 'develop' (#2441)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2442)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Fix warning

* Clippy

* fix misleading/wrong log (#2436)

gives false impressions when trying to debug networking

* create a release from branch release-20230531.004233

the following crates are part of this release:

- holo_hash-0.3.0-beta-dev.1
- holochain_integrity_types-0.3.0-beta-dev.1
- hdk_derive-0.3.0-beta-dev.1
- hdi-0.4.0-beta-dev.1
- kitsune_p2p_bin_data-0.3.0-beta-dev.1
- kitsune_p2p_block-0.3.0-beta-dev.1
- holochain_zome_types-0.3.0-beta-dev.1
- hdk-0.3.0-beta-dev.2
- kitsune_p2p_types-0.3.0-beta-dev.1
- holochain_keystore-0.3.0-beta-dev.1
- kitsune_p2p_fetch-0.3.0-beta-dev.1
- kitsune_p2p_transport_quic-0.3.0-beta-dev.1
- kitsune_p2p_proxy-0.3.0-beta-dev.1
- kitsune_p2p-0.3.0-beta-dev.1
- holochain_sqlite-0.3.0-beta-dev.1
- holochain_types-0.3.0-beta-dev.1
- kitsune_p2p_bootstrap-0.2.0-beta-dev.1
- holochain_p2p-0.3.0-beta-dev.1
- holochain_state-0.3.0-beta-dev.1
- holochain_cascade-0.3.0-beta-dev.2
- holochain_wasm_test_utils-0.3.0-beta-dev.1
- holochain_conductor_api-0.3.0-beta-dev.2
- holochain_test_wasm_common-0.3.0-beta-dev.2
- holochain-0.3.0-beta-dev.2
- holochain_cli_bundle-0.3.0-beta-dev.1
- holochain_cli_run_local_services-0.3.0-beta-dev.1
- holochain_cli_sandbox-0.3.0-beta-dev.2
- holochain_cli-0.3.0-beta-dev.2

* update source 'rust-overlay' on branch 'develop' (#2447)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2448)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Add structured option to hc_sandbox (#2446)

* Add structured option to hc_sandbox

* Format

* update source 'nixpkgs' on branch 'develop' (#2449)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2451)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2453)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* bump tx5 to fix timeouts and disconnects (#2455)

* update source 'rust-overlay' on branch 'develop' (#2456)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2457)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2458)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2459)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2460)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2463)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* create a release from branch release-20230607.004739

the following crates are part of this release:

- holochain_trace-0.3.0-beta-dev.0
- kitsune_p2p_dht_arc-0.3.0-beta-dev.1
- holo_hash-0.3.0-beta-dev.2
- holochain_integrity_types-0.3.0-beta-dev.2
- hdk_derive-0.3.0-beta-dev.2
- hdi-0.4.0-beta-dev.2
- kitsune_p2p_bin_data-0.3.0-beta-dev.2
- kitsune_p2p_block-0.3.0-beta-dev.2
- kitsune_p2p_dht-0.3.0-beta-dev.1
- holochain_zome_types-0.3.0-beta-dev.2
- hdk-0.3.0-beta-dev.3
- kitsune_p2p_types-0.3.0-beta-dev.2
- holochain_keystore-0.3.0-beta-dev.2
- kitsune_p2p_fetch-0.3.0-beta-dev.2
- kitsune_p2p_transport_quic-0.3.0-beta-dev.2
- kitsune_p2p_proxy-0.3.0-beta-dev.2
- kitsune_p2p-0.3.0-beta-dev.2
- holochain_sqlite-0.3.0-beta-dev.2
- holochain_types-0.3.0-beta-dev.2
- kitsune_p2p_bootstrap-0.2.0-beta-dev.2
- holochain_p2p-0.3.0-beta-dev.2
- holochain_state-0.3.0-beta-dev.2
- holochain_cascade-0.3.0-beta-dev.3
- holochain_wasm_test_utils-0.3.0-beta-dev.2
- holochain_conductor_api-0.3.0-beta-dev.3
- holochain_test_wasm_common-0.3.0-beta-dev.3
- holochain_websocket-0.3.0-beta-dev.0
- holochain-0.3.0-beta-dev.3
- holochain_cli_bundle-0.3.0-beta-dev.2
- holochain_cli_run_local_services-0.3.0-beta-dev.2
- holochain_cli_sandbox-0.3.0-beta-dev.3
- holochain_cli-0.3.0-beta-dev.3

* update source 'rust-overlay' on branch 'develop' (#2465)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2472)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2473)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2479)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Fix connection limiting in the admin websocket (#2461)

* Fix connection limiting in the admin websocket

* Formatting

* update source 'rust-overlay' on branch 'develop' (#2483)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2485)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Update 0_1 to 0.1.5 (#2482)

* Flamegraph in memory (#2450)

* WIP Run flame in memory

* reduce memory usage

* Clean up testing

* Format

* Clippy fix

* Keep previous code

* Format

* update source 'rust-overlay' on branch 'develop' (#2487)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2488)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'versions/0_1' on branch 'develop' (#2489)

chore(flakes): update ./versions/0_1

Co-authored-by: Holochain Release Automation <hrabot@holochain.org>

* update source 'nixpkgs' on branch 'develop' (#2490)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2491)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2492)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2494)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'versions/0_1' on branch 'develop' (#2495)

chore(flakes): update ./versions/0_1

Co-authored-by: Holochain Release Automation <hrabot@holochain.org>

* update source 'rust-overlay' on branch 'develop' (#2496)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* create a release from branch release-20230614.004108

the following crates are part of this release:

- holochain_trace-0.3.0-beta-dev.1
- kitsune_p2p_dht_arc-0.3.0-beta-dev.2
- holo_hash-0.3.0-beta-dev.3
- holochain_integrity_types-0.3.0-beta-dev.3
- hdk_derive-0.3.0-beta-dev.3
- hdi-0.4.0-beta-dev.3
- kitsune_p2p_bin_data-0.3.0-beta-dev.3
- kitsune_p2p_block-0.3.0-beta-dev.3
- kitsune_p2p_dht-0.3.0-beta-dev.2
- holochain_zome_types-0.3.0-beta-dev.3
- hdk-0.3.0-beta-dev.4
- kitsune_p2p_types-0.3.0-beta-dev.3
- holochain_keystore-0.3.0-beta-dev.3
- kitsune_p2p_fetch-0.3.0-beta-dev.3
- kitsune_p2p_transport_quic-0.3.0-beta-dev.3
- kitsune_p2p_proxy-0.3.0-beta-dev.3
- kitsune_p2p-0.3.0-beta-dev.3
- holochain_sqlite-0.3.0-beta-dev.3
- holochain_types-0.3.0-beta-dev.3
- kitsune_p2p_bootstrap-0.2.0-beta-dev.3
- holochain_p2p-0.3.0-beta-dev.3
- holochain_state-0.3.0-beta-dev.3
- holochain_cascade-0.3.0-beta-dev.4
- holochain_wasm_test_utils-0.3.0-beta-dev.3
- holochain_conductor_api-0.3.0-beta-dev.4
- holochain_test_wasm_common-0.3.0-beta-dev.4
- holochain_websocket-0.3.0-beta-dev.1
- holochain-0.3.0-beta-dev.4
- holochain_cli_bundle-0.3.0-beta-dev.3
- holochain_cli_run_local_services-0.3.0-beta-dev.3
- holochain_cli_sandbox-0.3.0-beta-dev.4
- holochain_cli-0.3.0-beta-dev.4

* update source 'rust-overlay' on branch 'develop' (#2499)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* wip on dna info 2 (#2366)

* wip on dna info 2

* wip on callback versioning

* wip on v2 self check

* v2 of genesis self check

* map genesis self check in map extern

* wip on fixing tests

* fix tests

* docs for versoning

* test dna_info_1

* genesis_self_check_1 test

* legacy check

* test that dna info is callable in genesis self check

* agent key in genesis self check 2

* fix tests

* changelog

* update source 'nixpkgs' on branch 'develop' (#2500)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2501)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2504)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2505)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Allow use of loopback (#2507)

* Retry network join on startup (#2419)

* Retry network join on startup

* Log a warning when retrying spinup

* Use iterator directly

* Fix accounting in cell state test

* Format

* rebuild

* Try without 0.2

* revert

* add some debug output

* Print network join error

* Add cacerts

* Include common

* Clean up

* update source 'nixpkgs' on branch 'develop' (#2508)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2509)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2511)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2512)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Move entry def check to app validation and rewrite private entry check (#2059)

* Add CascadeSource to differentiate local and network data

* Expose Cascade param to validate_op

* Move entry def checking from sys to app validation and some cleanup

* Fix private entry op check

* Fix test by initializing cache earlier (this suggest a subtle problem)

* Update crates/holochain/src/core/workflow/sys_validation_workflow.rs

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* Fix warning

* Fix error

* Make Cascade trait to enable MockCascade (#2067)

* use Cascade trait for sys validation

* Use cascade trait for app validate_op

* Construct mock cascade with hardcoded records

* Basic test of mock cascade

* Update crates/holochain_cascade/src/lib.rs

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

---------

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* Clippy

* WIP debugging

* Working on test fix

* Use same query as publish workflow in consistency fn

* Remove some usages of wait_for_integration, and pave the way for diffs

* Add diff dep

* Print diff on consistency failure

* Better diff

* Fix public entry special case for agent entry

* Clippy

* Clippy

* Re-adding somehow removed items?

* Clippy

* Adjust request published ops query

* More thorough tests for sys validation (#2215)

* Add some notes about what to test next

* Use contrafact to build valid chain

* Add CascadeSource to differentiate local and network data

* WIP

* use Cascade trait for sys validation

* Use cascade trait for app validate_op

* Construct mock cascade with hardcoded records

* Basic test of mock cascade

* WIP, rewrite existing sys val tests to use full function

* Still working on generating valid data

* record_with_mock_cascade finally works

* WIP

* WIP

* update source 'rust-overlay' on branch 'develop' (#2184)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Fix bug with get dependants filtered caching its filter (#2155)

* Fix bug with get dependants filtered caching its filter

* minimize tests for 'Fix bug with get dependants filtered caching its filter' (#2177)

Co-authored-by: ThetaSinner <greatdjonfire@hotmail.co.uk>

* fixup: brings back a mistakenly removed test (#2178)

fixup! minimize tests for 'Fix bug with get dependants filtered caching its filter'

brings back a mistakenly removed test

* Trigger CI

---------

Co-authored-by: Stefan Junker <1181362+steveeJ@users.noreply.github.com>

* feat(github/workflows): run PR tests from within release.yml (#2175)

this lets use the 'github-actions-ci-jobs-succeed' to determine success
of PR tests.

* create a release from branch release-20230405.003224

the following crates are part of this release:

- holo_hash-0.2.0-beta-rc.2
- holochain_integrity_types-0.2.0-beta-rc.2
- hdk_derive-0.2.0-beta-rc.2
- hdi-0.3.0-beta-rc.2
- holochain_zome_types-0.2.0-beta-rc.2
- hdk-0.2.0-beta-rc.2
- kitsune_p2p-0.2.0-beta-rc.2
- holochain_sqlite-0.2.0-beta-rc.2
- holochain_keystore-0.2.0-beta-rc.2
- holochain_types-0.2.0-beta-rc.2
- holochain_p2p-0.2.0-beta-rc.2
- holochain_state-0.2.0-beta-rc.2
- holochain_cascade-0.2.0-beta-rc.2
- holochain_wasm_test_utils-0.2.0-beta-rc.2
- holochain_conductor_api-0.2.0-beta-rc.2
- holochain_test_wasm_common-0.2.0-beta-rc.2
- holochain-0.2.0-beta-rc.2
- holochain_cli_bundle-0.2.0-beta-rc.1
- holochain_cli_sandbox-0.2.0-beta-rc.1
- holochain_cli-0.2.0-beta-rc.2

* 2023 03 20 node id kitsune (#2113)

* wip on block

* host_fn compiling

* fmt

* sketch block

* hook up (un)block to conductor

* hookup block in conductor

* to sql for blockg

* wip on block span

* db queries for (un)block

* wip on is blocked

* block tests

* more block tests

* remove lossy timestamp in sql

* lint

* tests for block

* more block tests

* wip on block validity

* more tests for block

* test

* micros for column name in block

* lint

* migration for block

* docs

* Update crates/holochain_zome_types/src/block.rs

Co-authored-by: David Braden <neonphog@gmail.com>

* fix migration

* wip on kitsune types

* wip on kitsune block types

* move block span to new schema file

* lint

* fix block sql

* kitsune api

* full kitsune api access to blocks

* block rejected validation receipts 4eva

* enforce blocks on remote call

* fix build

* test for zome call blocking

* fix tests

* add node id to tx5 block

* node id on connect for tx2

* block more networking

* fix builds

* fmt

* move kitsune disconnect

* is authorized kitsune

* nodespace block

* lint

* lint

* test utils

* fix static checks

* debug

* db read for is blocked

---------

Co-authored-by: David Braden <neonphog@gmail.com>

* update source 'nixpkgs' on branch 'develop' (#2190)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2192)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* fix(github/workflows/release): increase chances of successful pushing of source branch (#2187)

this mitigates an issue that occurred in the [most recent release][0].

```
Run set -xeu
  set -xeu
  git push origin ${HOLOCHAIN_SOURCE_BRANCH}
  shell: /usr/bin/bash -e {0}
  env:
    HOLOCHAIN_REPO: /var/tmp/holochain_repo
    CACHIX_REV: v1.2
    HOLOCHAIN_SOURCE_BRANCH: develop
+ git push origin develop
To https://github.com/holochain/holochain
 ! [rejected]        develop -> develop (fetch first)
error: failed to push some refs to 'https://github.com/holochain/holochain'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Error: Process completed with exit code 1.
```

0: https://github.com/holochain/holochain/actions/runs/4613614540/jobs/8166379124#step:13:1

* Make manifests easier to use (#2138)

* Make manifest schemas easier to consume

* Format changed files

* Add back the readme in the right place

* Update hApp schema following version->installed_hash change

* Add app storage info request (#2147)

* Add storage info request

* Add a test for getting storage info for an app

* Add a test for getting storage info for all apps

* Describe storage info api in the changelog

* Support getting the size of the cache db too

* Rework storage info following the discussion on #1660

* Update changelogs

* Fix clippy warning

* Rename blobs to include DNA information

* Fix compile error from rebase

* Rewrite some more tests to use full Records

* Entry size validation, converted more tests

* Test of entry size validation

* Update check_update_reference_test

* Add ArbitraryExt trait and use it

* Update link tag size test

* Move check_entry_def to app validation workflow

* Fix warnings

* Fix errors

* Fix consistency error header

* WIP check_entry_visibility

* Use RecordEntry in DhtOp

* Clippy

* WIP of some kind

* Update for contrafact 0.1.0

* Fix action and entry match test

* Fix test

* Cargo update

* Cargo update other crates

* More fixes

* test_record_with_cascade consistently passes

* Clippy

* Bump contrafact

* Disable contrafact patch

* fmt

* Changelog

* Clippy

* More clippy

* update source 'rust-overlay' on branch 'develop' (#2483)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2485)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Update 0_1 to 0.1.5 (#2482)

* Flamegraph in memory (#2450)

* WIP Run flame in memory

* reduce memory usage

* Clean up testing

* Format

* Clippy fix

* Keep previous code

* Format

* update source 'rust-overlay' on branch 'develop' (#2487)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2488)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'versions/0_1' on branch 'develop' (#2489)

chore(flakes): update ./versions/0_1

Co-authored-by: Holochain Release Automation <hrabot@holochain.org>

* Use new contrafact with generators

* update source 'nixpkgs' on branch 'develop' (#2490)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2491)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Fix valid_chain_fact_test (TODO: integrate with non-contrafact test)

* update source 'rust-overlay' on branch 'develop' (#2492)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'nixpkgs' on branch 'develop' (#2494)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'versions/0_1' on branch 'develop' (#2495)

chore(flakes): update ./versions/0_1

Co-authored-by: Holochain Release Automation <hrabot@holochain.org>

* Remove local path

* update source 'rust-overlay' on branch 'develop' (#2496)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* create a release from branch release-20230614.004108

the following crates are part of this release:

- holochain_trace-0.3.0-beta-dev.1
- kitsune_p2p_dht_arc-0.3.0-beta-dev.2
- holo_hash-0.3.0-beta-dev.3
- holochain_integrity_types-0.3.0-beta-dev.3
- hdk_derive-0.3.0-beta-dev.3
- hdi-0.4.0-beta-dev.3
- kitsune_p2p_bin_data-0.3.0-beta-dev.3
- kitsune_p2p_block-0.3.0-beta-dev.3
- kitsune_p2p_dht-0.3.0-beta-dev.2
- holochain_zome_types-0.3.0-beta-dev.3
- hdk-0.3.0-beta-dev.4
- kitsune_p2p_types-0.3.0-beta-dev.3
- holochain_keystore-0.3.0-beta-dev.3
- kitsune_p2p_fetch-0.3.0-beta-dev.3
- kitsune_p2p_transport_quic-0.3.0-beta-dev.3
- kitsune_p2p_proxy-0.3.0-beta-dev.3
- kitsune_p2p-0.3.0-beta-dev.3
- holochain_sqlite-0.3.0-beta-dev.3
- holochain_types-0.3.0-beta-dev.3
- kitsune_p2p_bootstrap-0.2.0-beta-dev.3
- holochain_p2p-0.3.0-beta-dev.3
- holochain_state-0.3.0-beta-dev.3
- holochain_cascade-0.3.0-beta-dev.4
- holochain_wasm_test_utils-0.3.0-beta-dev.3
- holochain_conductor_api-0.3.0-beta-dev.4
- holochain_test_wasm_common-0.3.0-beta-dev.4
- holochain_websocket-0.3.0-beta-dev.1
- holochain-0.3.0-beta-dev.4
- holochain_cli_bundle-0.3.0-beta-dev.3
- holochain_cli_run_local_services-0.3.0-beta-dev.3
- holochain_cli_sandbox-0.3.0-beta-dev.4
- holochain_cli-0.3.0-beta-dev.4

* update source 'rust-overlay' on branch 'develop' (#2499)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* wip on dna info 2 (#2366)

* wip on dna info 2

* wip on callback versioning

* wip on v2 self check

* v2 of genesis self check

* map genesis self check in map extern

* wip on fixing tests

* fix tests

* docs for versoning

* test dna_info_1

* genesis_self_check_1 test

* legacy check

* test that dna info is callable in genesis self check

* agent key in genesis self check 2

* fix tests

* changelog

* update source 'nixpkgs' on branch 'develop' (#2500)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2501)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Update crates/holochain_integrity_types/src/record.rs

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

---------

Co-authored-by: Holochain Release Automation <100725712+holochain-release-automation2@users.noreply.github.com>
Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>
Co-authored-by: ThetaSinner <ThetaSinner@users.noreply.github.com>
Co-authored-by: Stefan Junker <1181362+steveeJ@users.noreply.github.com>
Co-authored-by: Holochain Core Dev Team <devcore@holochain.org>
Co-authored-by: David Meister <thedavidmeister@gmail.com>
Co-authored-by: David Braden <neonphog@gmail.com>
Co-authored-by: Holochain Release Automation <hrabot@holochain.org>
Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* Fix Cargo.toml

---------

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>
Co-authored-by: Holochain Release Automation <100725712+holochain-release-automation2@users.noreply.github.com>
Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>
Co-authored-by: ThetaSinner <ThetaSinner@users.noreply.github.com>
Co-authored-by: Stefan Junker <1181362+steveeJ@users.noreply.github.com>
Co-authored-by: Holochain Core Dev Team <devcore@holochain.org>
Co-authored-by: David Meister <thedavidmeister@gmail.com>
Co-authored-by: David Braden <neonphog@gmail.com>
Co-authored-by: Holochain Release Automation <hrabot@holochain.org>

* update source 'rust-overlay' on branch 'develop' (#2515)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* create a release from branch release-20230621.004233

the following crates are part of this release:

- holochain_integrity_types-0.3.0-beta-dev.4
- hdk_derive-0.3.0-beta-dev.4
- hdi-0.4.0-beta-dev.4
- holochain_zome_types-0.3.0-beta-dev.4
- hdk-0.3.0-beta-dev.5
- holochain_keystore-0.3.0-beta-dev.4
- kitsune_p2p-0.3.0-beta-dev.4
- holochain_sqlite-0.3.0-beta-dev.4
- holochain_types-0.3.0-beta-dev.4
- holochain_p2p-0.3.0-beta-dev.4
- holochain_state-0.3.0-beta-dev.4
- holochain_cascade-0.3.0-beta-dev.5
- holochain_wasm_test_utils-0.3.0-beta-dev.4
- holochain_conductor_api-0.3.0-beta-dev.5
- holochain_test_wasm_common-0.3.0-beta-dev.5
- holochain-0.3.0-beta-dev.5
- holochain_cli_bundle-0.3.0-beta-dev.4
- holochain_cli_sandbox-0.3.0-beta-dev.5
- holochain_cli-0.3.0-beta-dev.5

* update source 'rust-overlay' on branch 'develop' (#2516)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* 2023 04 24 block test (#2286)

* wip on get block test

* blocking gets test

* wip on block tests

* wip on block test

* logging around gossip while blocked

* fix merge

* wip on block agent test

* wip on block test

* cover tx2 for notify outgoing disconnect

* show failing gossip

* Try to deflakify test

* fix tests

* lint

* lint

* fix compilation

* lint

---------

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* Log more context during validation (#2493)

* Log more context during validation

* format

* update source 'rust-overlay' on branch 'develop' (#2518)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2523)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Give up waiting if it takes too long to get a db permit (#2522)

* wip locking calls for a permit

* wip locking calls for a permit

* Fix remaining uses of fetching

* longer timeout

* update source 'rust-overlay' on branch 'develop' (#2524)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2525)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Add websocket test for heavy use (#2452)

* Add websocket test for heavy use

* Reduce load test, too slow

* Ignore and run for a long time

* Describe test logic

* update source 'rust-overlay' on branch 'develop' (#2526)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* [DOCS] HDK callbacks should accept an argument which can be deserialized (#2282)

HDK callbacks should accept an argument which can be deserialized

* Small efficiency fix: constant time instead of linear lookup in ValidationReceiptWorkflow (#2131)

Small efficiency fix: constant time instead of linear

* docs(crate-level): generate readmes from doc comments

* create a release from branch release-20230628.004801

the following crates are part of this release:

- kitsune_p2p_types-0.3.0-beta-dev.4
- holochain_keystore-0.3.0-beta-dev.5
- kitsune_p2p_fetch-0.3.0-beta-dev.4
- kitsune_p2p_transport_quic-0.3.0-beta-dev.4
- kitsune_p2p_proxy-0.3.0-beta-dev.4
- kitsune_p2p-0.3.0-beta-dev.5
- holochain_sqlite-0.3.0-beta-dev.5
- holochain_types-0.3.0-beta-dev.5
- kitsune_p2p_bootstrap-0.2.0-beta-dev.4
- holochain_p2p-0.3.0-beta-dev.5
- holochain_state-0.3.0-beta-dev.5
- holochain_cascade-0.3.0-beta-dev.6
- holochain_wasm_test_utils-0.3.0-beta-dev.5
- holochain_conductor_api-0.3.0-beta-dev.6
- holochain_websocket-0.3.0-beta-dev.2
- holochain-0.3.0-beta-dev.6
- holochain_cli_bundle-0.3.0-beta-dev.5
- holochain_cli_run_local_services-0.3.0-beta-dev.4
- holochain_cli_sandbox-0.3.0-beta-dev.6
- holochain_cli-0.3.0-beta-dev.6

* P2p Agent Store Memory Cache (#2528)

* p2p_agent memory cache for p2p_query_near_basis

* fix soundness of distance calc

* cleanup mem caching + retire more db queries

* more cleanup and more retired queries

* test fix

* Update crates/holochain_sqlite/src/db/p2p_agent_store.rs

* rename to avoid 'ai' acronym

* Update crates/kitsune_p2p/dht_arc/src/dht_arc.rs

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* test fix

---------

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* update source 'rust-overlay' on branch 'develop' (#2529)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2530)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Holochain performance fixes (#2527)

* Do the fixy fixy

* Fixup build errors

* Update crates/holochain/src/core/workflow/sys_validation_workflow.rs

Co-authored-by: David Braden <neonphog@gmail.com>

* Correct typo

* Use latest ghost_actor

* Review changes for tokio timeout

* Increase concurrency limit for p2p_event_task

* Start test fixes

* Test fixes

* Clippy fix

---------

Co-authored-by: David Braden <neonphog@gmail.com>

* update source 'rust-overlay' on branch 'develop' (#2536)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2539)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2540)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2542)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Database wrapper tests (#2537)

* Add tests for the db pool wrapper code

* Make tests independent

* Update lock

* Reduce time to run

* Update unfinished comment

* Update unclear comment

* Fix block race (#2534)

* Fix race condition which caused Blocks when preflight failed

* Fix set_tuning_params

* Remove debug

* create a release from branch release-20230703.184956

the following crates are part of this release:

- kitsune_p2p_dht_arc-0.3.0-beta-dev.3
- holo_hash-0.3.0-beta-dev.4
- kitsune_p2p_dht-0.3.0-beta-dev.3
- holochain_integrity_types-0.3.0-beta-dev.5
- hdk_derive-0.3.0-beta-dev.5
- hdi-0.4.0-beta-dev.5
- kitsune_p2p_bin_data-0.3.0-beta-dev.4
- kitsune_p2p_block-0.3.0-beta-dev.4
- holochain_zome_types-0.3.0-beta-dev.5
- hdk-0.3.0-beta-dev.6
- kitsune_p2p_types-0.3.0-beta-dev.5
- holochain_keystore-0.3.0-beta-dev.6
- kitsune_p2p_fetch-0.3.0-beta-dev.5
- kitsune_p2p_transport_quic-0.3.0-beta-dev.5
- kitsune_p2p_proxy-0.3.0-beta-dev.5
- kitsune_p2p-0.3.0-beta-dev.6
- holochain_sqlite-0.3.0-beta-dev.6
- holochain_types-0.3.0-beta-dev.6
- kitsune_p2p_bootstrap-0.2.0-beta-dev.5
- holochain_p2p-0.3.0-beta-dev.6
- holochain_state-0.3.0-beta-dev.6
- holochain_cascade-0.3.0-beta-dev.7
- holochain_wasm_test_utils-0.3.0-beta-dev.6
- holochain_conductor_api-0.3.0-beta-dev.7
- holochain_test_wasm_common-0.3.0-beta-dev.6
- holochain_websocket-0.3.0-beta-dev.3
- holochain-0.3.0-beta-dev.7
- holochain_cli_bundle-0.3.0-beta-dev.6
- holochain_cli_run_local_services-0.3.0-beta-dev.5
- holochain_cli_sandbox-0.3.0-beta-dev.7
- holochain_cli-0.3.0-beta-dev.7

* Feat/path tryinto string (#2544)

* feat: add TryInto<String> for Path

* chore: clippy + fmt

* Update crates/hdk/src/hash_path/path.rs

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* doc: changelog

---------

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* fix(workflow): remove debug statement (#2538)

* lint: remove unused import

* fix(workflow): remove debug statement

* Fix import

---------

Co-authored-by: Michael Dougherty <maackle.d@gmail.com>

* update source 'rust-overlay' on branch 'develop' (#2547)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Fix bad link size in test (#2546)

* Updates for contrafact 0.2.0 (#2535)

* Updates for contrafact 0.2.0-dev.4

* contrfact 0.2.0-rc.0

* lint: remove unused import

* fix(workflow): remove debug statement

* contrafact 0.2.0-rc.1

* Cargo update

* Fix import

* Fix bad link size in test

* Remove test logic which used to be valid but is now invalid

---------

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* create a release from branch release-20230705.005229

the following crates are part of this release:

- holochain_zome_types-0.3.0-beta-dev.6
- hdk-0.3.0-beta-dev.7
- holochain_keystore-0.3.0-beta-dev.7
- kitsune_p2p-0.3.0-beta-dev.7
- holochain_sqlite-0.3.0-beta-dev.7
- holochain_types-0.3.0-beta-dev.7
- holochain_p2p-0.3.0-beta-dev.7
- holochain_state-0.3.0-beta-dev.7
- holochain_cascade-0.3.0-beta-dev.8
- holochain_wasm_test_utils-0.3.0-beta-dev.7
- holochain_conductor_api-0.3.0-beta-dev.8
- holochain_test_wasm_common-0.3.0-beta-dev.7
- holochain-0.3.0-beta-dev.8
- holochain_cli_bundle-0.3.0-beta-dev.7
- holochain_cli_sandbox-0.3.0-beta-dev.8
- holochain_cli-0.3.0-beta-dev.8

* update source 'rust-overlay' on branch 'develop' (#2549)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2553)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Refactor db wrapper interface (#2543)

* Encapsulate write permits and make them time out if not available

* Make most desired refactors to the db interface

* Make tests that will be kept use the remaining interface

* Fix holochain_state

* Fixes for holochain crate

* Fixes for holochain crate

* Fixes for holochain crate

* Fixes for holochain crate

* Fixes for holochain crate

* Fixes for holochain crate

* Fixes for holochain crate

* Fix cascade tests

* Lint fixes

* fix lifetime error

* Fix imports

* Tidy up scope

* Add weekly version (#2550)

* Add 0_3 version

* Switch to weekly

* update source 'rust-overlay' on branch 'develop' (#2555)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Point to current getrandom (#2556)

* Point to the current version of getrandom

* Allow a wider range to match

* update source 'rust-overlay' on branch 'develop' (#2557)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2558)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2559)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* update source 'rust-overlay' on branch 'develop' (#2561)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Refactor cascade to reduce the impact of holding open txns (#2554)

* add comments to guide refactoring

* Refactor to put long-running transactions in their own pool

* Clean up unused TODOs

* query doesn't need to change

* Fix semaphore usage and add test

* Correct comment

* Clippy fixes

* Update crates/holochain_sqlite/tests/db_wrapper.rs

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>

* Update crates/holochain_cascade/src/lib.rs

Co-authored-by: David Braden <neonphog@gmail.com>

* Update crates/holochain_sqlite/src/db.rs

Co-authored-by: David Braden <neonphog@gmail.com>

* Format

---------

Co-authored-by: Jost Schulte <jost.schulte@protonmail.com>
Co-authored-by: David Braden <neonphog@gmail.com>

* Remove other uses of conn_permit (#2560)

* Remove other uses of conn_permit

* Fix error handling

* Moved values

* create a release from branch release-20230712.004839

the following crates are part of this release:

- hdk-0.3.0-beta-dev.8
- holochain_sqlite-0.3.0-beta-dev.8
- holochain_types-0.3.0-beta-dev.8
- holochain_p2p-0.3.0-beta-dev.8
- holochain_state-0.3.0-beta-dev.8
- holochain_cascade-0.3.0-beta-dev.9
- holochain_wasm_test_utils-0.3.0-beta-dev.8
- holochain_conductor_api-0.3.0-beta-dev.9
- holochain_test_wasm_common-0.3.0-beta-dev.8
- holochain-0.3.0-beta-dev.9
- holochain_cli_bundle-0.3.0-beta-dev.8
- holochain_cli_sandbox-0.3.0-beta-dev.9
- holochain_cli-0.3.0-beta-dev.9

* update source 'rust-overlay' on branch 'develop' (#2563)

[create-pull-request] automated change

Co-authored-by: steveeJ <steveeJ@users.noreply.github.com>

* Update weekly version to 0.3.0-beta-dev.9 (#2564)

* Remove remaining uses of conn (#2562)

* Remove remaining uses of conn

* Tidy reads

* Use existing util to block current thread

* Update CHC API for Holo DO implementation (#2502)

* Add some notes about what to test next

* Use contrafact to build valid chain

* Add CascadeSource to differentiate local and network data

* Add CascadeSource to differentiate local and network data

* Expose Cascade param to validate_op

* Move entry def …
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.

Agents with Zero (Empty) arcs cannot get_links
3 participants