Skip to content

fix: Correct Docker 4.1.6 build failures (TypeScript errors in AgentKeyRequest) - #13

Merged
bobdivx merged 1 commit into
mainfrom
cursor/fix-docker-build-ts-errors-e1a0
Aug 27, 2026
Merged

bobdivx merged 1 commit into
mainfrom
cursor/fix-docker-build-ts-errors-e1a0

Conversation

@bobdivx

@bobdivx bobdivx commented Aug 27, 2026

Copy link
Copy Markdown
Owner

🐛 Problem

Docker Images build failed on main (commit ccb767f) due to TypeScript errors in frontend/src/pages/sources/_SourcesPage.tsx:

  • Line 166: Property application_name does not exist on type AgentKeyRequest
  • Line 170: Property application_uuid does not exist on type AgentKeyRequest
  • Line 173: Property application_name does not exist on type AgentKeyRequest

Additionally, the build failed with "Route manquante dans appRoutes: services" because PR #12 merged the services page into connexions but left stale references.

✅ Solution

  1. Added missing fields to AgentKeyRequest type (frontend/src/lib/api/domain.ts):

    • application_uuid?: string | null
    • application_name?: string | null
  2. Fixed application link in connexions hub (frontend/src/pages/sources/_SourcesPage.tsx):

    • Import applicationPath helper from routing module
    • Replace broken /application/${uuid} with correct applicationPath(uuid) (canonical route is /applications/<uuid>)
  3. Fixed stale servicesRoute references (frontend/src/lib/routing/routes.ts):

✅ Verification

  • astro check reports 0 errors (down from 3)
  • npm run build:frontend completes successfully
  • Build generates 62 static pages without issues

📦 Unblocks

  • Docker image builds (docker/devforge-api, docker/devforge-web)
  • GitHub Actions workflow (run #33009255574)
  • DevForge 4.1.6 release

Fixes https://github.com/bobdivx/devforge/actions/runs/33009255574

Open in Web Open in Cursor 

…nces

- Add application_uuid and application_name optional fields to AgentKeyRequest type
- Fix application link in _SourcesPage to use applicationPath() helper instead of wrong /application/ route
- Fix routes.ts to use connexionsRoute instead of removed servicesRoute (page 'services' was merged into 'connexions' in PR #12)

Resolves Docker build failure (astro check TypeScript errors) in Actions run https://github.com/bobdivx/devforge/actions/runs/33009255574

Co-authored-by: Mathieu JESER <bobdivx@users.noreply.github.com>
@bobdivx
bobdivx marked this pull request as ready for review August 27, 2026 03:50
@bobdivx
bobdivx merged commit eee1efd into main Aug 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants