Skip to content
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

just dev --recreate causes infinite build loop #2846

Closed
wesbillman opened this issue Sep 26, 2024 · 0 comments · Fixed by #2855
Closed

just dev --recreate causes infinite build loop #2846

wesbillman opened this issue Sep 26, 2024 · 0 comments · Fixed by #2855
Assignees
Labels
bug Something isn't working P3

Comments

@wesbillman
Copy link
Member

Running just dev --recreate starting building and running migrations, which triggers a change that causes another build loop. Here's an example output

just dev --recreate
watchexec -r -d 1s -e proto -e go -e sql -f sqlc.yaml -- "just build-sqlc && ftl dev --recreate"
[Running: just build-sqlc && ftl dev --recreate]
just init-db && sqlc generate
dbmate drop || true
Dropping: ftl
dbmate create
Creating: ftl
dbmate --no-dump-schema --migrations-dir backend/controller/sql/schema up
Applying: 20231103205514_init.sql
Applied: 20231103205514_init.sql in 128.958708ms
Applying: 20240704103403_create_module_secrets.sql
Applied: 20240704103403_create_module_secrets.sql in 4.414417ms
Applying: 20240725212023_create_fsm_instance_updated_at.sql
Applied: 20240725212023_create_fsm_instance_updated_at.sql in 1.8965ms
Applying: 20240729002557_catch_async_calls.sql
Applied: 20240729002557_catch_async_calls.sql in 1.504834ms
Applying: 20240731230343_create_topic_events_caller.sql
Applied: 20240731230343_create_topic_events_caller.sql in 1.374083ms
Applying: 20240801160101_edit-db-secrets-and-configuration.sql
Applied: 20240801160101_edit-db-secrets-and-configuration.sql in 3.01ms
Applying: 20240807174508_pubsub_otel_context.sql
Applied: 20240807174508_pubsub_otel_context.sql in 1.514458ms
Applying: 20240812011321_derive_encryption.sql
Applied: 20240812011321_derive_encryption.sql in 18.52425ms
Applying: 20240813062546_create_fsm_next_events.sql
Applied: 20240813062546_create_fsm_next_events.sql in 7.5385ms
Applying: 20240814060154_rename_events_to_timeline.sql
Applied: 20240814060154_rename_events_to_timeline.sql in 1.683625ms
Applying: 20240815003340_typesafe_encrypted_columns.sql
Applied: 20240815003340_typesafe_encrypted_columns.sql in 1.848375ms
Applying: 20240815053106_update-indexes.sql
Applied: 20240815053106_update-indexes.sql in 4.39675ms
Applying: 20240815164808_async_calls_cron_job_key.sql
Applied: 20240815164808_async_calls_cron_job_key.sql in 2.2ms
Applying: 20240820011612_encryption_verification.sql
Applied: 20240820011612_encryption_verification.sql in 1.742708ms
Applying: 20240902030242_remove_notify.sql
Applied: 20240902030242_remove_notify.sql in 1.65925ms
Applying: 20240903043046_enforce_runner_deployment.sql
Applied: 20240903043046_enforce_runner_deployment.sql in 2.211792ms
Applying: 20240913035022_encrypted_fsm_next_request.sql
Applied: 20240913035022_encrypted_fsm_next_request.sql in 2.095125ms
Applying: 20240913041619_encrypted_topic_events_payload.sql
Applied: 20240913041619_encrypted_topic_events_payload.sql in 1.625708ms
Applying: 20240916015906_remove_runner_state.sql
Applied: 20240916015906_remove_runner_state.sql in 3.168083ms
Applying: 20240916190209_rename_controller_to_controllers.sql
Applied: 20240916190209_rename_controller_to_controllers.sql in 1.646541ms
Applying: 20240917015216_add_ingress_event_type.sql
Applied: 20240917015216_add_ingress_event_type.sql in 1.801417ms
Applying: 20240917062716_change_deployments_index.sql
Applied: 20240917062716_change_deployments_index.sql in 2.476792ms
Applying: 20240919001309_create_identity_keys_table.sql
Applied: 20240919001309_create_identity_keys_table.sql in 4.867834ms
[Running: just build-sqlc && ftl dev --recreate]
just init-db && sqlc generate
dbmate drop || true
Dropping: ftl
dbmate create
Creating: ftl
dbmate --no-dump-schema --migrations-dir backend/controller/sql/schema up
Applying: 20231103205514_init.sql
Applied: 20231103205514_init.sql in 155.410125ms
Applying: 20240704103403_create_module_secrets.sql
Applied: 20240704103403_create_module_secrets.sql in 5.975292ms
Applying: 20240725212023_create_fsm_instance_updated_at.sql
Applied: 20240725212023_create_fsm_instance_updated_at.sql in 2.090458ms
Applying: 20240729002557_catch_async_calls.sql
Applied: 20240729002557_catch_async_calls.sql in 1.969375ms
Applying: 20240731230343_create_topic_events_caller.sql
Applied: 20240731230343_create_topic_events_caller.sql in 1.946542ms
Applying: 20240801160101_edit-db-secrets-and-configuration.sql
Applied: 20240801160101_edit-db-secrets-and-configuration.sql in 5.422333ms
Applying: 20240807174508_pubsub_otel_context.sql
Applied: 20240807174508_pubsub_otel_context.sql in 2.045125ms
Applying: 20240812011321_derive_encryption.sql
Applied: 20240812011321_derive_encryption.sql in 17.487208ms
Applying: 20240813062546_create_fsm_next_events.sql
Applied: 20240813062546_create_fsm_next_events.sql in 6.251458ms
Applying: 20240814060154_rename_events_to_timeline.sql
Applied: 20240814060154_rename_events_to_timeline.sql in 2.241041ms
Applying: 20240815003340_typesafe_encrypted_columns.sql
Applied: 20240815003340_typesafe_encrypted_columns.sql in 3.4305ms
Applying: 20240815053106_update-indexes.sql
Applied: 20240815053106_update-indexes.sql in 5.776ms
Applying: 20240815164808_async_calls_cron_job_key.sql
Applied: 20240815164808_async_calls_cron_job_key.sql in 2.675083ms
Applying: 20240820011612_encryption_verification.sql
Applied: 20240820011612_encryption_verification.sql in 1.87025ms
Applying: 20240902030242_remove_notify.sql
Applied: 20240902030242_remove_notify.sql in 2.039875ms
Applying: 20240903043046_enforce_runner_deployment.sql
Applied: 20240903043046_enforce_runner_deployment.sql in 2.102292ms
Applying: 20240913035022_encrypted_fsm_next_request.sql
Applied: 20240913035022_encrypted_fsm_next_request.sql in 3.775625ms
Applying: 20240913041619_encrypted_topic_events_payload.sql
Applied: 20240913041619_encrypted_topic_events_payload.sql in 2.257209ms
Applying: 20240916015906_remove_runner_state.sql
Applied: 20240916015906_remove_runner_state.sql in 2.74525ms
Applying: 20240916190209_rename_controller_to_controllers.sql
Applied: 20240916190209_rename_controller_to_controllers.sql in 1.7395ms
Applying: 20240917015216_add_ingress_event_type.sql
Applied: 20240917015216_add_ingress_event_type.sql in 1.844375ms
Applying: 20240917062716_change_deployments_index.sql
Applied: 20240917062716_change_deployments_index.sql in 2.648208ms
Applying: 20240919001309_create_identity_keys_table.sql
Applied: 20240919001309_create_identity_keys_table.sql in 4.540208ms
@wesbillman wesbillman added the bug Something isn't working label Sep 26, 2024
@github-actions github-actions bot added the triage Issue needs triaging label Sep 26, 2024
@ftl-robot ftl-robot mentioned this issue Sep 26, 2024
@deniseli deniseli added next Work that will be be picked up next P3 and removed triage Issue needs triaging labels Sep 26, 2024
@alecthomas alecthomas self-assigned this Sep 26, 2024
@github-actions github-actions bot removed the next Work that will be be picked up next label Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants