Skip to content

Keep compose as-is #523

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Oct 25, 2024
Merged

Keep compose as-is #523

merged 5 commits into from
Oct 25, 2024

Conversation

lionello
Copy link
Member

@lionello lionello commented Jul 3, 2024

CLI changes for removing the Compose-like proto buffer messages and replace them by sending a normalized compose blob.

This uses the Google well-known Struct type, which can encapsulate any struct-like data structure (including map[string]any). This has the nice side-effect of becoming a regular JSON object when unmarshaled in JS/TS, so we can access the fields regularly without the current protomsg.getXyz() calls.

Ready for review, but still requires the backend/mvp changes.

@lionello lionello requested review from edwardrf and nullfunc July 3, 2024 21:56
@lionello lionello force-pushed the lio-compose-file branch from 3cb6990 to 42b15df Compare July 4, 2024 00:40
@lionello lionello mentioned this pull request Jul 8, 2024
@lionello lionello added the wip Work in progress; don't merge label Aug 19, 2024
@lionello lionello mentioned this pull request Aug 19, 2024
@lionello lionello changed the title wip: keep compose as-is Keep compose as-is Aug 19, 2024
@lionello lionello marked this pull request as ready for review August 19, 2024 18:58
@acote88 acote88 added this to the Sep2024 milestone Sep 3, 2024
@lionello lionello force-pushed the lio-compose-file branch 2 times, most recently from cff45b6 to 0deff7c Compare October 4, 2024 14:03
@lionello lionello force-pushed the lio-compose-file branch 3 times, most recently from 06f8648 to 5aa7350 Compare October 24, 2024 17:34
separate fixup from conversion

deprecate old compose proto messages

revert buf.gen.yaml

remove obsolete functions

add healthcheck times to test

add type aliases

Fix getUnreferencedManagedResources tests

Keep the yaml

Update cli.nix vendorHash

remarks

Update src/pkg/cli/client/byoc/do/byoc.go

Update src/protos/io/defang/v1/fabric.proto

For now, use Ports in ServiceInfo
@lionello lionello removed the wip Work in progress; don't merge label Oct 24, 2024
Copy link
Contributor

@edwardrf edwardrf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, let's add some TODOs for the nit comments and get it merged!

@lionello lionello modified the milestones: Sep2024, Oct2024 Oct 25, 2024
@lionello lionello merged commit 27a0b82 into main Oct 25, 2024
11 checks passed
@lionello lionello deleted the lio-compose-file branch October 25, 2024 16:14
nullfunc pushed a commit that referenced this pull request Oct 25, 2024
* wip: keep compose as-is

separate fixup from conversion

deprecate old compose proto messages

revert buf.gen.yaml

remove obsolete functions

add healthcheck times to test

add type aliases

Fix getUnreferencedManagedResources tests

Keep the yaml

Update cli.nix vendorHash

remarks

Update src/pkg/cli/client/byoc/do/byoc.go

Update src/protos/io/defang/v1/fabric.proto

For now, use Ports in ServiceInfo

* fix unit test

* update cli.nix

* move compose constants to compose package
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.

4 participants