Skip to content

feat: group all non major updates - #113

Merged
epsjunior merged 1 commit into
mainfrom
112-renovate-group-all-non-major-changes
Nov 8, 2024
Merged

epsjunior merged 1 commit into
mainfrom
112-renovate-group-all-non-major-changes

Conversation

@epsjunior

@epsjunior epsjunior commented Oct 28, 2024 •

Copy link
Copy Markdown
Contributor

Summary

This PR adds a packageRules configuration to group all non-major dependency updates, enabling more efficient management of minor and patch updates with high confidence.

Changes

  • Configured packageRules to:
    • groupName: "all non-major dependencies" - groups dependencies with minor or patch updates.
    • groupSlug: "all-minor-patch" - unique identifier for the group.
    • matchPackageNames: [*] - includes all dependencies.
    • matchUpdateTypes: "minor" and "patch" - limits to non-major updates.
    • matchConfidence: "very high" and "high" - includes updates with high confidence.

Purpose

This configuration streamlines the update process by grouping non-breaking changes, reducing the need to review individual updates while keeping dependencies current and stable.

@epsjunior epsjunior linked an issue Oct 28, 2024 that may be closed by this pull request
@epsjunior
epsjunior requested a review from cristiam86 October 28, 2024 12:45
@cristiam86

Copy link
Copy Markdown
Contributor

Could you please explain a bit your solution?

