Commit Graph

10365 Commits (08aaf0e781782c6c7bd077e540ce7f85276135ae)

Author SHA1 Message Date
Kieran Prasch 9ea8f5dbfc Fixes rust binding usage of Address. 2022-12-07 11:29:26 +00:00
jMyles ff2b98c30c The 'big_testerchain' concept didn't work out; cleaning it up. Leaving it in the history for research purposes. 2022-12-07 11:29:26 +00:00
jMyles 97b19ea3e4 Fake addresses for fake Ursulas. Good enough for these highperf tests. 2022-12-07 11:29:26 +00:00
jMyles 52dcd13a53 The first idea - a bad one - in response to the need for a large fleet of Ursulas for performance tests. It's way too slow to try to make them all on a testerchain. 2022-12-07 11:29:26 +00:00
Kieran Prasch dd87e3459d unskips test_use_external_cache, bumps fixturized policy to 3 of 5. 2022-12-07 11:29:26 +00:00
Kieran Prasch ed53696cf4 unskip IP detection CLI tests with required mocks 2022-12-07 11:29:26 +00:00
Kieran Prasch e7417e8a7f Repond to RFCs in PR #3030 2022-12-07 11:29:26 +00:00
Kieran Prasch 67619c7ee1 remove more blockchain language 2022-12-07 11:29:26 +00:00
Kieran Prasch 0222a17c6b Restores unit tests to not compile solidity. 2022-12-07 11:29:26 +00:00
Kieran Prasch cb4597321e BlockchainPolicy -> Policy 2022-12-07 11:29:26 +00:00
Kieran Prasch 50059c3622 Removes federated demos and supporting automation 2022-12-07 11:29:26 +00:00
Kieran Prasch a760d9a5e5 newsfragment for PR #3030 2022-12-07 11:29:26 +00:00
Kieran Prasch 9b38075d24 Partial correction of abstraction leak between Ursula an Operator by code reorg. 2022-12-07 11:29:26 +00:00
Kieran Prasch fda5c86db2 Removes "decentralized" and "blockchain" differentiation from "federated" 2022-12-07 11:29:26 +00:00
Kieran Prasch 18d3d6e0a5 removed federated finnegan's wake demo script. 2022-12-07 11:29:26 +00:00
Kieran Prasch 7b7f2f071f Atomically unfederate (most of) the tests; Restores "federated" functionality by way of mocking. Takes advantage of fixture overriding to intercept testerchain. 2022-12-07 11:28:40 +00:00
Kieran Prasch e3cf5a0e4e removes federated options from prometheus metrics collectors. 2022-12-07 11:27:55 +00:00
Kieran Prasch 7e06261c83 Clenaup workarounds for federated mode in peering utils. 2022-12-07 11:27:55 +00:00
Kieran Prasch 4c93f5d859 removes federated CLI launch functionality 2022-12-07 11:27:55 +00:00
Kieran Prasch c149411fb6 removes federated configuration options 2022-12-07 11:27:55 +00:00
Kieran Prasch e440f78b20 more work on operatr abstraction leaks 2022-12-07 11:27:55 +00:00
Kieran Prasch 542789500c Removes federated sampling gizmos. 2022-12-07 11:27:55 +00:00
Kieran Prasch 2a38ca3172 removes federated domain and 'wrong mode' protections 2022-12-07 11:27:55 +00:00
Kieran Prasch 0284559588 Removes the heart of federated mode in characters; Attempt to fix abstraction leaks between Ursula and Operator. 2022-12-07 11:27:51 +00:00
James Campbell 19a1c4e7b3 Rename key to index in Return Value Test 2022-12-06 14:53:30 +00:00
James Campbell f07c030499 Improve docstrings and tests after restricting key to type int 2022-12-06 10:38:58 +00:00
James Campbell 4250e9f314 Restrict return value `key` to only be an integer 2022-12-05 16:58:57 +00:00
KPrasch 91bb4a4ce3
Merge pull request #3028 from derekpierre/update-actions
Update GH actions - scope triggers, and use caching
2022-11-29 12:26:35 +01:00
KPrasch aeb5eea155
Merge pull request #3029 from derekpierre/docs-deps-relock
Fix failing docs build by relocking dependencies appropriately for jinja2
2022-11-29 12:25:46 +01:00
derekpierre ff6ede59b5 Add dev newsfragment for #3029. 2022-11-28 16:34:20 -05:00
derekpierre 59ea034d24 Relock dependencies to accomodate limited version of jinja2 needed for docs.
Remove unused and already deleted docs pages from index
Fix faulty RTD python version config.
2022-11-28 16:29:21 -05:00
derekpierre c6abe1a0b2 Add newsfragment for #3028. 2022-11-28 10:20:15 -05:00
derekpierre 68bbdb83e1 Try caching of pip dependencies so that pip install can be skipped for subsequent builds that don't change dependencies.
Use hash of both dev-requirements.txt and requirements.txt files for cache key.
2022-11-28 10:19:51 -05:00
derekpierre 2ecd189819 Don't cause a codecov gh action failure if code coverage is reduced by a small percentage. This can happen with non-nucypher code changes. 2022-11-28 10:19:51 -05:00
derekpierre e7283471ab Reduce scope of events used for triggering github actions.
Try using pip caching to improve efficiency of github actions.
2022-11-28 10:19:51 -05:00
Derek Pierre 1da31b00a3
Merge pull request #3019 from KPrasch/test-ports
Prevent network port reuse in tests
2022-11-28 10:17:07 -05:00
derekpierre 702fbf0e13 Add newsfragment for #3019. 2022-11-24 10:51:11 -05:00
derekpierre 37ddd90830 Use thread-safe set for caching active ports.
Stop the use of MOCK_URSULA_START_PORT constant which may cause inadvertent port reuse.
Adjust rules for selecting ports to ensure early short circuit for invalid ports.
2022-11-24 10:51:01 -05:00
Kieran Prasch baac3db5fa Attempt to prevent network port reuse in tests 2022-11-24 10:00:16 -05:00
Derek Pierre 08a436930c
Merge pull request #3026 from derekpierre/type-refinement
Refine typing used for LingoList; better define constituent parts.
2022-11-23 18:31:24 -05:00
derekpierre 1ceaaf8f06 Don't try to static type cases for condition/operator, when we are trying to determine what the dictionary represents.
Establish required vs not required typeddict entries.
Cleanup naming and some mypy errors.

