utopia-php / utopia-php/migration

Appwrite Migration error 'Invalid Runtime: dart-3.5'

Open
#88 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
4
Forks
5
Avg merge
22m
Merged PRs (30d)
3

Description

I get this error message when i migrate from Appwrite 1.6.2 instance to a 1.7.4 instance:

{
....
"errors": [
"Error occurred while pushing 'function:65e6b52e18255e03679e' to destination with message: 'Invalid Runtime: dart-3.5' Message: Invalid Runtime: dart-3.5 File: /usr/src/code/vendor/utopia-php/migration/src/Migration/Destinations/Appwrite.php Line: 1304",
....
]
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at vendor/utopia-php/migration/src/Migration/Destinations/Appwrite.php around line 1304 and inspect how function runtimes are validated during an Appwrite 1.6.2-to-1.7.4 migration. Reproduce the migration with a function using dart-3.5; done means the runtime is handled correctly without the reported Invalid Runtime error.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.