@epsjunior
epsjunior merged commit c498369 into main Nov 8, 2024
epsjunior added a commit that referenced this pull request Feb 20, 2025
* Release 0.0.32 (#40)

* 3 cli   setup testing framework (#35)

* test: setup jest configuration with typescript

* refactor: removed path alias and changed simulator service toa class injected in the command declaration

* test: added init action adn command tests

* docs: added testing section on readme file

* fix: handle Fetch Error (Mac M3)

* refactor: improved function response

* fix: await for runSimulator async function

* fix: added init action test

* fix: solving conflicts

* test: added reset docker images and containers calls from init

* 33 cli add a warning at init to say that the config is going to be overwritten (#38)

* feat: added initial warning about reseting the setup

* test: added a test for new step introduced

* 37 cli run simulator on certain branch (#39)

* feat: added initial warning about reseting the setup

* test: added a test for new step introduced

* feat: added optional branch when fetching the simulator from github

* feat: added branch name on init and up commands

* test: added tests for branch option on init command

* 41 cli add beta releases for staging branch (#42)

* chore: added npm command for beta release

* ci: added github action for beta release

* Release v0.0.32-beta.0 [skip ci]

* 43 cli fix missing endpoints and simulator response (#44)

* fix: removed non existing simulator endpoint

* refactor: adapted ping simulator response for current and next version

* tests: removed non existing simulator endpoint test

* Release v0.0.32-beta.1 [skip ci]

* 43 cli fix missing endpoints and simulator response (#45)

* fix: removed non existing simulator endpoint

* refactor: adapted ping simulator response for current and next version

* tests: removed non existing simulator endpoint test

* Release v0.0.32-beta.2 [skip ci]

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@genlayer.com>

* Release v0.0.32 [skip ci]

* fix: response check (#78)

* Release v0.0.33 [skip ci]

* Add renovate.json (#75)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* Release v0.0.34 [skip ci]

* chore: update dependencies (#91)

* chore(deps): update dependency prettier to v3.3.3 (#90)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @release-it/conventional-changelog to v8.0.2 (#79)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/jest to v29.5.14 (#80)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint to v8.57.1 (#82)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-import-resolver-typescript to v3.6.3 (#83)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/node to v20.17.0 (#85)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency esbuild to ^0.24.0 (#87)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency eslint-plugin-import to v2.31.0 (#89)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* chore(deps): update dependency @types/jest to v29.5.14 (#93)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* 46 cli add node and docker version (#47) (#88)

* add node and docker version checks

* remove redundant check

* set correct version numbers, add todo

* use config constant for versions

* refactor methods and improve error handling

* implement PR comments: split install and version checks in two separate checks, move checkVersion method to simulator service

* add tests for version checks on init command

* flip version issue evalution

* separate checks in two steps

* remove console log

---------

Co-authored-by: den <26140541+denishacquin@users.noreply.github.com>
Co-authored-by: Den <den@Deniss-MacBook-Pro.local>

* feat: improve install location behavior (#86)

* 3 cli   setup testing framework (#35)

* test: setup jest configuration with typescript

* refactor: removed path alias and changed simulator service toa class injected in the command declaration

* test: added init action adn command tests

* docs: added testing section on readme file

* fix: handle Fetch Error (Mac M3)

* refactor: improved function response

* fix: await for runSimulator async function

* fix: added init action test

* fix: solving conflicts

* test: added reset docker images and containers calls from init

* 33 cli add a warning at init to say that the config is going to be overwritten (#38)

* feat: added initial warning about reseting the setup

* test: added a test for new step introduced

* 37 cli run simulator on certain branch (#39)

* feat: added initial warning about reseting the setup

* test: added a test for new step introduced

* feat: added optional branch when fetching the simulator from github

* feat: added branch name on init and up commands

* test: added tests for branch option on init command

* 41 cli add beta releases for staging branch (#42)

* chore: added npm command for beta release

* ci: added github action for beta release

* Release v0.0.32-beta.0 [skip ci]

* 43 cli fix missing endpoints and simulator response (#44)

* fix: removed non existing simulator endpoint

* refactor: adapted ping simulator response for current and next version

* tests: removed non existing simulator endpoint test

* Release v0.0.32-beta.1 [skip ci]

* 43 cli fix missing endpoints and simulator response (#45)

* fix: removed non existing simulator endpoint

* refactor: adapted ping simulator response for current and next version

* tests: removed non existing simulator endpoint test

* Release v0.0.32-beta.2 [skip ci]

* 46 cli add node and docker version (#47)

* add node and docker version checks

* remove redundant check

* set correct version numbers, add todo

* use config constant for versions

* refactor methods and improve error handling

* implement PR comments: split install and version checks in two separate checks, move checkVersion method to simulator service

* add tests for version checks on init command

* flip version issue evalution

* separate checks in two steps

* remove console log

---------

Co-authored-by: Den <den@Deniss-MacBook-Pro.local>

* Release v0.0.32-beta.3 [skip ci]

* fix: removed unused import

* fix: removed unused import

* fix: updated license in package.json

* tests: added jest setup for globals

* feat: added location for init and up commands

* fix: fixed default location and related tests

* fix: removing genlayer-simulator folder

* fix: removing unused code

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@genlayer.com>
Co-authored-by: den <26140541+denishacquin@users.noreply.github.com>
Co-authored-by: Den <den@Deniss-MacBook-Pro.local>
Co-authored-by: Edinaldo Junior <epsjunior@icloud.com>

* refactor: init command and action now covering 100% using vitest (#115)

* feat: jest to vitest

* refactor: init command and action now covering 100% using vitest

* refactor: removing unused comments

* test: adding 2 new tests - if only node version is too low AND if only docker version is too low

* fix: test always cloning a new repo and trying to checkout AND .gitignore converage folder

* fix: remove comments

* fix: removing redundant test and line description

* test: up command (#105)

* feat: jest to vitest

* refactor: init command and action now covering 100% using vitest

* refactor: removing unused comments

* test: testing up command

* fix: interface types

* fix: removing coverage folder

* test: adding 2 new tests - if only node version is too low AND if only docker version is too low

* fix: test always cloning a new repo and trying to checkout AND .gitignore converage folder

* fix: including location in two tests

* test: start action (#111)

* feat: jest to vitest

* refactor: init command and action now covering 100% using vitest

* refactor: removing unused comments

* test: start action

* refactor: removing comments

* test: adding 2 new tests - if only node version is too low AND if only docker version is too low

* fix: test always cloning a new repo and trying to checkout AND .gitignore converage folder

* fix: adding setSimulatorLocation

---------

Co-authored-by: Cristiam Da Silva <cristiam86@gmail.com>

* feat: group all non major updates (#113)

* Release v0.1.0 [skip ci]

* test: jsonRpcClient test 100% (#116)

* feat: jest to vitest

* refactor: init command and action now covering 100% using vitest

* refactor: removing unused comments

* test: jsonRpcClient test 100%

* test: changing test to cover line 39

* refactor: changing folders name

* test: adding 2 new tests - if only node version is too low AND if only docker version is too low

* fix: test always cloning a new repo and trying to checkout AND .gitignore converage folder

* Release v0.1.1 [skip ci]

* test: 100% coverage on system.ts (#125)

* Release v0.1.2 [skip ci]

* test: simulator service tests 100% (#124)

* Release v0.1.3 [skip ci]

* fix: changing linux command to fix display issue and fixing waiting simulator issue (#127)

* Release v0.1.4 [skip ci]

* feat: adding headless option to cli (#128)

* Release v0.2.0 [skip ci]

* feat: abstract docker interaction (#129)

* feat: docker abstraction (initial config)

* fix: container name and unused var

* test: docker tests

* feat: adding docker ping and improving unit tests

* fix: message and test adjustments

* feat: adding docker.ping

* test: 100% coverage

* Release v0.3.0 [skip ci]

* test: 100% coverage across all files (#138)

* fix: removing paid feature (#137)

* fix: fixing bug when the command does not exist (#141)

* feat: new reset db option (#139)

* Release v0.4.0 [skip ci]

* feat: chack cli version (#143)

* Release v0.5.0 [skip ci]

* feat: Refactor Docker Setup for CLI (#145)

* feat: docker from registry

* fix: changing container's prefix from simulator to cli

* test: 100% coverage on tests

* feat: new docker from registry working configuration and tests

* Release v0.5.1-beta.0 [skip ci]

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@genlayer.com>

* feat: keygen create command (#147)

* feat: keygen create command

* feat: adding option overwrite

* Release v0.6.0 [skip ci]

* feat: adding localnet version option on init (#151)

* Release v0.7.0 [skip ci]

* feat: implement config command (#149)

* feat: keygen create command

* feat: adding option overwrite

* feat: new config command

* Release v0.8.0 [skip ci]

* feat: Add Deploy Command and Update Configurations for Compatibility (#153)

* feat: new deploy command

* fix: Genvm returning error when theres no args

* fix: moving getPrivateKey

* fix: moving getPrivateKey

* fix: new folder to contracts commands

* removing kwargs

* Release v0.9.0 [skip ci]

* fix: removing volumes to stop error when running node without nvm (#156)

* fix: removing volumes to stop error when running node without nvm and removing backup .env file to allow users to run genlayer globally without root user

* fix: removing service to not conflict with other PR

* Release v0.9.1 [skip ci]

* 157 cli is always breaking when a new studio version is released (#159)

* feat: Add `call` Command for Contract Interactions (#154)

* feat: new deploy command

* fix: Genvm returning error when theres no args

* fix: moving getPrivateKey

* fix: moving getPrivateKey

* fix: new folder to contracts commands

* removing kwargs

* feat: call command (contract)

* fix: adding new env var

* feat: method type is chosen dynamically

* feat: Add Ollama Model Management Features (#163)

* fix: CLI hardcoded version and solving issues with containers and images

* feat: new global var to deal with compatible version

* Release v0.10.0-beta.0 [skip ci]

* fix: removing default value from .env.example

* feat: new update ollama command

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@genlayer.com>

* feat: Add New GitHub Action (#130)

* feat: getting default ollama model from config file (#167)

* Release v0.10.0 [skip ci]

* fix: updating studio version and docker compose breaking change (#173)

* Release v0.10.1 [skip ci]

* feat: implement validators commands (#162)

* fix: CLI hardcoded version and solving issues with containers and images

* feat: new global var to deal with compatible version

* Release v0.10.0-beta.0 [skip ci]

* fix: removing default value from .env.example

* feat: all validators commands

* fix: json rpc bug and tests

* feat: non interactive validator creation

* feat: adding models to create random

* test: improving create random validators tests

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@genlayer.com>

* fix: updated studio version (#174)

* fix: updated studio version

* fix: hardhat volumes sharing

* chore: increased localnet default compatible version

* chore: removed unused docker volumes

* fix: hardhat version now uses localnetversion var

---------

Co-authored-by: Edinaldo Junior <epsjunior@icloud.com>

* Release v0.10.2 [skip ci]

* feat: Enhance Ollama Command Workflow and Default Model Handling (#171)

* feat: add a new ollama provider when it does not exist

* test: removing comments

* Release v0.11.0 [skip ci]

* chore: new reset message (#177)

* Release v0.11.1 [skip ci]

* feat: Add `stop` Command and Improve Docker Container Management (#178)

* feat: new command stop

* chore: improving logs

* Release v0.12.0 [skip ci]

* feat: new log and spinner class

* feat: adding spinner to keygen command

* feat: adding spinner and logs to command config

* feat: new up command(class)

* feat: refac init, base action and unit tests

* fix: merging commit

---------

Co-authored-by: Cristiam Da Silva <cristiam86@gmail.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@genlayer.com>
Co-authored-by: kstroobants <130580298+kstroobants@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: den <26140541+denishacquin@users.noreply.github.com>
Co-authored-by: Den <den@Deniss-MacBook-Pro.local>
@Snehal707

Copy link
Copy Markdown

Follow-up: narrowed the rc2 direct-mode failure to Address-typed contract loading.

Environment:

  • Ubuntu 24.04 under WSL
  • Python 3.12.3
  • genlayer-test 0.30.0rc2
  • genlayer-py 0.19.0rc2
  • Fresh GenVM bundle download after clearing the prior bundle cache

Minimal reproducer (fails before the constructor executes):

# { "Depends": "py-genlayer:1jb45aa8ynh2a9c9xn3b7qqh8sm5q93hwfp7jqmwsfhh8jpz09h6" }

from genlayer import *

class AddressProbe(gl.Contract):
    agent: Address
    governor: Address

    def __init__(self, agent: Address, governor: Address):
        self.agent = agent
        self.governor = governor

    @gl.public.view
    def get_addresses(self) -> dict:
        return {"agent": self.agent, "governor": self.governor}

Test invocation:

pytest tests/test_rc2_address_arg_direct.py -v --tb=long

Result: 1 failed. The failure occurs while importing the contract, at the GenLayer runtime message decoder, before constructor execution:

genlayer.py.calldata.DecodingError: unexpected end of memory
ImportError: Failed to load contract: unexpected end of memory

The real project Governor reproduces the same failure under the same fresh rc2 environment. Its traceback also ends in the empty stdin/message decode path with the same DecodingError while importing contracts/governor.py.

This rules out Governor size, method count, DynArray, and overall contract complexity as the primary trigger: the minimal two-Address-argument contract is sufficient. The project previously worked under the stable 0.29.2 / 0.16.3 pairing; I did not reproduce this failure there.

Full captured tracebacks are available in the attached reproduction logs from the test run; the decisive chains above are included so the issue is self-contained.

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.

Renovate: group all non major changes

3 participants