René's URL Explorer Experiment


Title: Fix Optional#get() and string comparison bugs in JobService by ches · Pull Request #804 · feast-dev/feast · GitHub

Open Graph Title: Fix Optional#get() and string comparison bugs in JobService by ches · Pull Request #804 · feast-dev/feast

X Title: Fix Optional#get() and string comparison bugs in JobService by ches · Pull Request #804 · feast-dev/feast

Description: What this PR does / why we need it: Fixes some bugs in the Ingestion Job Management service. Cleaning house a bit and I had a todo from here about the get() calls that will always fail. These don't actually have much impact since get() already throws NoSuchElementException which we're doing anyway, but we'd lose the message we try to set. Actually perhaps more concerning is a bunch of == comparisons on strings, those might be a source of more functionally significant bugs for filtering in the list jobs API. I'm surprised that no tests trip something here—a little short on time to look more closely at the existing tests now, apologies. These issues are all flagged by IntelliJ. The == and this. receiver for all class member references smell like the author was writing mostly Python at the time 😉 I'm sympathetic to not always liking IDEs, but if you use a lighter editor I'd recommend setting up something like the SpotBugs Maven plugin, which would be nice to do anyway IMO. Does this PR introduce a user-facing change?: NONE

Open Graph Description: What this PR does / why we need it: Fixes some bugs in the Ingestion Job Management service. Cleaning house a bit and I had a todo from here about the get() calls that will always fail. These don&#...

X Description: What this PR does / why we need it: Fixes some bugs in the Ingestion Job Management service. Cleaning house a bit and I had a todo from here about the get() calls that will always fail. These don&a...

