-
Notifications
You must be signed in to change notification settings - Fork 25
Refactor Tiltfile structure and enhance Pocketdex support. #1640
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
Conversation
- Updated `git.Tiltfile` for Git-related utilities like cloning, fetching, and change detection. - Added `defaults.Tiltfile` to manage and load configuration defaults. - Updated `pocketdex.Tiltfile` for Pocketdex-related logic, including dynamic loading and repository management. - Replaced `merge_dicts` with `deep_merge_dicts` from `utils.Tiltfile` for recursive dictionary merging. - Simplified `localnet_config` handling to enforce syncing existing configs with default values. This refactor improves modularity and maintainability of the Tiltfile setup.
…e `localnet_config` handling. - Replaced legacy logic with `read_configs()` for default merging and missing key detection. - Enhanced Tilt UI integration with buttons for config updates and diff visualization. - Updated `.gitignore` for generated config files. - Added dependency (`validator`) to Pocketdex indexer resources.
f97dfa3 to
14b319a
Compare
…nce-tilt * pokt/main: Remove settlement result from `EventClaimSettled` in `v0.127` release. (#1647) Revert "feat: Remove settlement result from EventClaimSettled" (#1643) [Code Health] Fix linter issues & attempt to fix flaky tests (#1646) Updating config-path-x.yaml with: schema header, owned app for config-path-1
bryanchriswhite
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @jorgecuesta and @Alann27! 🙌
|
@Olshansk can we merge this? |
Olshansk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jorgecuesta Yup, go ahead!
Please just wait for a 🟢 before squash & merging.
I didn't test the indexer, but did pull it locally and verified that LocalNet protocol development continues to work as expected ✅
|
I tested it. 👍 |
* pokt/main: (34 commits) [RelayMiner] feat: relay miner routes to multiple backend URLs based on RPC Type (#1633) [Morse Recovery] Added new addresses for recovery (#1667) [DOCS][SERVICE] Adding danger for Grove employees on mainnet service creation (#1666) [Foundation] Remove `pulsar` (#1661) [RelayMiner] Add timeout support and improved logging to query clients (#1657) [RelayMiner] Replace buffer copying with explicit cleanup pattern in SafeReadBody (#1658) [Testing] Fixing flaky unit tests to make CI more reliable (#1662) [Scripts] Notes, events and queries to query `block` events and `tx` events (#1660) [Morse Recovery] Add recovery addresses for issue #1654 (#1656) Refactor Tiltfile structure and enhance Pocketdex support. (#1640) [Morse Recovery] Updated Recovery Allowlist (#1651) [RelayMiner] Improve SafeReadBody concurrency safety by copying buffer data (#1650) Add a configurable max body size parameter to RelayMiner configuration. (#1566) Update upgrade_tx_v0.1.25_alpha.json feat: Improve relay request unmarshaling error handling and logging (#1649) [Docs] v0.1.25/26 upgrage artifacts (#1648) Remove settlement result from `EventClaimSettled` in `v0.127` release. (#1647) Revert "feat: Remove settlement result from EventClaimSettled" (#1643) [Code Health] Fix linter issues & attempt to fix flaky tests (#1646) Updating config-path-x.yaml with: schema header, owned app for config-path-1 ...
* pokt/main: (69 commits) Refactor Tiltfile structure and enhance Pocketdex support. (#1640) [Morse Recovery] Updated Recovery Allowlist (#1651) [RelayMiner] Improve SafeReadBody concurrency safety by copying buffer data (#1650) Add a configurable max body size parameter to RelayMiner configuration. (#1566) Update upgrade_tx_v0.1.25_alpha.json feat: Improve relay request unmarshaling error handling and logging (#1649) [Docs] v0.1.25/26 upgrage artifacts (#1648) Remove settlement result from `EventClaimSettled` in `v0.127` release. (#1647) Revert "feat: Remove settlement result from EventClaimSettled" (#1643) [Code Health] Fix linter issues & attempt to fix flaky tests (#1646) Updating config-path-x.yaml with: schema header, owned app for config-path-1 [Shannon SDK] Update the `shannon-sdk` in prep for `v0.1.26` (#1641) [RelayMiner] Add chain version retrieval functionality to block client (#1639) [RelayMiner] Avoid concurrent access to shared logger (#1636) [Telegram] Add Korbit channel to broadcast workflow (#1634) upgrade: Prepare upgrade plan for v0.1.26 (#1635) [RelayMiner] Add proper timeout handling for RelayMiner HTTP requests (#1595) [Code only] fix: implement backward compatible relay response signatures (from #1629) (#1630) [Misc] Misc fixes & improvements (#1632) Added pocket-knife to ecosystem tools (#1622) ...
* refs/heads/chore/ibc: (69 commits) Refactor Tiltfile structure and enhance Pocketdex support. (#1640) [Morse Recovery] Updated Recovery Allowlist (#1651) [RelayMiner] Improve SafeReadBody concurrency safety by copying buffer data (#1650) Add a configurable max body size parameter to RelayMiner configuration. (#1566) Update upgrade_tx_v0.1.25_alpha.json feat: Improve relay request unmarshaling error handling and logging (#1649) [Docs] v0.1.25/26 upgrage artifacts (#1648) Remove settlement result from `EventClaimSettled` in `v0.127` release. (#1647) Revert "feat: Remove settlement result from EventClaimSettled" (#1643) [Code Health] Fix linter issues & attempt to fix flaky tests (#1646) Updating config-path-x.yaml with: schema header, owned app for config-path-1 [Shannon SDK] Update the `shannon-sdk` in prep for `v0.1.26` (#1641) [RelayMiner] Add chain version retrieval functionality to block client (#1639) [RelayMiner] Avoid concurrent access to shared logger (#1636) [Telegram] Add Korbit channel to broadcast workflow (#1634) upgrade: Prepare upgrade plan for v0.1.26 (#1635) [RelayMiner] Add proper timeout handling for RelayMiner HTTP requests (#1595) [Code only] fix: implement backward compatible relay response signatures (from #1629) (#1630) [Misc] Misc fixes & improvements (#1632) Added pocket-knife to ecosystem tools (#1622) ... # Conflicts: # Makefile # Tiltfile
* chore/localnet/tilt: (88 commits) [Disk Utilization] refactor: remove unnecessary Msg.*Response fields (#1670) [RelayMiner] Bump SMT version (#1675) [IBC] Prepare pocket for IBC connectivity (#1262) fix: TODOs fix: onchain upgrade [RelayMiner] feat: relay miner routes to multiple backend URLs based on RPC Type (#1633) [Morse Recovery] Added new addresses for recovery (#1667) [DOCS][SERVICE] Adding danger for Grove employees on mainnet service creation (#1666) [Foundation] Remove `pulsar` (#1661) [RelayMiner] Add timeout support and improved logging to query clients (#1657) [RelayMiner] Replace buffer copying with explicit cleanup pattern in SafeReadBody (#1658) [Testing] Fixing flaky unit tests to make CI more reliable (#1662) [Scripts] Notes, events and queries to query `block` events and `tx` events (#1660) [Morse Recovery] Add recovery addresses for issue #1654 (#1656) fixup! upgrade fixup! upgrade revertme: testing fixup! upgrade Refactor Tiltfile structure and enhance Pocketdex support. (#1640) [Morse Recovery] Updated Recovery Allowlist (#1651) ...
* chore/ibc-axelar: (92 commits) [Disk Utilization] refactor: remove unnecessary Msg.*Response fields (#1670) [RelayMiner] Bump SMT version (#1675) [IBC] Prepare pocket for IBC connectivity (#1262) fix: TODOs fix: onchain upgrade [RelayMiner] feat: relay miner routes to multiple backend URLs based on RPC Type (#1633) [Morse Recovery] Added new addresses for recovery (#1667) [DOCS][SERVICE] Adding danger for Grove employees on mainnet service creation (#1666) [Foundation] Remove `pulsar` (#1661) [RelayMiner] Add timeout support and improved logging to query clients (#1657) [RelayMiner] Replace buffer copying with explicit cleanup pattern in SafeReadBody (#1658) [Testing] Fixing flaky unit tests to make CI more reliable (#1662) [Scripts] Notes, events and queries to query `block` events and `tx` events (#1660) [Morse Recovery] Add recovery addresses for issue #1654 (#1656) fixup! upgrade fixup! upgrade revertme: testing fixup! upgrade Refactor Tiltfile structure and enhance Pocketdex support. (#1640) [Morse Recovery] Updated Recovery Allowlist (#1651) ...
* chore/ibc-axelar: (88 commits) [Disk Utilization] refactor: remove unnecessary Msg.*Response fields (#1670) [RelayMiner] Bump SMT version (#1675) [IBC] Prepare pocket for IBC connectivity (#1262) fix: TODOs fix: onchain upgrade [RelayMiner] feat: relay miner routes to multiple backend URLs based on RPC Type (#1633) [Morse Recovery] Added new addresses for recovery (#1667) [DOCS][SERVICE] Adding danger for Grove employees on mainnet service creation (#1666) [Foundation] Remove `pulsar` (#1661) [RelayMiner] Add timeout support and improved logging to query clients (#1657) [RelayMiner] Replace buffer copying with explicit cleanup pattern in SafeReadBody (#1658) [Testing] Fixing flaky unit tests to make CI more reliable (#1662) [Scripts] Notes, events and queries to query `block` events and `tx` events (#1660) [Morse Recovery] Add recovery addresses for issue #1654 (#1656) fixup! upgrade fixup! upgrade revertme: testing fixup! upgrade Refactor Tiltfile structure and enhance Pocketdex support. (#1640) [Morse Recovery] Updated Recovery Allowlist (#1651) ...
Summary
Refactor Tiltfile config handling and Pocketdex integration for improved modularity, visibility, and maintainability.
Primary Changes:
tiltfiles/config.Tiltfile: auto-generates and reconcileslocalnet_config.yamlwith a clear UI flow for applying default changes, including UI buttons and dynamic warnings.tiltfiles/defaults.Tiltfile, improving clarity and easing future updates.Secondary Changes:
tiltfiles/pocketdex.Tiltfile, including support for:deep_merge_dicts) intiltfiles/utils.TiltfileTiltfiletiltfiles/git.tilt,tiltfiles/pocketdex.tiltNote: The UI/UX flow will just be there only when there are MISSING KEYS, not differences, since a difference between default and my local env is something expected (as dev I want to modify that, right?)
But if there are MORE keys that come with updates and I do not have them, then this will shows up.
Please take a look to the attached files.
Issue
Type of change
Select one or more from the following:
Sanity Checklist
assignees,reviewers,labels,project,iterationandmilestonemake docusaurus_startmake go_develop_and_testandmake test_e2edevnet-test-e2elabel to run E2E tests in CImake test_e2e_oneshot