René's URL Explorer Experiment


Title: WIP Background heartbeating and activity management utility by mnichols · Pull Request #652 · temporalio/samples-java · GitHub

Open Graph Title: WIP Background heartbeating and activity management utility by mnichols · Pull Request #652 · temporalio/samples-java

X Title: WIP Background heartbeating and activity management utility by mnichols · Pull Request #652 · temporalio/samples-java

Description: When an activity implementation has some call that might "hang" or take a very long time to complete, we want to be able to cancel that due to a ActivityCompletionException that was received by our...

Open Graph Description: When an activity implementation has some call that might "hang" or take a very long time to complete, we want to be able to cancel that due to a ActivityCompletionException that was recei...

X Description: When an activity implementation has some call that might "hang" or take a very long time to complete, we want to be able to cancel that due to a ActivityCompletionException that w...

Opengraph URL: https://github.com/temporalio/samples-java/pull/652

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:24019018-e66e-cbec-27be-7a72d23da60a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id894A:115C7B:16F4A0:1FE874:6981BE5E
html-safe-nonce19bd811b285876e52bdf010d1981e59c601086679e331651781b84408abf619a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4OTRBOjExNUM3QjoxNkY0QTA6MUZFODc0OjY5ODFCRTVFIiwidmlzaXRvcl9pZCI6IjE5ODc5NjY3MTc1NjA3MzMyNzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd6fe8099e4e136ed517d33ff0e193495bb94c7d9e05bf3a948484aa6666beecf
hovercard-subject-tagpull_request:1974598904
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/temporalio/samples-java/652/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/a830a964f9e20333c1b57ec580b792b798502ba16b3bfd4761489f9d13491ed1/temporalio/samples-java/pull/652
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a830a964f9e20333c1b57ec580b792b798502ba16b3bfd4761489f9d13491ed1/temporalio/samples-java/pull/652
og:image:altWhen an activity implementation has some call that might "hang" or take a very long time to complete, we want to be able to cancel that due to a ActivityCompletionException that was recei...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemnichols
hostnamegithub.com
expected-hostnamegithub.com
Nonee137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6
turbo-cache-controlno-preview
go-importgithub.com/temporalio/samples-java git https://github.com/temporalio/samples-java.git
octolytics-dimension-user_id56493103
octolytics-dimension-user_logintemporalio
octolytics-dimension-repository_id215840816
octolytics-dimension-repository_nwotemporalio/samples-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id215840816
octolytics-dimension-repository_network_root_nwotemporalio/samples-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasedd58d68a7813bbec9c91422c8c35f4af33832d70
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftemporalio%2Fsamples-java%2Fpull%2F652
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
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
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://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/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftemporalio%2Fsamples-java%2Fpull%2F652
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=temporalio%2Fsamples-java
Reloadhttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
Reloadhttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
Reloadhttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
temporalio https://patch-diff.githubusercontent.com/temporalio
samples-javahttps://patch-diff.githubusercontent.com/temporalio/samples-java
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Ftemporalio%2Fsamples-java
Fork 177 https://patch-diff.githubusercontent.com/login?return_to=%2Ftemporalio%2Fsamples-java
Star 233 https://patch-diff.githubusercontent.com/login?return_to=%2Ftemporalio%2Fsamples-java
Code https://patch-diff.githubusercontent.com/temporalio/samples-java
Issues 25 https://patch-diff.githubusercontent.com/temporalio/samples-java/issues
Pull requests 19 https://patch-diff.githubusercontent.com/temporalio/samples-java/pulls
Actions https://patch-diff.githubusercontent.com/temporalio/samples-java/actions
Projects 0 https://patch-diff.githubusercontent.com/temporalio/samples-java/projects
Security 0 https://patch-diff.githubusercontent.com/temporalio/samples-java/security
Insights https://patch-diff.githubusercontent.com/temporalio/samples-java/pulse
Code https://patch-diff.githubusercontent.com/temporalio/samples-java
Issues https://patch-diff.githubusercontent.com/temporalio/samples-java/issues
Pull requests https://patch-diff.githubusercontent.com/temporalio/samples-java/pulls
Actions https://patch-diff.githubusercontent.com/temporalio/samples-java/actions
Projects https://patch-diff.githubusercontent.com/temporalio/samples-java/projects
Security https://patch-diff.githubusercontent.com/temporalio/samples-java/security
Insights https://patch-diff.githubusercontent.com/temporalio/samples-java/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Ftemporalio%2Fsamples-java%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Ftemporalio%2Fsamples-java%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#issue-comment-box
mnicholshttps://patch-diff.githubusercontent.com/mnichols
temporalio:mainhttps://patch-diff.githubusercontent.com/temporalio/samples-java/tree/main
mnichols:heartbeat-threadhttps://patch-diff.githubusercontent.com/mnichols/samples-java/tree/heartbeat-thread
WIP Background heartbeating and activity management utility https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#top
mnicholshttps://patch-diff.githubusercontent.com/mnichols
temporalio:mainhttps://patch-diff.githubusercontent.com/temporalio/samples-java/tree/main
mnichols:heartbeat-threadhttps://patch-diff.githubusercontent.com/mnichols/samples-java/tree/heartbeat-thread
Conversation 4 https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
Commits 5 https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits
Checks 0 https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/checks
Files changed https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/files
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/mnichols
mnicholshttps://patch-diff.githubusercontent.com/mnichols
Jul 17, 2024https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#issue-2414626356
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
mnicholshttps://patch-diff.githubusercontent.com/mnichols
May 2, 2024 16:10https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#commits-pushed-6bcdab5
https://patch-diff.githubusercontent.com/mnichols
adapt code to actually DO cancellation and show the thread does not g…https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/6bcdab56e7add8a038e6d017970bd165386128fd
6bcdab5https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/6bcdab56e7add8a038e6d017970bd165386128fd
https://patch-diff.githubusercontent.com/mnichols
working out backgrounding activity AND heartbeathttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/44ae49d5954c02b6e22930d34ffb27ba4fb2f370
44ae49dhttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/44ae49d5954c02b6e22930d34ffb27ba4fb2f370
https://patch-diff.githubusercontent.com/mnichols
added cancellationexception handling to allow graceful exithttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/b2e61e747521426adf6550c383cb551828ee5725
b2e61e7https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/b2e61e747521426adf6550c383cb551828ee5725
https://patch-diff.githubusercontent.com/mnichols
multiple activity invocations failing as I would expect now due to ca…https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/4989cb89eca91d2be99a1d3c750a2bb733ee1216
4989cb8https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/4989cb89eca91d2be99a1d3c750a2bb733ee1216
https://patch-diff.githubusercontent.com/mnichols
mnicholshttps://patch-diff.githubusercontent.com/mnichols
antmendozahttps://patch-diff.githubusercontent.com/antmendoza
tsurdilohttps://patch-diff.githubusercontent.com/tsurdilo
code ownershttps://patch-diff.githubusercontent.com/temporalio/samples-java/blob/dd0075d84b32283b685d4a1417260c8b0c173039/.github/CODEOWNERS#L3
July 17, 2024 21:24https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#event-13543523287
https://patch-diff.githubusercontent.com/mnichols
rm unused filehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/5e34bb8603e4b3537e3c48bde56951e19814d638
5e34bb8https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/commits/5e34bb8603e4b3537e3c48bde56951e19814d638
https://patch-diff.githubusercontent.com/cretz
cretzhttps://patch-diff.githubusercontent.com/cretz
Jul 17, 2024 https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#pullrequestreview-2184119491
View reviewed changes https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/files/5e34bb8603e4b3537e3c48bde56951e19814d638
core/src/main/java/io/temporal/samples/hello/HeartbeatUtils.javahttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/files/5e34bb8603e4b3537e3c48bde56951e19814d638#diff-460c5415efe25203191142461b6605bc66bcd32f6682e11a9c5281a61adf8ac1
cretzhttps://patch-diff.githubusercontent.com/cretz
Jul 17, 2024https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#discussion_r1681791919
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
core/src/main/java/io/temporal/samples/hello/HeartbeatUtils.javahttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/files/5e34bb8603e4b3537e3c48bde56951e19814d638#diff-460c5415efe25203191142461b6605bc66bcd32f6682e11a9c5281a61adf8ac1
cretzhttps://patch-diff.githubusercontent.com/cretz
Jul 17, 2024https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#discussion_r1681835768
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
mnicholshttps://patch-diff.githubusercontent.com/mnichols
Jul 18, 2024https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#discussion_r1683274096
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
cretzhttps://patch-diff.githubusercontent.com/cretz
Jul 18, 2024https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652#discussion_r1683281161
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftemporalio%2Fsamples-java%2Fpull%2F652
https://patch-diff.githubusercontent.com/cretz
cretz https://patch-diff.githubusercontent.com/cretz
https://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652/files/5e34bb8603e4b3537e3c48bde56951e19814d638
https://patch-diff.githubusercontent.com/tsurdilo
tsurdilo https://patch-diff.githubusercontent.com/tsurdilo
https://patch-diff.githubusercontent.com/antmendoza
antmendoza https://patch-diff.githubusercontent.com/antmendoza
Please reload this pagehttps://patch-diff.githubusercontent.com/temporalio/samples-java/pull/652
https://patch-diff.githubusercontent.com/mnichols
https://patch-diff.githubusercontent.com/cretz
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.