Skip to content

Merge main into capabilities-development#469

Closed
anirudhwarrier wants to merge 29 commits into
capabilities-developmentfrom
main
Closed

Merge main into capabilities-development#469
anirudhwarrier wants to merge 29 commits into
capabilities-developmentfrom
main

Conversation

@anirudhwarrier
Copy link
Copy Markdown
Collaborator

No description provided.

anirudhwarrier and others added 29 commits May 13, 2026 15:55
…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
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
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.

8 participants