Syntax error - mermaid version 11.12.0

Resolved 💬 4 comments Opened Feb 24, 2026 by gajovac Closed Feb 24, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What version of the Codex App are you using (From “About Codex” dialog)?

Version: 26.217.1959 (Build 669)

What subscription do you have?

Plus

What platform is your computer?

Darwin 25.1.0 arm64 arm

What issue are you seeing?

When I scroll down in the codex app, on chat and settings screen it displays this debug looking screen that you can see on the screenshot

<img width="1512" height="982" alt="Image" src="https://github.com/user-attachments/assets/874339f7-ce74-4a37-8f70-d1fe7d88e7d8" />
<img width="1512" height="982" alt="Image" src="https://github.com/user-attachments/assets/396a579c-bb1e-4525-98db-5f60f1afb670" />

<img width="1511" height="951" alt="Image" src="https://github.com/user-attachments/assets/e030cf78-e220-437f-8973-676efdf1ac32" />

What steps can reproduce the bug?

Just open the codex app and open any project

What is the expected behavior?

Debug area with bomb icon shouldn't be shown in the production app

Additional information

_No response_

View original on GitHub ↗

4 Comments

etraut-openai contributor · 6 months ago

Thanks for the bug report. Could you provide repro steps? It would be especially helpful if you could provide the markdown for the mermaid diagram that causes this. You could paste it into the bug report below if it doesn't contain any private information. Alternatively, use the /feedback command in the thread where you're seeing this and upload your session details, then paste the thread ID below.

gajovac · 6 months ago

Here I am posting the code of the diagram example that failed to display in the codex app, others were successfully displayed, but this one failed and probably resulted into the error:

flowchart LR
A["1. Mobile app"] --> B["2. API Gateway"]

B --> C["3. Lambda - event ingest<br/>(impression / swipe)"]
B --> D["4. Lambda - recommendation API"]

D --> E["5. ElastiCache"]
D --> M["11 & 15. Database upserts"]

C --> I["9. recommendation events queue"]
I --> J["10. Lambda - aggregate worker"]
I --> K["11. DLQ"]

J --> M
J --> L["12 & 16. CloudWatch alarm + SNS"]
K --> L

N["13. EventBridge (every 5-15 min)"] --> O["14. Lambda - recompute user weights"]
O --> M
O --> L

F["6. EventBridge"] --> G["7. Step Function"]
G --> H["8. Amazon SageMaker training job"]
H --> D

Here is also an example of the one that was displayed correctly:

flowchart LR
  U["Mobile App"] --> APIGW["API Gateway"]

  APIGW --> REC["Lambda: Recommendation API"]
  REC --> RDS["Aurora PostgreSQL<br/>(items, swipes, impressions, user_model_state)"]
  REC --> REDIS["ElastiCache Redis<br/>(optional cache)"]
  REC --> U

  APIGW --> INGEST["Lambda: Event Ingest<br/>(impression / swipe)"]
  INGEST --> RDS
  INGEST --> Q["SQS: recommendation-events"]

  Q --> AGG["Lambda: Aggregate Worker"]
  AGG --> RDS

  EB1["EventBridge<br/>(every 5-15 min)"] --> RECOMP["Lambda: Recompute User Weights"]
  RECOMP --> RDS

  EB2["EventBridge<br/>(nightly)"] --> SFN["Step Functions"]
  SFN --> TRAIN["SageMaker Training Job"]
  TRAIN --> COEF["Global Coefficients Store<br/>(SSM or DynamoDB)"]
  COEF --> REC

  Q --> DLQ["SQS DLQ"]
  DLQ --> CW["CloudWatch Alarm + SNS"]

  AGG --> CW
  RECOMP --> CW
etraut-openai contributor · 6 months ago

Thanks, I'm able to repro the problem with that markdown.

etraut-openai contributor · 6 months ago

This will be fixed in the next release.