Skip to content

Commit

Permalink
DEVPROD-9506 Update reset-when-finished warning message (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
khelif96 authored Nov 21, 2024
1 parent 6523268 commit e00b33c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions apps/spruce/src/gql/generated/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ export type SpruceConfig = {
secretFields: Array<Scalars["String"]["output"]>;
slack?: Maybe<SlackConfig>;
spawnHost: SpawnHostConfig;
ui?: Maybe<UiConfig>;
ui: UiConfig;
};

export type StatusCount = {
Expand Down Expand Up @@ -3231,6 +3231,7 @@ export type TriggerAliasInput = {

export type UiConfig = {
__typename?: "UIConfig";
betaFeatures: BetaFeatures;
defaultProject: Scalars["String"]["output"];
userVoice?: Maybe<Scalars["String"]["output"]>;
};
Expand Down Expand Up @@ -8798,7 +8799,7 @@ export type SpruceConfigQuery = {
unexpirableHostsPerUser: number;
unexpirableVolumesPerUser: number;
};
ui?: { __typename?: "UIConfig"; defaultProject: string } | null;
ui: { __typename?: "UIConfig"; defaultProject: string };
} | null;
};

Expand Down
6 changes: 3 additions & 3 deletions apps/spruce/src/pages/task/metadata/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -317,9 +317,9 @@ export const Metadata: React.FC<Props> = ({ error, loading, task, taskId }) => {
</OOMTrackerMessage>
)}
{resetWhenFinished && (
<MetadataItem data-cy="reset-when-finished">
This task will restart when all of the tasks in its task group have
finished running.
<MetadataItem>
This task will restart when all of its sibling execution tasks have
finished.
</MetadataItem>
)}
{taskTrace && startTime && finishTime && (
Expand Down

0 comments on commit e00b33c

Please sign in to comment.