Skip to content

feat: add IsOperationDone and IsChainDone to timelock executable#337

Merged
gustavogama-cll merged 1 commit intomainfrom
ggama/chore-add-ischaindone
Mar 14, 2025
Merged

feat: add IsOperationDone and IsChainDone to timelock executable#337
gustavogama-cll merged 1 commit intomainfrom
ggama/chore-add-ischaindone

Conversation

@gustavogama-cll
Copy link
Contributor

@gustavogama-cll gustavogama-cll commented Mar 14, 2025

In order to support concurrent timelock executions between the chainlink-deployments CI and the legacy timelock-worker service, the GHA running on the CI need to be able to check if an operation and/or the operations of a chain have been marked as "done" by the timelock worker.

This PR adds two methods to the TimelockExecutable type, implementing these two checks. The implementation was adapted from the existing methods: IsOperationReady and IsChainReady.

JIRA: DPA-1613

@changeset-bot
Copy link

changeset-bot bot commented Mar 14, 2025

🦋 Changeset detected

Latest commit: c817685

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smartcontractkit/mcms Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gustavogama-cll gustavogama-cll force-pushed the ggama/chore-add-ischaindone branch from 46d3fe1 to c817685 Compare March 14, 2025 21:20
@cl-sonarqube-production
Copy link

@gustavogama-cll gustavogama-cll marked this pull request as ready for review March 14, 2025 21:25
@gustavogama-cll gustavogama-cll requested a review from a team as a code owner March 14, 2025 21:25
@gustavogama-cll gustavogama-cll added this pull request to the merge queue Mar 14, 2025
Merged via the queue into main with commit 3965c2d Mar 14, 2025
11 checks passed
@gustavogama-cll gustavogama-cll deleted the ggama/chore-add-ischaindone branch March 14, 2025 21:37
github-merge-queue bot pushed a commit that referenced this pull request Mar 14, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @smartcontractkit/mcms@0.15.0

### Minor Changes

- [#337](#337)
[`3965c2d`](3965c2d)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - feat:
add IsOperationDone and IsChainDone to TimelockExecutable

Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@users.noreply.github.com>
ecPablo pushed a commit that referenced this pull request Mar 21, 2025
In order to support concurrent timelock executions between the
chainlink-deployments CI and the legacy timelock-worker service, the GHA
running on the CI need to be able to check if an operation and/or the
operations of a chain have been marked as "done" by the timelock worker.

This PR adds two methods to the TimelockExecutable type, implementing
these two checks. The implementation was adapted from the existing
methods: `IsOperationReady` and `IsChainReady`.

JIRA: [DPA-1613](https://smartcontract-it.atlassian.net/browse/DPA-1613)

[DPA-1613]:
https://smartcontract-it.atlassian.net/browse/DPA-1613?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
ecPablo pushed a commit that referenced this pull request Mar 21, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @smartcontractkit/mcms@0.15.0

### Minor Changes

- [#337](#337)
[`3965c2d`](3965c2d)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - feat:
add IsOperationDone and IsChainDone to TimelockExecutable

Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@users.noreply.github.com>
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.

2 participants