Skip to content

Commit 54cad3d

Browse files
committed
Fix stories
1 parent 3ff2706 commit 54cad3d

File tree

2 files changed

+2
-100
lines changed

2 files changed

+2
-100
lines changed

site/src/modules/workspaces/WorkspaceTiming/WorkspaceTimings.stories.tsx

Lines changed: 0 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -126,101 +126,3 @@ export const LoadingWhenAgentScriptTimingsAreEmpty: Story = {
126126
agentScriptTimings: undefined,
127127
},
128128
};
129-
130-
export const MemoryLeak: Story = {
131-
args: {
132-
provisionerTimings: [
133-
{
134-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
135-
started_at: "2025-01-05T12:47:14.819777Z",
136-
ended_at: "2025-01-05T12:47:18.654211Z",
137-
stage: "init",
138-
source: "terraform",
139-
action: "initializing terraform",
140-
resource: "state file",
141-
},
142-
{
143-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
144-
started_at: "2025-01-05T12:47:19.003863Z",
145-
ended_at: "2025-01-05T12:47:19.004863Z",
146-
stage: "plan",
147-
source: "coder",
148-
action: "read",
149-
resource: "data.coder_workspace.me",
150-
},
151-
{
152-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
153-
started_at: "2025-01-05T12:47:19.004077Z",
154-
ended_at: "2025-01-05T12:47:19.004819Z",
155-
stage: "plan",
156-
source: "coder",
157-
action: "read",
158-
resource: "data.coder_provisioner.me",
159-
},
160-
{
161-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
162-
started_at: "2025-01-05T12:47:19.004141Z",
163-
ended_at: "2025-01-05T12:47:19.004989Z",
164-
stage: "plan",
165-
source: "coder",
166-
action: "read",
167-
resource: "data.coder_workspace_owner.me",
168-
},
169-
{
170-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
171-
started_at: "2025-01-05T12:47:19.00933Z",
172-
ended_at: "2025-01-05T12:47:19.030038Z",
173-
stage: "plan",
174-
source: "docker",
175-
action: "state refresh",
176-
resource: "docker_image.main",
177-
},
178-
{
179-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
180-
started_at: "2025-01-05T12:47:19.01011Z",
181-
ended_at: "2025-01-05T12:47:19.013026Z",
182-
stage: "plan",
183-
source: "coder",
184-
action: "state refresh",
185-
resource: "coder_agent.main",
186-
},
187-
{
188-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
189-
started_at: "2025-01-05T12:47:19.019742Z",
190-
ended_at: "2025-01-05T12:47:19.020578Z",
191-
stage: "plan",
192-
source: "coder",
193-
action: "state refresh",
194-
resource: "coder_app.code-server",
195-
},
196-
{
197-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
198-
started_at: "2025-01-05T12:47:19.056489Z",
199-
ended_at: "2025-01-05T12:47:19.494507Z",
200-
stage: "graph",
201-
source: "terraform",
202-
action: "building terraform dependency graph",
203-
resource: "state file",
204-
},
205-
{
206-
job_id: "49fe19b4-19e9-4320-8e17-1a63164453da",
207-
started_at: "2025-01-05T12:47:19.815179Z",
208-
ended_at: "2025-01-05T12:47:20.238378Z",
209-
stage: "apply",
210-
source: "docker",
211-
action: "create",
212-
resource: "docker_container.workspace[0]",
213-
},
214-
],
215-
agentScriptTimings: [],
216-
agentConnectionTimings: [
217-
{
218-
started_at: "2025-01-05T12:47:20.782132Z",
219-
ended_at: "2025-01-05T12:47:21.05562Z",
220-
stage: "connect",
221-
workspace_agent_id: "27941bd8-2f3b-4c0a-ad1d-46ea90cca242",
222-
workspace_agent_name: "main",
223-
},
224-
],
225-
},
226-
};

site/src/pages/DeploymentSettingsPage/IdpOrgSyncPage/OrganizationPills.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const OrganizationPills: FC<OrganizationPillsProps> = ({
2626
{orgs.length > 0 ? (
2727
<Pill
2828
className={cn("border-none w-fit", {
29-
"bg-surface-error": orgs[0].isUUID,
29+
"bg-surface-destructive": orgs[0].isUUID,
3030
"bg-surface-secondary": !orgs[0].isUUID,
3131
})}
3232
>
@@ -88,7 +88,7 @@ const OverflowPillList: FC<OverflowPillProps> = ({ organizations }) => {
8888
<li key={organization.name} className="mb-2 last:mb-0">
8989
<Pill
9090
className={cn("border-none w-fit", {
91-
"bg-surface-error": organization.isUUID,
91+
"bg-surface-destructive": organization.isUUID,
9292
"bg-surface-secondary": !organization.isUUID,
9393
})}
9494
>

0 commit comments

Comments
 (0)