feat(triggers): add a-train + tests#282
Open
dan-online wants to merge 2 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR introduces the A-Train trigger functionality, including implementation, tests, and update to the documentation.
- Added a new module and tests for the A-Train trigger.
- Implemented the ATrain and ATrainRequest structures along with integration into the existing Trigger enum and its related functions.
- Updated the README to include A-Train as a supported trigger.
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| crates/service/src/tests/triggers/mod.rs | Added A-Train test module reference |
| crates/service/src/tests/triggers/a_train.rs | Added tests for ATrainRequest JSON parsing and path logic |
| crates/service/src/settings/triggers/mod.rs | Integrated ATrain variant in Trigger enum and functions |
| crates/service/src/settings/triggers/a_train.rs | Added implementation for ATrain and ATrainRequest |
| README.md | Updated trigger list to include A-Train trigger |
Deploying autopulseui with
|
| Latest commit: |
b418256
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://8d4743b5.autopulseui.pages.dev |
| Branch Preview URL: | https://feat-triggers-a-train.autopulseui.pages.dev |
ff61d06 to
b418256
Compare
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.
Description
Resolves #262
Type of change