You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "Eipi-Tong (via GitHub)" <gi...@apache.org> on 2025/08/29 08:08:27 UTC

[PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Eipi-Tong opened a new pull request, #8356:
URL: https://github.com/apache/gravitino/pull/8356

   <!--
   1. Title: [#<issue>] <type>(<scope>): <subject>
      Examples:
        - "[#123] feat(operator): support xxx"
        - "[#233] fix: check null before access result in xxx"
        - "[MINOR] refactor: fix typo in variable name"
        - "[MINOR] docs: fix typo in README"
        - "[#255] test: fix flaky test NameOfTheTest"
      Reference: https://www.conventionalcommits.org/en/v1.0.0/
   2. If the PR is unfinished, please mark this PR as draft.
   -->
   
   ### What changes were proposed in this pull request?
   
   1. Fix JsonDateSerializer to serialize dates in UTC.
   2. Add unit test for it.
   
   ### Why are the changes needed?
   
   Ensure dates are always formatted in UTC.
   Fix: #8204 
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Tested locally. All unit tests passed.
   
   **This is my first PR. Please let me know if you notice any issues! Thanks.**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3238870159

   Yes that test is a bit flaky, and is being looked into. I'll re-run the CI for you.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3241792831

   It needs fixing look at the unit test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao closed pull request #8356: [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC
URL: https://github.com/apache/gravitino/pull/8356


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "Eipi-Tong (via GitHub)" <gi...@apache.org>.
Eipi-Tong commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3241057125

   The CI still failed. I think it's flaky. Should I look at it or we can wait after reviews?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "Eipi-Tong (via GitHub)" <gi...@apache.org>.
Eipi-Tong commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3243760591

   The previous commit's CI has passed. And I update the unit test using JUnit 5.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "jerryshao (via GitHub)" <gi...@apache.org>.
jerryshao commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-5395519240

   This PR has not been updated for a lont time. I'm going to close it. Thanks @Eipi-Tong for your contribution. You can reopen it if you want to continue this work.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "Eipi-Tong (via GitHub)" <gi...@apache.org>.
Eipi-Tong commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3238841729

   It seems to be a flaky test.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3240736684

   cc @xunliu 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "xunliu (via GitHub)" <gi...@apache.org>.
xunliu commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3241064262

   hi @Eipi-Tong 
   It looks fine, but I'm not sure if this issue needs fixing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [#8204] improvement(authz): fix JsonDateSerializer to serialize dates in UTC [gravitino]

Posted by "justinmclean (via GitHub)" <gi...@apache.org>.
justinmclean commented on PR #8356:
URL: https://github.com/apache/gravitino/pull/8356#issuecomment-3240902744

   The CI failed due to a flaky test, testExpireByWeight, so it is being rerun.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org