Commit 557287c
feat: deep-link the logs link to the batch-filtered activity log on batch PRs
Batch PRs get their logs link back, pointing at the activity log with the
batch_pull filter (the batch's own lifecycle events) instead of the per-PR
event log. The link stays on closed batch PRs — the batch's event history is
the post-mortem trail. preset=Past1month widens the activity log's default
1-hour window, which would render empty for any batch older than an hour;
same convention as the dashboard's own queue → activity-log deep link.
MRGFY-7878
Test plan:
- npx jest (279 passing) — open batch PR (queue=batch_pr, logs=batch_pull),
closed batch PR (logs only), non-batch PRs keep the per-PR event-log link.
- npx biome check — clean.
Depends-On: Mergifyio/monorepo#36623
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QyefSTmdtUKXCSbYRJvSQu
Change-Id: I5c6a720156143892c507ecfc3921f14c400a5b8b1 parent 8a71382 commit 557287c
2 files changed
Lines changed: 42 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
901 | 901 | | |
902 | 902 | | |
903 | 903 | | |
904 | | - | |
| 904 | + | |
905 | 905 | | |
906 | | - | |
| 906 | + | |
907 | 907 | | |
908 | 908 | | |
909 | 909 | | |
910 | | - | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
911 | 914 | | |
912 | 915 | | |
913 | | - | |
914 | | - | |
| 916 | + | |
| 917 | + | |
915 | 918 | | |
916 | 919 | | |
| 920 | + | |
917 | 921 | | |
918 | 922 | | |
919 | | - | |
| 923 | + | |
920 | 924 | | |
921 | 925 | | |
922 | | - | |
| 926 | + | |
| 927 | + | |
923 | 928 | | |
924 | 929 | | |
925 | | - | |
| 930 | + | |
926 | 931 | | |
927 | 932 | | |
928 | 933 | | |
929 | | - | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
930 | 938 | | |
931 | 939 | | |
932 | 940 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
535 | 535 | | |
536 | 536 | | |
537 | 537 | | |
538 | | - | |
539 | | - | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
540 | 541 | | |
541 | 542 | | |
542 | 543 | | |
543 | 544 | | |
544 | 545 | | |
545 | | - | |
546 | | - | |
547 | | - | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
548 | 551 | | |
549 | 552 | | |
550 | 553 | | |
551 | 554 | | |
552 | 555 | | |
553 | 556 | | |
554 | 557 | | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
555 | 575 | | |
556 | 576 | | |
557 | 577 | | |
| |||
0 commit comments