Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Parse Server option maxLogFiles doesn't recognize day duration literals such as 1d to mean 1 day #9215

Merged
merged 6 commits into from
Jul 18, 2024

Conversation

dplewis
Copy link
Member

@dplewis dplewis commented Jul 17, 2024

Pull Request

Issue

The maxLogFiles option uses an objectParser which fails when entering a string.

Closes: #6426

Approach

Add new Parser Type and Build Definition

Copy link

Thanks for opening this pull request!

Copy link

codecov bot commented Jul 17, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.46%. Comparing base (49006e8) to head (e16b8cc).

Additional details and impacted files
@@           Coverage Diff           @@
##            alpha    #9215   +/-   ##
=======================================
  Coverage   93.46%   93.46%           
=======================================
  Files         186      186           
  Lines       14762    14766    +4     
=======================================
+ Hits        13797    13801    +4     
  Misses        965      965           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dplewis dplewis requested a review from a team July 17, 2024 16:53
@mtrezza
Copy link
Member

mtrezza commented Jul 17, 2024

Note: before merging this, merge #9205 so that it creates a release with test IDs.

Copy link
Member

@mtrezza mtrezza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@mtrezza mtrezza changed the title fix: Server option maxLogFiles doesn't accept days string fix: Parse Server option maxLogFiles doesn't accept days string Jul 18, 2024
@mtrezza mtrezza changed the title fix: Parse Server option maxLogFiles doesn't accept days string fix: Parse Server option maxLogFiles doesn't recognize duration literals like 1d for 1 day Jul 18, 2024
@mtrezza mtrezza changed the title fix: Parse Server option maxLogFiles doesn't recognize duration literals like 1d for 1 day fix: Parse Server option maxLogFiles doesn't recognize duration literals like 1d for "1 day" Jul 18, 2024
@mtrezza mtrezza changed the title fix: Parse Server option maxLogFiles doesn't recognize duration literals like 1d for "1 day" fix: Parse Server option maxLogFiles doesn't recognize day duration literal like 1d for "1 day" Jul 18, 2024
@mtrezza mtrezza changed the title fix: Parse Server option maxLogFiles doesn't recognize day duration literal like 1d for "1 day" fix: Parse Server option maxLogFiles doesn't recognize day duration literals such as 1d to mean 1 day Jul 18, 2024
@mtrezza mtrezza merged commit 0319cee into parse-community:alpha Jul 18, 2024
2 checks passed
parseplatformorg pushed a commit that referenced this pull request Jul 18, 2024
# [7.3.0-alpha.5](7.3.0-alpha.4...7.3.0-alpha.5) (2024-07-18)

### Bug Fixes

* Parse Server option `maxLogFiles` doesn't recognize day duration literals such as `1d` to mean 1 day ([#9215](#9215)) ([0319cee](0319cee))
@parseplatformorg
Copy link
Contributor

🎉 This change has been released in version 7.3.0-alpha.5

@parseplatformorg parseplatformorg added the state:released-alpha Released as alpha version label Jul 18, 2024
@dplewis dplewis deleted the maxLogFiles-docs branch July 18, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:released-alpha Released as alpha version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

There is a bug if maxLogFiles suffer with d
3 participants