Skip to content
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

Make agent doers' tocks configurable from habitat config file #265

Merged
merged 3 commits into from
Jul 11, 2024

Conversation

rubelhassan
Copy link
Contributor

@rubelhassan rubelhassan commented Jul 2, 2024

Copy link

codecov bot commented Jul 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.10%. Comparing base (18d3ad7) to head (959b6c3).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
+ Coverage   93.06%   93.10%   +0.04%     
==========================================
  Files          36       36              
  Lines        7121     7221     +100     
==========================================
+ Hits         6627     6723      +96     
- Misses        494      498       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tests/app/test_agenting.py Outdated Show resolved Hide resolved
@2byrds
Copy link
Collaborator

2byrds commented Jul 3, 2024

@rubelhassan LGTM. if you were able to successfully run the signify-ts integration scripts against a keria with these changes I'll approve it.

@@ -289,6 +290,8 @@ def __init__(self, hby, rgy, agentHab, agency, caid, **opts):
self.agentHab = agentHab
self.agency = agency
self.caid = caid
self.cfd = MappingProxyType(dict(self.hby.cf.get()) if self.hby.cf is not None else dict())
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need MappingProxyType here instead of accessing the dict directly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've used it to make the dict immutable, so it cannot be changed unintentionally.

@rubelhassan rubelhassan requested a review from pfeairheller July 11, 2024 13:44
@pfeairheller
Copy link
Member

I just resolved the conflicts with main for this PR. Once it builds I'll merge it.

@rubelhassan
Copy link
Contributor Author

I just resolved the conflicts with main for this PR. Once it builds I'll merge it.

Thank you, I was about update the PR :)

@pfeairheller pfeairheller merged commit c83904d into WebOfTrust:main Jul 11, 2024
5 checks passed
rodolfomiranda pushed a commit to roots-id/keria that referenced this pull request Jul 11, 2024
…rust#265)

* Make agent doers' tocks configurable from habitat config file

* Fix typo of naming in test_load_tocks_config

---------

Co-authored-by: Rubel Hassan Mollik <rubel.hassan@outlook.com>
Co-authored-by: Philip Feairheller <pfeairheller@gmail.com>
@rubelhassan rubelhassan deleted the issue-258 branch July 11, 2024 22:40
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.

3 participants