-
Notifications
You must be signed in to change notification settings - Fork 1
feat: per-test configuration for triggers and alerts #74
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
Open
metalwarrior665
wants to merge
25
commits into
master
Choose a base branch
from
claude/configurable-test-triggers-li7wc
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
d1fdf93
feat: add configurable test triggers (runWhen) and alerts per test/suite
claude 4757eb7
refactor: redesign trigger config API — config-first with hierarchica…
claude ff86fa3
feat: pass alerts config through task.meta to report-tests
claude 50b2e43
test: add unit tests for trigger filtering, config merging, and alerts
claude a2a8e2e
refactor: separate failedAssertions from per-channel notification lists
claude ca6263a
Restructure trigger/alert config: nested triggers+options, field-by-f…
claude d8c6af1
Unify naming: configStack/mergeInheritedConfigs → triggersStack/merge…
claude d97068b
Switch runWhen to opt-out semantics: unset fields default to true
claude 58da6bd
Move runWhen defaults to DEFAULT_TRIGGERS config object instead of ch…
claude 6277f29
Polish: dedup DEFAULT_TRIGGERS reference, fix JSDoc examples for opt-…
claude 0c7b919
Add BACKWARD_COMPATIBLE_HOURLY_DIR: hourly defaults to false, auto-en…
claude 157798f
Remove getMergedTriggers wrapper, inline mergeInheritedTriggers at ca…
claude 7d407e5
refactor(lib): split lib.ts into consts, utils, and core API modules
claude 29984a8
refactor(lib): inline getCallerFile into getEffectiveDefaults
claude 323d44f
feat(consts): add alerts to DEFAULT_TRIGGERS with Required<AlertsConfig>
claude 656ed88
fix(lib): preserve alerts in getEffectiveDefaults hourly override path
claude 95b343a
docs(readme): update for trigger/alert config API, drop migration sec…
claude d7e8985
docs(readme): mark core directory as legacy, remove backward_compatib…
claude b1f34ea
Merge branch 'master' into claude/configurable-test-triggers-li7wc
metalwarrior665 b55b450
revert refactoring
metalwarrior665 c087fd8
polish tests
metalwarrior665 c0b51e0
Merge branch 'master' into claude/configurable-test-triggers-li7wc
metalwarrior665 5f81b13
fix after conflict resolution
metalwarrior665 c3ebc2e
Merge branch 'master' into claude/configurable-test-triggers-li7wc
metalwarrior665 300432e
fix problems after conflict merge
metalwarrior665 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,12 @@ | ||
| export { describe, testActor, testStandbyActor, ExpectStatic } from './lib/lib.js'; | ||
| export { describe, testActor, testStandbyActor, ExpectStatic, getCurrentTrigger, TRIGGER_ENV_VAR } from './lib/lib.js'; | ||
| export { RunTestResult } from './lib/run-test-result.js'; | ||
| export type { | ||
| TriggerType, | ||
| RunWhenConfig, | ||
| AlertsConfig, | ||
| TriggerConfig, | ||
| DescribeConfig, | ||
| DescribeOptions, | ||
| TestActorConfig, | ||
| ActorOptions, | ||
| } from './lib/types.js'; |
Oops, something went wrong.
Oops, something went wrong.
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.
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.
this is a weird name 😄