[SERVER-44144] Allow commit queue patches to publish to scons cache Created: 22/Oct/19  Updated: 29/Oct/23  Resolved: 18/Nov/19

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.3.2

Type: Improvement Priority: Major - P3
Reporter: David Bradford (Inactive) Assignee: David Bradford (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: DAG 2019-12-02
Participants:
Story Points: 2

 Description   

The shared scons cache is only written to on non-patch builds. Since commit queue builds have a high likelihood of being merged into master, it would be valuable to have them write to the cache as well. In particular, the next item in the commit queue could reuse a lot of the artifacts.


As a server engineer,
I want commit queue builds to write to the shared scons cache,
So that future commit queue builds can reuse the artifacts.


AC:

  • Build done as part of the commit queue are able to write to the shared scons cache.

    The logic for whether the commit queue is read-only or read/write can be found here.

Additionally an expansion was added to tell if a given build is a commit queue build here.



 Comments   
Comment by Githook User [ 18/Nov/19 ]

Author:

{'username': 'dbradf', 'email': 'david.bradford@mongodb.com', 'name': 'David Bradford'}

Message: SERVER-44144: Enable commit-queue to populate shared scons cache
Branch: master
https://github.com/mongodb/mongo/commit/837196d77bed9a7c242d2a4945c9c67e93761098

Generated at Thu Feb 08 05:05:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.