Skip to content

feat: Open source Celest CLI#241

Merged
dnys1 merged 584 commits intomainfrom
feat/open-source-cli
Mar 9, 2025
Merged

feat: Open source Celest CLI#241
dnys1 merged 584 commits intomainfrom
feat/open-source-cli

Conversation

@dnys1
Copy link
Member

@dnys1 dnys1 commented Mar 9, 2025

Adds the source code for Celest CLI which includes the Celest analyzer and code-generation framework.

This code is being provided as-is. The documentation will initially be very sparse and while future development may happen, the goal is mainly to share learnings from Celest's development.

dnys1 and others added 30 commits March 10, 2024 08:17
Remove 'Celest' from the context header
Perform simple email validation before creating users.
Fixes some flakiness when fetching dependencies because of `.first` usages on streams.
Run project migration even if `celest start` has not yet been run.
The project migrator already runs it so it's only needed on create. And running it after the migrator, even with the check, seems to have a race condition inherent for some reason. Need to investigate more how pub tool works to understand it.
- Update native assets config
Requires using a proper lookup of the method as opposed to a standard `getMethod`.
If we come across a class defined in a part file, we should gracefully load the containing library instead of failing.
The subscription to `stderr` was being closed asynchronously (since a normal Completer was being used) causing `completeError` to be called multiple times resulting in a crash in AOT. Solution is to use `Completer.sync` so that as soon as the completer completes, the finally block is called, prevent further lines from being processed.
Initial support for billing and plans via Stripe
Adds a separate workflow for project creation, separating it from the deployment process.
Cedar will not be loaded in production and in tests
Until dart-lang/pub#3563 is resolved, always force the use of the Flutter SDK's `dart` command.
dnys1 and others added 22 commits October 16, 2024 19:28
- API updates. Tries to better align the Zitadel auth db and the new Cloud Auth db which we'll swap over to at some point
- Fix some bugs found via testingy
Remove some changes committed by accident.
Use the override feature of simon's to force the use of our sqlite version
Dart: 3.7.0
Flutter: 3.29.0

Runs `dart format` using the new dart_style included with Dart 3.7
To fix issues when running `dart test` recurses deeply into the fixtures dir.
Uses latest analyzer version before breaking v7 changes.
Includes updates to other dependencies (like drift) required to make the upgrade.
To be added back later, potentially. But right now, it is a half-broken mess.
To be added back later when it's not dependent on Celest-run servers.
To make contribution easier, migrate over common package code to the main package.
- Removes more cloud code
- More open-source prep
Update dependency paths post-migration.
@dnys1 dnys1 force-pushed the feat/open-source-cli branch 4 times, most recently from 0173e2a to fa81b4a Compare March 9, 2025 21:33
@dnys1 dnys1 force-pushed the feat/open-source-cli branch from fa81b4a to 33ce9ca Compare March 9, 2025 21:42
@dnys1 dnys1 merged commit 808d21e into main Mar 9, 2025
2 checks passed
@dnys1 dnys1 deleted the feat/open-source-cli branch March 9, 2025 21:47
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.

1 participant