Co-authored-by: KPrasch <kieranprasch@gmail.com>
2022-11-22 14:54:35 -05:00
derekpierre b2a38762eb Split out each condition into their own dict type. 2022-11-22 13:29:10 -05:00
derekpierre df2dd0819b Add newsfragment for #3026. 2022-11-22 12:04:26 -05:00
derekpierre fabc2f76aa Refine typing used for LingoList; better define constituent parts.
Use TypeDict either directly via typing or via typing_extensions.
Some cleanup based on mypy output.
2022-11-22 12:04:05 -05:00
KPrasch 186c9ad5cd
Merge pull request #3025 from derekpierre/damn-none
Handle retrieval request with no conditions
2022-11-21 21:15:19 +00:00
derekpierre d5e18dc56e Move common test function to utility module. 2022-11-21 12:53:25 -05:00
derekpierre 58e1416013 Use @property attribute for capsules, lingos on work orders. 2022-11-21 12:47:47 -05:00
derekpierre 37ef40f482 Fixed incompatibility between Schema and their associated objects leading to invalid json being allowed, and valid json sometimes not being allowed.
Added tests.
2022-11-21 12:37:42 -05:00
derekpierre d540846163 Add additional tests for ConditionLingo, and empty rust Conditions on MessageKits. 2022-11-18 14:52:49 -05:00
Kieran Prasch 83c373acad Isolates rust type serialization; Do not unzip lingos from capsules in RetrievalPlan. 2022-11-18 19:48:59 +00:00