Skip to content

Revert "fix payload in workflows"#341

Merged
msaroufim merged 1 commit into
mainfrom
revert-331-fix_p
Aug 26, 2025
Merged

Revert "fix payload in workflows"#341
msaroufim merged 1 commit into
mainfrom
revert-331-fix_p

Conversation

@msaroufim

Copy link
Copy Markdown
Member

Reverts #331

Copilot AI review requested due to automatic review settings August 26, 2025 17:26
@msaroufim msaroufim merged commit b87deb7 into main Aug 26, 2025
5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reverts a previous fix that modified the payload format in GitHub Actions workflows and test configuration. The revert undoes changes that had implemented payload compression and encoding for workflow execution.

  • Reverts the mode from "test" back to "script" in the test payload configuration
  • Removes payload compression and base64 encoding from both NVIDIA and AMD workflows
  • Simplifies payload handling by writing raw JSON directly to file instead of compressed format

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
scripts/github_test_payload.json Changes mode field from "test" back to "script"
.github/workflows/nvidia_workflow.yml Removes payload compression/encoding, writes raw JSON to file
.github/workflows/amd_workflow.yml Removes payload compression/encoding, writes raw JSON to file

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

},
"main": "main.py",
"mode": "test"
"mode": "script"

Copilot AI Aug 26, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverting the mode from 'test' to 'script' may affect how this payload is processed downstream. Ensure that all consumers of this payload file are compatible with the 'script' mode and that any test-specific logic is properly handled.

Suggested change
"mode": "script"
"mode": "test"

Copilot uses AI. Check for mistakes.
Comment on lines +49 to +50
# Now write to file (won't be logged since it's masked)
echo "$PAYLOAD" > payload.json

Copilot AI Aug 26, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the compression and base64 encoding may break compatibility with Python scripts that expect the compressed format. Verify that the consuming Python scripts can handle raw JSON payloads or update them accordingly.

Copilot uses AI. Check for mistakes.
Comment on lines +42 to +43
# Now write to file (won't be logged since it's masked)
echo "$PAYLOAD" > payload.json

Copilot AI Aug 26, 2025

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the compression and base64 encoding may break compatibility with Python scripts that expect the compressed format. Verify that the consuming Python scripts can handle raw JSON payloads or update them accordingly.

Suggested change
# Now write to file (won't be logged since it's masked)
echo "$PAYLOAD" > payload.json
# Compress and base64-encode the payload before writing to file
echo "$PAYLOAD" | gzip | base64 > payload.json

Copilot uses AI. Check for mistakes.
@github-actions

Copy link
Copy Markdown

Coverage report

This PR does not seem to contain any modification to coverable code.

SinatrasC pushed a commit to SinatrasC/kernelbot that referenced this pull request Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants