-
Notifications
You must be signed in to change notification settings - Fork 0
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
ウェブフックの recording_metadata の送信可否を設定できるようにする #51
Merged
Merged
Conversation
This file contains 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
voluntas
reviewed
Oct 30, 2024
@@ -56,6 +56,8 @@ type Config struct { | |||
WebhookTypeSplitArchiveEndUploaded string `ini:"webhook_type_split_archive_end_uploaded"` | |||
WebhookTypeReportUploaded string `ini:"webhook_type_report_uploaded"` | |||
|
|||
ExcludeWebhookRecordingMetadata bool `ini:"exclude_webhook_recording_metadata"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
voluntas
approved these changes
Oct 30, 2024
…into feature/add-recording-metadata-config
Hexa
approved these changes
Jan 15, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 点コメントしていますが、判断はお任せします
…into feature/add-recording-metadata-config
マージします |
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.
変更履歴
exclude_webhook_recording_metadata
を追加し、report ファイルアップロード後のウェブフックにrecording_metadata
を含めるかどうか設定できるようにするfalse
でrecording_metadata
を送信するウェブフックに含めるtrue
を設定するとレポートファイルにrecording_metadata
またはmetadata
が含まれていてもウェブフックには含めないThis pull request introduces a new configuration option to control the inclusion of
recording_metadata
in webhook payloads after a report file upload. The key changes involve adding this configuration to relevant files and updating the logic to respect the new setting.Configuration Updates:
config.go
: AddedExcludeWebhookRecordingMetadata
to theConfig
struct to allow users to configure the exclusion ofrecording_metadata
in webhook payloads.config_example.ini
: Provided an example configuration entry forexclude_webhook_recording_metadata
to guide users on how to set this option.Logic Updates:
uploader.go
: Updated thehandleReport
function to check the newExcludeWebhookRecordingMetadata
setting and conditionally includerecording_metadata
in the webhook payload.Documentation:
CHANGES.md
: Documented the newexclude_webhook_recording_metadata
configuration option, explaining its default behavior and how to configure it.