Code Monkey home page Code Monkey logo

Comments (5)

sshah-wework avatar sshah-wework commented on August 27, 2024

@ashulmanWeWork since you're taking over the ownership POC branch, this will be a good change to get in also. This functionality can be part of your ownership PR or in a separate, self-contained PR (which comes after the larger ownership PR).

from marquez.

ashulmanWeWork avatar ashulmanWeWork commented on August 27, 2024

This is a useful case to consider. Question here - we should probably require every job to have an owner, since ownerless jobs are a scary thing in terms of resource accountability. However, upon deleting the owner, we'd need to then re-assign the job.

Perhaps we can do a lookup and find the team that the owner belongs to and update the job assignment?

from marquez.

sshah-wework avatar sshah-wework commented on August 27, 2024

Good question -- team name could be baked into the owner name itself, so that can enable notifications to go to the owning team once a job becomes unowned. Alternatively owner deletion could be blocked until the owner's jobs have been re-assigned. IMO, requiring this is a bit of friction which could cause phantom owners to hang around in the system because of the work involved to delete them.

My preference is for allowing jobs to become unowned which then makes it possible to alert on this condition and take action (alert the last owning team, auto-disable the job, etc). That's just one opinion though, not saying that's how we must do it.

@wslulciuc @julienledem thoughts?

from marquez.

ashulmanWeWork avatar ashulmanWeWork commented on August 27, 2024

I really like your last suggestion, which would be allow for empty ownerships, but only in the case that the job status is 'disabled'. Is there an elegant way to enforce this invariant at the database layer? Or would it have to be at the application level?

from marquez.

sshah-wework avatar sshah-wework commented on August 27, 2024

Per the latest conversation, owner endpoint is deprioritized. Closing for now.

from marquez.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.