• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

agentjido / jido_ai / d686560a43210e1b1a9deab0bb17b02eea8d24c4
44%

Build:
DEFAULT BRANCH: main
Ran 13 Aug 2025 09:08PM UTC
Jobs 3
Files 42
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Aug 2025 09:07PM UTC coverage: 44.292% (+0.8%) from 43.445%
d686560a43210e1b1a9deab0bb17b02eea8d24c4

push

github

web-flow
Refactor Jido.AI.Keyring module and enhance logging capabilities (#50)

* Refactor Jido.AI module and enhance logging capabilities

- Updated the Jido.AI module documentation to provide a clearer overview of the API, including configuration and model management.
- Introduced a new Jido.AI.Keyring.Filter module to sanitize sensitive data in log messages, preventing accidental exposure of API keys and other secrets.
- Modified the logger configuration to utilize the new filter for improved security.
- Enhanced the Keyring module to support ETS for faster environment variable lookups and improved session management.

This commit improves the overall security and usability of the Jido.AI library.

* Formatting - Update JWT token test for clarity

- Reformatted the JWT token string in the `Jido.AI.Keyring.FilterTest` to improve readability.
- This change enhances the maintainability of the test by making the token easier to identify and modify in the future.

* Refactor Jido.AI.Keyring for improved environment variable management

- Updated the `Jido.AI` module to dynamically construct keys for API keys and models, enhancing flexibility.
- Introduced a new private function in `Jido.AI.Keyring` to generate environment table names, improving ETS table management.
- Enhanced the `start_link` and `init` functions to support unique ETS table names and added error handling for environment table lookups.
- Updated the `terminate` function to clean up ETS tables on process termination, preventing conflicts on restart.
- Removed redundant sensitive patterns in the `Jido.AI.Keyring.Filter` module for better clarity.

These changes improve the overall robustness and maintainability of the Jido.AI library.

* Refactor sensitive key handling in Jido.AI.Keyring.Filter to address Credo issues

- Renamed `is_sensitive_key?/1` to `sensitive_key?/1` for improved clarity and consistency.
- Updated the `sanitize_data/1` function to use the new `sensitive_key?/1` function.
- A... (continued)

64 of 96 new or added lines in 3 files covered. (66.67%)

1 existing line in 1 file now uncovered.

842 of 1901 relevant lines covered (44.29%)

20.33 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.22
lib/jido_ai/keyring/filter.ex
13
73.63
-10.24% lib/jido_ai/keyring.ex
18
0.0
0.0% lib/jido_ai.ex

Uncovered Existing Lines

Lines Coverage ∆ File
1
73.63
-10.24% lib/jido_ai/keyring.ex
Jobs
ID Job ID Ran Files Coverage
1 d686560a43210e1b1a9deab0bb17b02eea8d24c4.1 13 Aug 2025 09:08PM UTC 42
44.25
GitHub Action Run
2 d686560a43210e1b1a9deab0bb17b02eea8d24c4.2 13 Aug 2025 09:09PM UTC 42
44.15
GitHub Action Run
3 d686560a43210e1b1a9deab0bb17b02eea8d24c4.3 13 Aug 2025 09:09PM UTC 42
44.15
GitHub Action Run
Source Files on build d686560a43210e1b1a9deab0bb17b02eea8d24c4
  • Tree
  • List 42
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d686560a on github
  • Prev Build on main (#5F86DEB6...)
  • Next Build on main (#59A5D631...)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc