Skip to content

Commit 111790d

Browse files
authored
[AN-611] Remove Batch workspace setting (#5348)
1 parent 16257de commit 111790d

File tree

7 files changed

+20
-329
lines changed

7 files changed

+20
-329
lines changed

src/libs/events.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ const eventsList = {
190190
workspaceSettingsBucketLifecycle: 'workspace:settings:bucketLifecycle',
191191
workspaceSettingsSoftDelete: 'workspace:settings:softDelete',
192192
workspaceSettingsRequesterPays: 'workspace:settings:requesterPays',
193-
workspaceSettingsBatch: 'workspace:settings:batch',
194193
workspaceShare: 'workspace:share',
195194
workspaceShareWithSupport: 'workspace:shareWithSupport',
196195
workspaceSnapshotDelete: 'workspace:snapshot:delete',

src/pages/workspaces/workspace/workflows/LaunchAnalysisModal.js

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ const LaunchAnalysisModal = ({
5757
setBucketLocation({ location, locationType });
5858
});
5959

60-
// This should be removed once GCP Batch migration is GA and LifeSciences has been deprecated.
60+
// This should be removed once LifeSciences support has been completely removed.
6161
// See https://broadworkbench.atlassian.net/browse/AN-507
6262
const workflowBackend = async () => {
6363
const settings = await Workspaces(signal).workspaceV2(namespace, workspaceName).getSettings();
@@ -224,6 +224,7 @@ const LaunchAnalysisModal = ({
224224
}),
225225
]),
226226
]),
227+
// Remove this as part of https://broadworkbench.atlassian.net/browse/AN-507
227228
workflowBackend === 'LifeSciences' &&
228229
div(
229230
{
@@ -232,18 +233,10 @@ const LaunchAnalysisModal = ({
232233
[
233234
div({ style: { display: 'flex', flexDirection: 'row', alignItems: 'center' } }, [
234235
icon('warning-standard', { size: 19, style: { color: colors.warning(), flex: 'none', marginRight: '0.5rem' } }),
235-
'LifeSciences API Deprecation Warning',
236+
'LifeSciences API Shutdown Warning',
236237
]),
237238
div({ style: { fontWeight: 'normal', marginTop: '0.5rem' } }, [
238-
'This workspace is launching workflows with the LifeSciences API, which will be removed from Terra on or after June 16, 2025. Please switch to using its successor, Batch API, by updating your Workspace Settings. ',
239-
h(
240-
Link,
241-
{
242-
href: 'https://support.terra.bio/hc/en-us/articles/31190930435483-Cromwell-on-Google-Batch-API-released-May-19',
243-
...Utils.newTabLinkProps,
244-
},
245-
['Learn more', icon('pop-out', { size: 12, style: { marginLeft: '0.25rem' } })]
246-
),
239+
'This workspace is launching workflows with the LifeSciences API, which will be shut down on July 8th, 2025. To switch to its successor Batch API, please contact Terra Support team.',
247240
]),
248241
]
249242
),

src/workspaces/SettingsModal/Batch.tsx

Lines changed: 0 additions & 33 deletions
This file was deleted.

0 commit comments

Comments
 (0)