Repository navigation
feat(stratus): add credential reference element on contracts (#7850) - #454
Merged
Gabriel Pezé (gabriel-peze) merged 2 commits intoOct 2, 2026
Merged
Gabriel Pezé (gabriel-peze) merged 2 commits into
Gabriel Pezé (gabriel-peze) merged 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #454 +/- ##
=======================================
Coverage 81.58% 81.59%
=======================================
Files 153 153
Lines 6028 6030 +2
=======================================
+ Hits 4918 4920 +2
Misses 1110 1110
📢 Thoughts on this report? Let us know! 🚀 New features to boost your workflow:
|
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The referenced credential API is unavailable in the pinned/runtime dependency, causing imports to fail before tests or the injector run.
Get a fresh assessment by requesting another Copilot review.
Pull request overview
Adds credential-reference fields to Stratus contracts with regression coverage.
Changes:
- Adds credential-reference elements to generated contracts.
- Tests field properties, ordering, and platform mappings.
File summaries
| File | Summary |
|---|---|
stratus/test/test_contracts.py |
Tests credential-reference contract behavior. |
stratus/stratus/contracts/__init__.py |
Adds credential-reference fields during contract generation. |
Review details
- Files reviewed: 2/2 changed files
- Comments generated: 1
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| SupportedLanguage, | ||
| prepare_contracts, | ||
| ) | ||
| from pyoaev.credential.utils import build_single_referenced_credential_element |
Gabriel Pezé (gabriel-peze)
force-pushed
the
isse/7850-add-credential-reference-to-contract
branch
from
September 30, 2026 13:29
4cfb9a7 to
7589603
Compare
Frédéric BASLER (Megafredo)
requested review from
Frédéric BASLER (Megafredo) and
Ferdinand (guzmud)
September 30, 2026 13:42
Frédéric BASLER (Megafredo)
approved these changes
Sep 30, 2026
Gabriel Pezé (gabriel-peze)
force-pushed
the
isse/7850-add-credential-reference-to-contract
branch
from
October 2, 2026 11:22
7589603 to
b8ae375
Compare
Gabriel Pezé (gabriel-peze)
deleted the
isse/7850-add-credential-reference-to-contract
branch
October 2, 2026 11:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Testing Instructions
Related issues
/!\ Do not merge before this PR /!\