Page MenuHomeElementl

Renames dev mode to default mode.
Needs ReviewPublic

Authored by bob on Feb 12 2021, 8:34 PM.

Details

Summary

To avoid needing to specify a pipeline mode during development, the development mode has been renamed from "dev" to "default".

Test Plan

buildkite

Diff Detail

Repository
R1 dagster
Branch
chenbobby/new-repo-cli--default-mode
Lint
Lint Passed
Unit
No Test Coverage

Event Timeline

This revision is now accepted and ready to land.Feb 22 2021, 6:06 PM

From local experimentation, it seems that having a mode named "default" will still require me to explicitly pick the mode for pipeline execution.

$ dagster pipeline execute -m my_module -p my_pipeline

Pipeline my_pipeline has multiple modes (Available modes: ['default', 'test']) and you have attempted to execute it without specifying a mode. Set mode property on the PipelineRun object.

This diff was originally motivated by a Slack discussion during DogFoodDay Feb 2021, but I'm struggling to find it in Slack search. For now, I'll put this diff "on hold" until I (or someone else) can reproduce the advantages and convenience of using "default" instead of "dev".

This revision now requires review to proceed.Thu, May 6, 5:49 PM