Skip to content

modify year from 2025 to 2026. - #23441

Merged
3 commits merged into
matrixorigin:3.0-devfrom
Ariznawlll:modify_timestamp_result
Jan 6, 2026
Merged

3 commits merged into
matrixorigin:3.0-devfrom
Ariznawlll:modify_timestamp_result

Conversation

@Ariznawlll

@Ariznawlll Ariznawlll commented Jan 5, 2026 •

Copy link
Copy Markdown
Collaborator

User description

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

modify year from 2025 to 2026

issue
#23442
#22363

What this PR does / why we need it:

modify year from 2025 to 2026


PR Type

Tests


Description

  • Update test result timestamps from 2025 to 2026

  • Reflects current year in UTC timestamp test cases


Diagram Walkthrough

flowchart LR
  A["Test Result File"] -- "Update year values" --> B["2025 → 2026"]
  B -- "4 timestamp assertions" --> C["Updated Test Results"]
Loading

File Walkthrough

Relevant files
Tests
func_datetime_utc_timestamp.result
Update UTC timestamp year assertions to 2026                         

test/distributed/cases/function/func_datetime_utc_timestamp.result

  • Updated year value from 2025 to 2026 in UTC timestamp test results
  • Changed 4 occurrences across two test cases
  • First test case: single year assertion updated
  • Second test case: three year assertions updated
+4/-4     

@Ariznawlll
Ariznawlll requested a review from a user January 5, 2026 06:33
@CLAassistant

CLAassistant commented Jan 5, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@qodo-code-review

qodo-code-review Bot commented Jan 5, 2026 •

Copy link
Copy Markdown

PR Compliance Guide 🔍

Below is a summary of compliance checks for this PR:

Security Compliance
🟢
No security concerns identified No security vulnerabilities detected by AI analysis. Human verification advised for critical code.
Ticket Compliance
⚪
🎫 No ticket provided
  • Create ticket/issue
Codebase Duplication Compliance
⚪
Codebase context is not defined

Follow the guide to enable codebase context checks.

Custom Compliance
🟢
Generic: Comprehensive Audit Trails

Objective: To create a detailed and reliable record of critical system actions for security analysis
and compliance.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Meaningful Naming and Self-Documenting Code

Objective: Ensure all identifiers clearly express their purpose and intent, making code
self-documenting

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Robust Error Handling and Edge Case Management

Objective: Ensure comprehensive error handling that provides meaningful context and graceful
degradation

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Error Handling

Objective: To prevent the leakage of sensitive system information through error messages while
providing sufficient detail for internal debugging.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Secure Logging Practices

Objective: To ensure logs are useful for debugging and auditing without exposing sensitive
information like PII, PHI, or cardholder data.

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

Generic: Security-First Input Validation and Data Handling

Objective: Ensure all data inputs are validated, sanitized, and handled securely to prevent
vulnerabilities

Status: Passed

Learn more about managing compliance generic rules or creating your own custom rules

  • Update
Compliance status legend 🟢 - Fully Compliant
🟡 - Partial Compliant
🔴 - Not Compliant
⚪ - Requires Further Human Verification
🏷️ - Compliance label

@mergify
mergify Bot requested a review from XuPeng-SH January 5, 2026 06:33
@mergify mergify Bot added the kind/bug Something isn't working label Jan 5, 2026
@qodo-code-review

qodo-code-review Bot commented Jan 5, 2026 •

Copy link
Copy Markdown

PR Code Suggestions ✨

Explore these optional code suggestions:

CategorySuggestion                                                                                                                                    Impact
General
Use regex for year match

In the test result file, replace the hardcoded year 2026 with a regular
expression to match any four-digit year, making the test more robust against
future date changes.

test/distributed/cases/function/func_datetime_utc_timestamp.result [37-48]

-1    1    1    2026
-2026
-2026
-2026
+1    1    1    /\d{4}/
+/\d{4}/
+/\d{4}/
+/\d{4}/
  • Apply / Chat
Suggestion importance[1-10]: 7

__

Why: This is a valuable suggestion that improves test maintainability by replacing a hardcoded year with a regex, thus preventing the need for annual updates like the one in this PR.

Medium
  • Update

@matrix-meow matrix-meow added size/S Denotes a PR that changes [10,99] lines and removed size/XS Denotes a PR that changes [1, 9] lines labels Jan 5, 2026
This pull request was closed.

This branch was previously deployed

1 inactive deployment
ci — aeccfceb Deployed Jan 6, 2026 by ghost
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Something isn't working Review effort 1/5 size/M Denotes a PR that changes [100,499] lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants