File tree Expand file tree Collapse file tree 6 files changed +7
-21
lines changed Expand file tree Collapse file tree 6 files changed +7
-21
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " wrangler " : patch
3+ ---
4+
5+ Remove open-beta disclaimer from workflows commands
Original file line number Diff line number Diff line change @@ -12467,7 +12467,7 @@ export default{
1246712467 msw . use ( handler ) ;
1246812468 }
1246912469
12470- it ( "should log open-beta warning when deploying a workflow" , async ( ) => {
12470+ it ( "should deploy a workflow" , async ( ) => {
1247112471 writeWranglerConfig ( {
1247212472 main : "index.js" ,
1247312473 workflows : [
@@ -12502,11 +12502,7 @@ export default{
1250212502
1250312503 await runWrangler ( "deploy" ) ;
1250412504
12505- expect ( std . warn ) . toMatchInlineSnapshot ( `
12506- "[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1mWorkflows is currently in open beta.[0m
12507-
12508- "
12509- ` ) ;
12505+ expect ( std . warn ) . toMatchInlineSnapshot ( `""` ) ;
1251012506 expect ( std . out ) . toMatchInlineSnapshot ( `
1251112507 "Total Upload: xx KiB / gzip: xx KiB
1251212508 Worker Startup Time: 100 ms
Original file line number Diff line number Diff line change @@ -235,10 +235,6 @@ export const deployCommand = createCommand({
235235
236236 const entry = await getEntry ( args , config , "deploy" ) ;
237237
238- if ( config . workflows ?. length ) {
239- logger . once . warn ( "Workflows is currently in open beta." ) ;
240- }
241-
242238 validateAssetsArgsAndConfig ( args , config ) ;
243239
244240 const assetsOptions = getAssetsOptions ( args , config ) ;
Original file line number Diff line number Diff line change @@ -284,8 +284,6 @@ export default async function triggersDeploy(
284284 }
285285
286286 if ( config . workflows ?. length ) {
287- logger . once . warn ( "Workflows is currently in open beta." ) ;
288-
289287 for ( const workflow of config . workflows ) {
290288 // NOTE: if the user provides a script_name thats not this script (aka bounds to another worker)
291289 // we don't want to send this worker's config.
Original file line number Diff line number Diff line change @@ -11,7 +11,6 @@ import { fetchResult } from "../cfetch";
1111import { createCommand } from "../core/create-command" ;
1212import { UserError } from "../errors" ;
1313import { isNonInteractiveOrCI } from "../is-interactive" ;
14- import { logger } from "../logger" ;
1514import * as metrics from "../metrics" ;
1615import { writeOutput } from "../output" ;
1716import { APIError } from "../parse" ;
@@ -119,10 +118,6 @@ export const versionsDeployCommand = createCommand({
119118 ) ;
120119 }
121120
122- if ( config . workflows ?. length ) {
123- logger . once . warn ( "Workflows is currently in open beta." ) ;
124- }
125-
126121 const versionCache : VersionCache = new Map ( ) ;
127122 const optionalVersionTraffic = parseVersionSpecs ( args ) ;
128123
Original file line number Diff line number Diff line change @@ -281,10 +281,6 @@ export const versionsUploadCommand = createCommand({
281281 ) ;
282282 }
283283
284- if ( config . workflows ?. length ) {
285- logger . once . warn ( "Workflows is currently in open beta." ) ;
286- }
287-
288284 validateAssetsArgsAndConfig (
289285 {
290286 site : undefined ,
You can’t perform that action at this time.
0 commit comments