Skip to content

Build fails with tsc functionConfig.ts error on any change or deployment attempt #1589

@GiancarloMyBestes

Description

@GiancarloMyBestes

Describe the bug
I am unable to deploy any changes in Rowy.
Even after manually updating Rowy Run to version 1.9.5 in Google Cloud Console and confirming that the deployment was successful, any attempt to deploy from within Rowy fails with a TypeScript compilation error:

errorStackTrace: Error: Command failed: cd build/functionBuilder/builds/1761039870931/src; tsc functionConfig.ts
    at genericNodeError (node:internal/errors:984:15)
    at wrappedFn (node:internal/errors:538:14)
    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:524:28)
    at maybeClose (node:internal/child_process:1104:16)
    at ChildProcess._handle.onexit (node:internal/child_process:304:5)
3111:45:27:27 Build Failed: {}

To Reproduce
Steps to reproduce the behavior:

  1. Follow the steps in Rowy’s upgrade guide to update Rowy Run.
  2. In Google Cloud Console
  3. Go to Cloud Run → rowy-backend → Revision → Edit and Deploy New Version.
  4. Under Container → Variables and Secrets, set the version to 1.9.5 and deploy.
  5. Confirm that deployment succeeds and traffic is routed 100% to the latest revision.
  6. In Rowy, open any derivative function (for example, an existing one).
  7. Make a very small change, such as adding a whitespace.
  8. Click Update and Deploy.
  9. Observe the error message.

Expected behavior
The deployment should succeed without errors after upgrading to version 1.9.5.

Screenshots

Image

Rowy Run version
1.9.5

Desktop (please complete the following information):

  • OS: macOS Sonoma 14.6
  • Browser: Chrome 129.0.6668.101
  • Version: Latest

Smartphone (please complete the following information):

  • Not applicable — issue observed on desktop.

Additional context
This issue persists across multiple attempts, even after confirming that the Cloud Run deployment was successful and traffic was routed to the latest revision.
It appears to be related to how Rowy triggers the TypeScript build (tsc functionConfig.ts) during the in-app deployment process.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions