shamoon
db5d06a4c8
Enhancement: ignore stale labeling events ( #1311 )
...
Check dist/ / Check dist/ (push) Has been cancelled
Code scanning / CodeQL analysis (push) Has been cancelled
Licensed / Licensed (push) Has been cancelled
e2e tests / dry-run-test (push) Has been cancelled
Basic validation / Basic validation (push) Has been cancelled
* Ignore updates if only stale label changed after marking
* Initial tests
* test hasOnlyStaleLabelUpdateSince itself
* Actually we should only ignore label events, not unlabel
* Add logger
* Fix test
* Remove trailing whitespace
* Add test for non-label event
* Add boundary test
* Add error handling to hasOnlyStaleLabelAddedSince
* Add comment noting intentional event before boundary
* Remove unneeded optional chaining
* Limit pagination to max 3 calls / 300 events
* Rename method
* Handle invalid timestamps
* Fallback when limit reached
* Oh wow, just realized we already got events...
* Refactor
* Lint
* Build
* Remove events "cache"
* Update index.js
2026-03-18 11:25:18 -05:00