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

[TEST] [OSS-ONLY] Implementing hashcode and mode based caching in 4X #3422

Open
wants to merge 8 commits into
base: BABEL_4_X_DEV
Choose a base branch
from

Conversation

SiddharthBITS
Copy link
Contributor

Description
This commit implements a more efficient method of caching compilations. Cache now restored will now be guaranteed to compatible with the version and build configuration of compilations.

We will now save 5-8 mins in version upgrade and dump restore tests.

Key changes:

Implemented new format for cache keys which includes github hashcode of corresponding engine branch and build mode to better identify the cache stored in a key.
New format "ccache-engineHashcode-buildMode-extensionHashcode".
Cache restoration handled by build-modified-postgres.yml and saving by save-ccache.yml composite actions.
Removed timeStamp based caching.
Task: BABEL-5564
Signed-off-by: Siddharth Sengar [email protected]

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request,
I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@SiddharthBITS SiddharthBITS changed the title Implementing hashcode and mode based caching in 4X [OSS-ONLY] Implementing hashcode and mode based caching in 4X Jan 21, 2025
@SiddharthBITS SiddharthBITS changed the title [OSS-ONLY] Implementing hashcode and mode based caching in 4X [TEST] [OSS-ONLY] Implementing hashcode and mode based caching in 4X Jan 21, 2025
@coveralls
Copy link
Collaborator

coveralls commented Jan 22, 2025

Pull Request Test Coverage Report for Build 12901955322

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.003%) to 74.931%

Totals Coverage Status
Change from base Build 12825415772: 0.003%
Covered Lines: 46958
Relevant Lines: 62668

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants