Merge main into capabilities-development#469
Closed
anirudhwarrier wants to merge 29 commits into
Closed
Conversation
…ock forwarder addresses (#428) * Enhance supported-chains command to list tenant-specific chains and mock forwarder addresses - Introduced ChainForwarderRow struct for JSON output. - Updated command description and examples for clarity. - Integrated runtime context to fetch tenant-specific forwarders. - Added sorting for output rows by chain selector and address. - Improved error handling for missing user context and forwarders. - Updated tests to validate new forwarder functionality. * generate docs * fix lint issues
* Updated sdk versions * Added ADI testnet and Celo sepolia mock forwarders
* Add don family support for ofchain registry * missed * Simplify * update tests * fix tests * revert * revert 2 * review feedback
* Update workflow hash owner resolution. Ensure hash uses registry-aware owner selection so off-chain registries require --public_key while on-chain retains existing owner derivation. Co-authored-by: Cursor <cursoragent@cursor.com> * docs * fetch logged context if possible * docs * fix messages * ui improvment --------- Co-authored-by: Cursor <cursoragent@cursor.com>
* Also list non-evm in supported-chains cmd, added a --allow-unknown-chains to skip validation for simulation/ deploy * gendoc
…gout handler to use it. (#440)
Added adi-mainnet support
Added private-testnet-rhyolite support
* Fix: Propagate ctx to GQL Methods * lint
…ext handling (#448) - Set service timeout to 1 minute in PrivateRegistryClient, StorageClient, and WorkflowDataClient. - Introduce CreateServiceContextWithTimeout method in Validator and WorkflowDataClient for consistent context management. - Update ValidateCredentials method in Validator to use the new context handling approach.
Updated the login flow to accept a context parameter, ensuring proper context propagation throughout the login process. This change includes modifications to the `Run` and `execute` methods in the login package, as well as adjustments in the tenant context fetching to utilize the provided context for GQL requests.
- Removed duplicate workflow fetching code from multiple files. - Introduced `FetchAllWorkflowsByOwnerAndName` in `workflow_list.go` to streamline workflow retrieval. - Updated `registry_activate_strategy_onchain.go`, `registry_delete_strategy_onchain.go`, and `registry_pause_strategy_onchain.go` to use the new common function.
* Remove org owned feature flag * Support udpated Oauth secrets ownership model * Mod tidy
…450) This update introduces a context parameter to various methods in the WorkflowRegistryV2Client and related handlers, enhancing the ability to manage request lifetimes and cancellations. The changes include updates to transaction execution, owner linking, and workflow management functions, ensuring that context is consistently passed through the call stack. This refactor improves the overall robustness and responsiveness of the client interactions.
…rategies (#452) - Updated `registry_delete_strategy_onchain.go` and `registry_delete_strategy_private.go` to include type assertion checks for `RawID`. - Added error messages for unexpected `RawID` types to improve debugging and maintainability.
* Enhance registry type mapping with logging for unknown types * fix test * fix test
* Refactor input validation in UpsertWorkflow function * fix test
* Remove org owned feature flag * Support udpated Oauth secrets ownership model * Map user context gateway url to secrets module * lint
* Refactor secret handling to use byte arrays for values - Updated SecretItem struct to store secret values as byte arrays instead of strings. - Introduced ZeroUpsertSecretValues function to clear secret values from memory after use. - Modified EncryptSecret and encryptSecretWithLabel functions to accept byte arrays. - Updated tests to reflect changes in secret value type and ensure proper functionality. - Added memory safety measures in various handler methods to prevent sensitive data leakage. * Review feedback * Feedback --------- Co-authored-by: timothyF95 <tim.funnell@smartcontract.com> Co-authored-by: Timothy Funnell <137069066+timothyF95@users.noreply.github.com>
* Fix context propagation in execute operations * Fix unit test * Fix second unit test * Refactor of ctx prop * Use test handler to avoid ctx nil panics * lint * Remove test handler
* Make the user context a hard requirement * e2e tests
* starting on solana binding generator * added write methods * adding changes * adding anchor fork * Adding anchor required * changes * adding jen * moving anchor go into repo and adding gen command * only keep data storage contract * fake protos and add tests * Adding support for generate-bindings-solana * Cleaning up code and moving to a cre file * remove some files * docs * using real sdk * removing most mocks on cre-cli side * temp adding flakes * rename evm and solana * polish * clean * clean * comments * removing flakes * doc * tidy * lint * lint * lint * lint * lint * clean up * lint * tidy * lint * tidy * generate-bindings <chain_family> * docs * revert * adding back handler * lint * bump capabilities development branch * fix generator to accept ComuteConfig * fix field names collision (#341) * add handle complex enum logic (#343) * add handle complex enum logic * add negatie test * use untransformed type name and add nil check (#344) * fix out flag (#345) * Convert package level map into instance field (#346) * Convert package level map into instance field * rm sol generated files * Ozep/fix u256 dispatch (#456) * changing signing/hashing algo * add u256/i256 explicit handlers --------- Co-authored-by: yashnevatia <yashvardhan.nevatia@smartcontract.com> * Ozep/fix silent rounding (#457) * changing signing/hashing algo * use ParseUint for 64 bit values * Ozep/fix u256 dispatch (#347) add u256/i256 explicit handlers --------- Co-authored-by: yashnevatia <yashvardhan.nevatia@smartcontract.com> * Ozep/check vec name (#458) * changing signing/hashing algo * add vec len prevalidation * Ozep/fix u256 dispatch (#347) add u256/i256 explicit handlers * use ParseUint for 64 bit values (#348) --------- Co-authored-by: yashnevatia <yashvardhan.nevatia@smartcontract.com> * Ozep/nil complex enum fix (#350) * changing signing/hashing algo * add case nil to unregistered variant types * Ozep/fix u256 dispatch (#347) add u256/i256 explicit handlers * use ParseUint for 64 bit values (#348) * add vec len prevalidation (#349) --------- Co-authored-by: yashnevatia <yashvardhan.nevatia@smartcontract.com> * switch from uint8() to qual (#351) * Ozep/add package validation (#352) * add package name validation * fix options assigment before declaration * document forwarder prefix (#355) * fix strconv const handlers (#356) * fix enum idl types produce incompilable bindings (#357) * changing signing/hashing algo * fix enum idl types produce incompilable bindings --------- Co-authored-by: yashnevatia <yashvardhan.nevatia@smartcontract.com> * apply to upperCase to raw idl references (#358) * add descriminator for zero arg instructions (#354) * rm unused constants (#353) * tidy * fix file permissions * make gendoc * bump tagged sdk-go * reference tagged capability version * replace print with dim * restore contracts --------- Co-authored-by: yashnevatia <yashvardhan.nevatia@smartcontract.com>
PLEX-3005 Run PR CI for capabilities-development PRs targeting capabilities-development never ran the required ci-lint / ci-test-* checks (the workflow only triggered for main and releases), so they could never satisfy branch protection or enter the merge queue. Add capabilities-development to the pull_request branch filter.
* Make the user context a hard requirement * e2e tests * Extract internal/creconfig for CLI config paths * Lint * Fix test * Fix test * feedback
* Fix context propagation in execute operations * Fix unit test * Fix second unit test * Refactor of ctx prop * Use test handler to avoid ctx nil panics * lint * Remove test handler * Add capability registry address to user context * Lint * fix test
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.
No description provided.