Open
Conversation
This ensures the same token permissions across all automation workflows in the PrismarineJS ecosystem.
- test-automation-e2e.yml: Comprehensive E2E test for automation chain - cleanup-test-artifacts.yml: Daily cleanup of test PRs and branches - Uses test versions (1.99.99-test-*) to avoid production pollution - Auto-triggers downstream repos and validates full chain - Includes cleanup mechanism and detailed reporting
- Replace complex orchestration with simple generator trigger - Let existing automation chain handle the rest automatically - Much cleaner and follows the actual production flow
This is the most natural test - simulate what happens when the cron job runs and detects a new version. Let the entire automation chain run exactly as it does in production.
- Modified update-helper.yml to accept test_version parameter - Updated helper bot to handle TEST_VERSION env var - Test version triggers full automation chain naturally - E2E test now passes test version to update-helper
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.
Implements comprehensive testing for the PrismarineJS automation pipeline.
Features
End-to-End Test Workflow: test-automation-e2e.yml
Generates test versions (1.99.99-test-TIMESTAMP)
Creates test PRs with [TEST] prefix
Triggers downstream repos (node-minecraft-protocol to mineflayer)
Validates full automation chain
Auto-cleanup after completion
Daily Cleanup: cleanup-test-artifacts.yml
Removes test PRs/branches older than 24 hours
Runs daily at 02:00 UTC
Prevents test pollution in repos
Benefits