AI & Agent Dev Bug Sandbox logo
AI & Agent Dev Bug Sandbox
Back to Radar

Broken Local Image Paths In Croatian And Sinhala READMEs

The translated READMEs under i18n/ contain incorrect repository-relative image paths that resolve to non-existent i18n/apps/... locations instead of the actual repo-root apps/... assets, causing broken images in those documents.

mediumConfidence 95%SupabaseStorageEdge Functions

Origin Analysis

The Croatian and Sinhala READMEs were translated and moved into the i18n/ subdirectory without adjusting their relative image paths. Paths like 'apps/docs/public/img/supabase-architecture.svg' and './apps/www/public/badge-made-with-supabase.svg' are now resolved relative to the i18n/ directory, resulting in 404s at i18n/apps/... The correct reference should be prefixed with '../' to escape the i18n/ directory and point to the repository root.
1. Clone the supabase/supabase repository at master. 2. Open i18n/README.hr.md or i18n/README.si.md. 3. Locate any of the three image references: 'apps/docs/public/img/supabase-architecture.svg', './apps/www/public/badge-made-with-supabase.svg', './apps/www/public/badge-made-with-supabase-dark.svg'. 4. Observe that the rendered links point to i18n/apps/... which do not exist (404). 5. Compare with the actual assets located under apps/docs/public/ and apps/www/public/ at the repo root.

Fixing Code Block

import pathlib replacements = { "apps/docs/public/img/supabase-architecture.svg": "../apps/docs/public/img/supabase-architecture.svg", "./apps/www/public/badge-made-with-supabase.svg": "../apps/www/public/badge-made-with-supabase.svg", "./apps/www/public/badge-made-with-supabase-dark.svg": "../apps/www/public/badge-made-with-supabase-dark.svg", } for file_path in ["i18n/README.hr.md", "i18n/README.si.md"]: p = pathlib.Path(file_path) content = p.read_text(encoding="utf-8") for old, new in replacements.items(): content = content.replace(old, new) p.write_text(content, encoding="utf-8")
The script reads each affected Markdown file, replaces the incorrect relative image paths with versions prefixed with '../' so they resolve from the i18n/ directory up to the repository root, then writes the updated content back. The exact substring replacements ensure only the broken references are changed, and no other content is altered.

Edge Case Audit

Manual edits to translation files may be overwritten by automated translation sync processes if the translations are generated from a source. This fix should be applied to the source templates or coordinated with the translation maintenance workflow. To roll back, use 'git checkout -- i18n/README.hr.md i18n/README.si.md'. The Python script is cross-platform and avoids sed -i portability issues, but verify with 'git diff --check' after running.

Ecosystem Topology

Agent Frameworks

LangChain, LlamaIndex, and Pydantic

  1. highProperty graph relation keys collide when entity IDs or labels contain underscores
  2. highCodeActAgent drops assistant tool-call metadata during handoff, leaving an orphan tool response
  3. high[Bug]: HierarchicalNodeParser async methods return the documents unsplit
  4. highLLM.predict_and_call fails with ValidationError for non-function-calling models when react_chat_formatter is omitted
  5. highAnthropic streaming server-tool input_json_delta overwrites completed client tool_use arguments due to stale cur_tool_call state