chore: sync actions from gh-aw@v0.75.0#112
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Automated sync of the gh-aw setup/actions code to v0.75.0, primarily expanding OTLP observability support (custom attributes + additional outcome metrics) and improving safe-outputs handling around pull request creation and temporary ID resolution.
Changes:
- Add support for user-defined OTLP span attributes via
GH_AW_OTLP_ATTRIBUTES, including masking support in logs. - Extend outcome evaluation/span emission with reactions, comment counts, zero-touch rate, and median resolution time.
- Improve safe-outputs PR handling (updated result fields, PR body synthetic updates for resolved temporary IDs) and refactor create-PR helpers into a shared module.
Show a summary per file
| File | Description |
|---|---|
| setup/sh/mask_otlp_attributes.sh | New script to mask custom OTLP attribute values in Actions logs. |
| setup/js/send_otlp_span.cjs | Parse/attach custom OTLP attributes; tighten agent token-usage emission logic. |
| setup/js/emit_outcome_spans.cjs | Emit new outcome attributes and include custom OTLP attributes in summary span. |
| setup/js/evaluate_outcomes.cjs | Collect additional outcome signals and compute median resolution + zero-touch metrics. |
| setup/js/safe_outputs_action_outputs.cjs | Align exported action outputs with updated create-PR result shape. |
| setup/js/safe_output_handler_manager.cjs | Allow synthetic updates for create_pull_request bodies when temp IDs resolve. |
| setup/js/create_pull_request.cjs | Refactor helpers, adjust returned fields for PR creation results, and retain managed body for synthetic updates. |
| setup/js/create_pull_request_helpers.cjs | New helper module extracted from create-pull-request handler. |
| setup/js/pi_provider.cjs | Gate AWF reflect calls behind AWF_REFLECT_ENABLED. |
| setup/js/model_multipliers.json | Update multipliers and add deprecated model list. |
| setup/js/effective_tokens.cjs | Update ET formula to subtract cached input; minor robustness/clarity changes. |
| setup/js/generate_safe_outputs_tools.cjs | Extend tool meta typing + small formatting change. |
| setup/js/close_entity_helpers.cjs | Formatting-only change. |
| setup/js/close_discussion.cjs | Formatting-only change. |
| setup/js/awf_reflect.cjs | Clarify /reflect port behavior in docs comment. |
Copilot's findings
Tip
Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Files reviewed: 15/15 changed files
- Comments generated: 1
Comment on lines
+51
to
+53
| for _val in "${_values[@]}"; do | ||
| [ -n "$_val" ] && echo '::add-mask::'"$_val" | ||
| done |
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.
Automated sync of actions from gh-aw at
v0.75.0.