Skip to content

YML: Exporting of collection flow fails. #8598

Closed

Description

@tho-gru-38

Internal - [BRU-3877]

I have checked the following:

  • I have searched existing issues and found nothing related to my issue.

This bug is:

  • making Bruno unusable for me
  • slowing me down but I'm able to continue working
  • annoying
  • this feature was working in a previous version but is broken in the current release.

Bruno version

3.5.2, portable

Operating System

Windows 11 Enterprise, Version 10.0.26200 Build 26200 (msinfo output)

Describe the bug

Hi,

Steps to reproduce

Currently I use bru-files to store my collections. Every collection has the following lines in their bruno.json configuration file:

  "scripts": {
    "flow": "sequential"
  }

I

Collection to reproduce

Collection to Export-20260714.zip
Exported correctly

Collection to Export-20260714.yml
Definition of flow is not exported.

Screenshots/Live demo link

.

Activity

  1. added
    bug
    on Jul 14, 2026
  2. coderabbitai commented on Jul 14, 2026

    @coderabbitai
    Contributor
    🔗 Related PRs

    #6117 - fix: Exporting Bruno collection as Postman collection omits collection variables [merged]
    #6444 - fix: opencollection export as bruno json [merged]
    #6547 - add: export info & remove unused component [merged]
    #6735 - fix: opencollection format registration on collection import [merged]
    #8424 - (size/L)feat:Added the option for bruno version edit in the collection overview [merged]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  3. tho-gru-38 commented on Jul 14, 2026

    @tho-gru-38
    Author

    How store store flow configuration of a collection when using the YML format to store the collection?

  4. self-assigned this
    on Jul 15, 2026
  5. Rohan-Bruno commented on Jul 15, 2026

    @Rohan-Bruno
    Collaborator

    Hi @tho-gru-38, thanks for reporting the issue. I'd like to understand the impact a bit better.

    Could you clarify the following?

    • Could you confirm whether you exported the collection using the Single File (YAML) option from the Bruno UI, or by some other method?
    • How does the missing scripts.flow field affect your workflow? What issue does it cause for you?
    • When you import the exported YAML back into Bruno, do you observe any change in behavior (for example, in how your scripts execute), or is the issue that the exported YAML does not preserve the original collection configuration?
    • Does this happen with every collection you export as YAML, or only with this specific collection?
  6. tho-gru-38 commented on Jul 15, 2026

    @tho-gru-38
    Author

    Hi @Rohan-Bruno,

    Thanks for looking into this issue.

    I investigate this issue further. It looks like that the flow cannot be changed at all when using the YML format, although the https://docs.usebruno.com/testing/script/script-flow#yaml-collections-v3 contains other infomation.

    I manually created the collection Flow-bru:
    Flow-yml-20260715.zip
    This is working as expected as only consist of bru-files. The flow can be changed by editing the bruno.json file.

    When trying to use YML files for the same I will get:
    Flow-yml-20260715.zip
    Although the opencollection.yml contains a flow: sequential statement the flow is still in sandwich sequence. You can see it when viewing the console massages while send the request.

    Remark: All above ZIP-Files are simply created by using 7-Zip directly called via the Windows Explorer.

    When exporting these collections using Bruno to a single YML file the flow tag is not exported at all.

    answer to 1. question

    Please find attached the export files for collection Flow-bru created by Bruno:
    Flow-bru-Exported-by-Bruno.zip
    Flow-bru-Exported-by-Bruno.yml
    The ZIP file looks ok, but in the YML file the flow: sequential is missing.

    answer to 2. question

    In former days I want to use the the sequential flow to load libraries (via require()) only once at collection level. As the scope of variables changed with Bruno version 3 I need load libraries everywhere.

    I am thinking on some sort of re-executing set of requests (based at folders level) when error occurs. But because it look like sequential is not working at all when using YML files I consider to find some other solution ...

    answer to 3. question

    As the flow: sequential is lost during export re-importing brings is not back.

    answer to 4. question

    It looks like that this issue exists for every collection that is exported. I can confirm that this issue exists for all collections I am using.

  7. Rohan-Bruno commented on Jul 15, 2026

    @Rohan-Bruno
    Collaborator

    Hi @tho-gru-38, thanks for the detailed investigation and for sharing the sample collections along with your observations. This helps clarify the issue.

    I'll share all of the information you've provided, including the sample files and your findings, with our engineering team so they can investigate further. We'll keep you updated as we have more information.

  8. Rohan-Bruno commented on Oct 8, 2026

    @Rohan-Bruno
    Collaborator

    Hi @tho-gru-38, apologies for the delay on getting back!

    Just wanted to let you know that this was fixed in the latest version. Could you please update your app to 4.2.1 to check if the issue is resolved for you?

    Let us know if you still facing anything.

  9. tho-gru-38 commented on Oct 8, 2026

    @tho-gru-38
    Author

    Hi @Rohan-Bruno,

    Thanks for comming back to me.

    I can confirm that in portable version of Bruno 4.2.1 the export includes the flow: sequential statement in opencollection.yml. I have checked this for an export into a single yml and also for an export into a ZIP file.

    Even the import of the single yml works fine. 😄

    Kind Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions