mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
* feat: adding 2025 and 2026 incremental compiles options * feat: remove dmtcp from compiler list and autoselect checkpointing version with labs inclusion * feat: updating seccomp profile for checkpointing * feat: disable non-premium dmtcp compiles, and align checkpoint version detection between clsi and web * feat: adding in reminder of checkpoint experiment, and using session based split test retrieval * Increase Packer build.sh timeout from 1h15m to 1h30m as build takes approx 1h * fix: moving checkpointing check from tag name based to hasCheckpointing flag set as part of allowed_images, and removing uneeded seccomp rule * feat: move variant/ image selection to CLSI, and have web control only what options to set for a compile. removing uneeded extra variants from webs list of allowed images * feat: adding compile timer as a query string as well --------- Co-authored-by: Tim Gibbon <tim.gibbon@overleaf.com> GitOrigin-RevId: cdbdf76a62dcd5a585925f18d64b6cb9cd6ed373
33 lines
871 B
TypeScript
33 lines
871 B
TypeScript
import Notification from '@/shared/components/notification'
|
|
import { useTranslation, Trans } from 'react-i18next'
|
|
import { isSplitTestEnabled } from '@/utils/splitTestUtils'
|
|
|
|
const CheckpointCompilesEnabledReminder = () => {
|
|
const { t } = useTranslation()
|
|
if (!isSplitTestEnabled('compile-with-checkpoint')) {
|
|
return null
|
|
}
|
|
|
|
const content = (
|
|
<Trans
|
|
i18nKey="incremental_compiles_reusing_last_compile"
|
|
components={[
|
|
<a href="/labs/participate" target="_blank" rel="noreferrer" />, // eslint-disable-line react/jsx-key, jsx-a11y/anchor-has-content
|
|
]}
|
|
/>
|
|
)
|
|
|
|
return (
|
|
<div className="notification-list">
|
|
<Notification
|
|
title={t('incremental_compiles_are_on')}
|
|
content={content}
|
|
type="info"
|
|
className="mb-0"
|
|
/>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default CheckpointCompilesEnabledReminder
|