8000 [FEATURE] Local and Brickflow Metadata Cleanup · Issue #167 · Nike-Inc/brickflow · GitHub
[go: up one dir, main page]

Skip to content

[FEATURE] Local and Brickflow Metadata Cleanup  #167

Description

@brent-johnson

A really common problem experienced by developers is when deployments fail because metadata in the local and/or databricks workspace does not match what resources are actually deployed to databricks.

The error message often looks like:
Error: cannot read job: User ff59715d-07ae-465b-9a29-5539c4e7f687 does not have Admin or Manage Run or Owner or View permissions on job 1020683971056165

Often times even under the instruction of support developers that try to resolve this issue manually end up making mistakes. This wastes the time of everyone involved.

Cloud Information

  • AWS
  • Azure
  • GCP
  • Other

I'm proposing extending the CLI to include a 'clean' feature that performs this cleanup per project.

The command would look something like:
bf projects clean --project test_project --env qa

Describe alternatives you've considered
I wrote a shell script that performed this same functionality and have tested it to success, but it would be better if it was integrated into the CLI.

Activity

  1. added this to the v1.4.0 milestone on May 9, 2025
  2. maxim-mityutko commented on May 9, 2025

    @maxim-mityutko
    Collaborator

    I think this is a valuable feature / fix, cause it pops rather often in the support channel.

  3. nogitting commented on May 10, 2025

    @nogitting
    Contributor

    To be put on hold, at best, for now. Data shows it is rather due to (local or CI/CD) setup-related issues. Plus, the clean-up, in this very case, may seem simple but not necessarily safe.

  4. maxim-mityutko commented on May 14, 2025

    @maxim-mityutko
    Collaborator

    To be put on hold, at best, for now. Data shows it is rather due to (local or CI/CD) setup-related issues. Plus, the clean-up, in this very case, may seem simple but not necessarily safe.

    @nogitting Can you elaborate what are the caveats for doing this for local deployments?

  5. modified the milestones: v1.4.0, v1.5.0 on Jun 13, 2025
  6. modified the milestones: v1.5.0, v2.1.0 on Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0