René's URL Explorer Experiment


Title: fix(webapp): keep the branches list query string when archiving a branch by claude[bot] · Pull Request #4724 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: fix(webapp): keep the branches list query string when archiving a branch by claude[bot] · Pull Request #4724 · triggerdotdev/trigger.dev

X Title: fix(webapp): keep the branches list query string when archiving a branch by claude[bot] · Pull Request #4724 · triggerdotdev/trigger.dev

Description: Before: archiving a branch dropped the query string on the way back to the branches list, so the list reset to page 1. Working down a long list meant re-navigating to the page you were on after every archive. After: you land back on the exact page you archived from, with page, search and showArchived intact. The archive action now redirects to the page the request came from instead of rebuilding a bare branches path. How The archive dialog already submits the page it was opened from as a hidden redirectPath field (${location.pathname}${location.search}), and the failure path already redirected to it — only the success path ignored it and rebuilt the path with branchesPath/branchesDevPath, which have no query string. Both paths now redirect to the submitted path, run through the existing sanitizeRedirectPath helper to keep the redirect same-origin (the same idiom used by resources.batches.$batchId.check-completion). ✅ Checklist I have followed every step in the contributing guide The PR title follows the convention. I ran and tested the code works Testing Three files change: apps/webapp/app/routes/resources.branches.archive.tsx — the fix. apps/webapp/test/archiveBranchRedirect.test.ts — new test that drives the archive action and asserts the redirect Location: the query string survives on both success and failure, and an off-origin redirectPath falls back to /. Reverting the fix makes two of the three cases fail, so the test covers the regression. .server-changes/archive-branch-keeps-list-page.md — release-note entry, since this is a user-facing server-only change. Also ran pnpm run typecheck and oxlint for apps/webapp — both clean. Changelog Archiving a branch now returns you to the same page of the branches list instead of resetting it to page 1. Screenshots None — no visual change.

Open Graph Description: Before: archiving a branch dropped the query string on the way back to the branches list, so the list reset to page 1. Working down a long list meant re-navigating to the page you were on after eve...

X Description: Before: archiving a branch dropped the query string on the way back to the branches list, so the list reset to page 1. Working down a long list meant re-navigating to the page you were on after eve...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/4724

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5d59a6f9-e90a-c52c-7d28-bda992c23f74
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAB76:21CF26:1F2DFA:2C923F:6AFAFE2B
html-safe-noncef7bd39033fbc7dd593af56385fb02e83fc2eea0a7906f1d01c33c73372792471
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjc2OjIxQ0YyNjoxRjJERkE6MkM5MjNGOjZBRkFGRTJCIiwidmlzaXRvcl9pZCI6IjE1MDUwMDkzNzQ3MDU5NDIwNjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacdd64bcd66f730bcb8ed5098e687b443883d3d40b76838cda6540b826bb85854a
hovercard-subject-tagpull_request:4316326937
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4724/files
twitter:imagehttps://avatars.githubusercontent.com/in/1236702?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1236702?s=400&v=4
og:image:altBefore: archiving a branch dropped the query string on the way back to the branches list, so the list reset to page 1. Working down a long list meant re-navigating to the page you were on after eve...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54f7a6886649661c85eee945cca0773566bfb4065370e0429b7c8f7204184650
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3a69df62e401f1cbe8bd1ad791845bb4fc5b1c1d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4724/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4724%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4724%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4724/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4724/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4724/files
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
isshaddadhttps://github.com/isshaddad
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
fix/preserve-branches-query-string-on-archivehttps://github.com/triggerdotdev/trigger.dev/tree/fix/preserve-branches-query-string-on-archive
Conversation 5 https://github.com/triggerdotdev/trigger.dev/pull/4724
Commits 4 https://github.com/triggerdotdev/trigger.dev/pull/4724/commits
Checks 45 https://github.com/triggerdotdev/trigger.dev/pull/4724/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/4724/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4724/files
fix(webapp): keep the branches list query string when archiving a branch https://github.com/triggerdotdev/trigger.dev/pull/4724/files#top
Show all changes 4 commits https://github.com/triggerdotdev/trigger.dev/pull/4724/files
81c9e9e fix(webapp): keep the branches list query string when archiving a branch claude Aug 19, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4724/commits/81c9e9e5305beb1f406c11e9f1b99279b4c15216
5669e0d docs: add server change note for the branches list archive redirect claude Aug 19, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4724/commits/5669e0d23eaa7476cf8de57f5c8fa44bfc8b0a3b
9c18422 refactor(webapp): drop the comments from the branch archive redirect claude Aug 19, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4724/commits/9c1842231c83473bad9a1288b7d4c6c656b0d749
ec7a892 test(webapp): reset the archive stub flag in beforeEach claude Aug 19, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4724/commits/ec7a892e1c341ec80f121a6dcce7993315954105
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/4724/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4724/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4724/files
archive-branch-keeps-list-page.md https://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-a395df1c35f42373b835ed174fd529d46061c4a1dd218a372acf8a14d29bb5c5
resources.branches.archive.tsx https://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-444a48eef0ac87d70b1caa0398089cd88db6e5735603b722d06ff789c5b7b573
archiveBranchRedirect.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-253a6cdec32b0e483dd31cd3b66b50518221713644bff430a18017ae729f5324
.server-changes/archive-branch-keeps-list-page.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-a395df1c35f42373b835ed174fd529d46061c4a1dd218a372acf8a14d29bb5c5
View file https://github.com/triggerdotdev/trigger.dev/blob/ec7a892e1c341ec80f121a6dcce7993315954105/.server-changes/archive-branch-keeps-list-page.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4724/{{ revealButtonHref }}
apps/webapp/app/routes/resources.branches.archive.tsxhttps://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-444a48eef0ac87d70b1caa0398089cd88db6e5735603b722d06ff789c5b7b573
View file https://github.com/triggerdotdev/trigger.dev/blob/ec7a892e1c341ec80f121a6dcce7993315954105/apps/webapp/app/routes/resources.branches.archive.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4724/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-444a48eef0ac87d70b1caa0398089cd88db6e5735603b722d06ff789c5b7b573
https://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-444a48eef0ac87d70b1caa0398089cd88db6e5735603b722d06ff789c5b7b573
https://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-444a48eef0ac87d70b1caa0398089cd88db6e5735603b722d06ff789c5b7b573
https://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-444a48eef0ac87d70b1caa0398089cd88db6e5735603b722d06ff789c5b7b573
apps/webapp/test/archiveBranchRedirect.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/4724/files#diff-253a6cdec32b0e483dd31cd3b66b50518221713644bff430a18017ae729f5324
View file https://github.com/triggerdotdev/trigger.dev/blob/ec7a892e1c341ec80f121a6dcce7993315954105/apps/webapp/test/archiveBranchRedirect.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4724/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4724/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.