Add "Act as" Support - #134
Conversation
|
👋 Hi — I'm PR Bot, your SAP code review assistant. I'll automatically review your pull requests for code quality, security, and SAP compliance. Get an overview of what I do → What I do
Key commands
Configure me for your teamCreate {
"$schema": "https://devops-insights-pr-bot.cfapps.eu10-004.hana.ondemand.com/schema/pull_request_bot.json",
"features": {
"control_panel": false,
"summarize": {
"auto_generate_summary": true,
"auto_insert_summary": true,
"auto_run_on_draft_pr": true,
"use_custom_summarize_prompt": false,
"use_custom_summarize_output_template": false,
"excluded_paths": [],
"auto_exclude_authors": []
},
"review": {
"auto_generate_review": true,
"auto_run_on_draft_pr": false,
"use_custom_review_focus": false,
"excluded_paths": [],
"auto_exclude_authors": []
},
"sonar_fix": {
"enable": true,
"excluded_rules": []
},
"pipeline_fix": {
"enable": true
}
},
"excluded_paths": []
}*This introduction message will be shown to you only once, you will not see it in future PRs. |
SummaryThe following content is AI-generated and provides a summary of the pull request: Add "Act as" Support via
|
There was a problem hiding this comment.
The PR introduces a payload-driven common override mechanism for audit event identity fields (v2.2.0 schema bump) with good test coverage across all event types. The main issue found is that "userInitiatorContext" and "userImpersonatedContext" are listed in COMMON_OVERRIDE_FIELDS while those same fields are already handled by resolveUserInitiatorContext called just before applyCommonOverridesFromPayload — this creates a redundant double-write that is coincidentally harmless today but fragile against future refactoring. Please address the open comment before merging.
PR Bot Information
Version: 1.31.9
- Correlation ID:
e4a59ba0-a78a-11f1-88cc-b0343f435e6b - File Content Strategy: Full file content
- LLM:
anthropic--claude-4.6-sonnet - Event Trigger:
issue_comment.created
No description provided.