Opengraph URL: https://github.com/feast-dev/feast/pull/804

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:dabd4f54-eb55-19d3-1254-39ae57ed49f5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCF34:151EEE:5A7E13:7AB8C8:697CF4B7
html-safe-nonce924c6b94e20b4e57c4c439e7430f693f29ca8b209f4ecf46e1dede816b8ce2c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjM0OjE1MUVFRTo1QTdFMTM6N0FCOEM4OjY5N0NGNEI3IiwidmlzaXRvcl9pZCI6IjY4Nzg4ODE5MTU5OTczNTk5MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac093e99b63a33321fc383e2e28bfd3e78c5f913782054c0e6ea7239a66be6f6a6
hovercard-subject-tagpull_request:436584425
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/feast-dev/feast/pull/804/files
twitter:imagehttps://avatars.githubusercontent.com/u/13277?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/13277?s=400&v=4
og:image:altWhat this PR does / why we need it: Fixes some bugs in the Ingestion Job Management service. Cleaning house a bit and I had a todo from here about the get() calls that will always fail. These don&#...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonef881497c2da7944950a5bb453d011e0fcc22d452c6305316a31d8ee9ea4449b3
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/feast-dev/feast git https://github.com/feast-dev/feast.git
octolytics-dimension-user_id57027613
octolytics-dimension-user_loginfeast-dev
octolytics-dimension-repository_id161133770
octolytics-dimension-repository_nwofeast-dev/feast
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id161133770
octolytics-dimension-repository_network_root_nwofeast-dev/feast
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
release04aa8f9ec799fb01abd96ff759aec742f97c517e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/feast-dev/feast/pull/804/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F804%2Ffiles
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffeast-dev%2Ffeast%2Fpull%2F804%2Ffiles
Sign up https://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=feast-dev%2Ffeast
Reloadhttps://github.com/feast-dev/feast/pull/804/files
Reloadhttps://github.com/feast-dev/feast/pull/804/files
Reloadhttps://github.com/feast-dev/feast/pull/804/files
feast-dev https://github.com/feast-dev
feasthttps://github.com/feast-dev/feast
Notifications https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Fork 1.2k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Star 6.7k https://github.com/login?return_to=%2Ffeast-dev%2Ffeast
Code https://github.com/feast-dev/feast
Issues 182 https://github.com/feast-dev/feast/issues
Pull requests 68 https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security 0 https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Code https://github.com/feast-dev/feast
Issues https://github.com/feast-dev/feast/issues
Pull requests https://github.com/feast-dev/feast/pulls
Discussions https://github.com/feast-dev/feast/discussions
Actions https://github.com/feast-dev/feast/actions
Security https://github.com/feast-dev/feast/security
Insights https://github.com/feast-dev/feast/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ffeast-dev%2Ffeast%2Fissues%2Fnew%2Fchoose
feast-ci-bothttps://github.com/feast-ci-bot
masterhttps://github.com/feast-dev/feast/tree/master
jobservice-exception-fixhttps://github.com/feast-dev/feast/tree/jobservice-exception-fix
Conversation 8 https://github.com/feast-dev/feast/pull/804
Commits 2 https://github.com/feast-dev/feast/pull/804/commits
Checks 0 https://github.com/feast-dev/feast/pull/804/checks
Files changed https://github.com/feast-dev/feast/pull/804/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/804/files
Fix Optional#get() and string comparison bugs in JobService https://github.com/feast-dev/feast/pull/804/files#top
Show all changes 2 commits https://github.com/feast-dev/feast/pull/804/files
3697c78 Fix Optional#get() and string comparison bugs in JobService ches Jun 18, 2020 https://github.com/feast-dev/feast/pull/804/commits/3697c780200fff22ffe884f813da03b3bcbef4ce
846bad5 Hide Maven transfer progress, for CI ches Jun 18, 2020 https://github.com/feast-dev/feast/pull/804/commits/846bad5b8a1cd7c8ea89d45a5cc669c308cec860
Clear filters https://github.com/feast-dev/feast/pull/804/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/804/files
Please reload this pagehttps://github.com/feast-dev/feast/pull/804/files
Makefile https://github.com/feast-dev/feast/pull/804/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
JobService.java https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
JobServiceTest.java https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
Makefilehttps://github.com/feast-dev/feast/pull/804/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
View file https://github.com/feast-dev/feast/blob/846bad5b8a1cd7c8ea89d45a5cc669c308cec860/Makefile
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/804/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/804/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
https://github.com/feast-dev/feast/pull/804/files#diff-76ed074a9305c04054cdebb9e9aad2d818052b07091de1f20cad0bbac34ffb52
core/src/main/java/feast/core/service/JobService.javahttps://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
View file https://github.com/feast-dev/feast/blob/846bad5b8a1cd7c8ea89d45a5cc669c308cec860/core/src/main/java/feast/core/service/JobService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/804/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
https://github.com/feast-dev/feast/pull/804/files#diff-2d7c4b0863b06e44e7186367d8612e7e4b9be9841efb113841b37268f46d2023
core/src/test/java/feast/core/service/JobServiceTest.javahttps://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
View file https://github.com/feast-dev/feast/blob/846bad5b8a1cd7c8ea89d45a5cc669c308cec860/core/src/test/java/feast/core/service/JobServiceTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/feast-dev/feast/pull/804/{{ revealButtonHref }}
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
cheshttps://github.com/ches
Jun 18, 2020https://github.com/feast-dev/feast/pull/804/files#r442342213
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/feast-dev/feast/pull/804/files
Yansonhttps://github.com/Yanson
Jun 18, 2020https://github.com/feast-dev/feast/pull/804/files#r442356585
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/feast-dev/feast/pull/804/files
cheshttps://github.com/ches
Jun 18, 2020https://github.com/feast-dev/feast/pull/804/files#r442419414
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
@davidheryantohttps://github.com/davidheryanto
@zhilingchttps://github.com/zhilingc
Please reload this pagehttps://github.com/feast-dev/feast/pull/804/files
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
https://github.com/feast-dev/feast/pull/804/files#diff-cabe7e374d3b1177eb6ead2a4b24e3319d3b26002ab3a78b66c2b9d7136d4417
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.