Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Options

Workspace Protection in practice?

S1monS1mon Member Posts: 3,354 PRO
edited July 3 in General

Workspace Protection was introduced about a year ago. I'm just starting to try it out, and I was wondering what the collective wisdom is now that companies have had a chance to integrate it into their process?

What's one thing that surprised or disappointed you about how it's fit into your process?

Comments

  • romeograhamromeograham Member, csevp Posts: 707 PRO

    For us, it hasn't worked out at all. The problem is that before you can Merge your changes back into Main (if Main is protected), the versions of main and the branch have to match exactly, or the Merge won't be allowed. This condition (where the onshape version of the branch matches the main version) exists briefly after you create the branch and Protect Main. However, if much time goes by (max 3 weeks!) now the branch and the Main may no longer share Onshape versions (because of the great update cadence).

    Infuriatingly, this causes the merge to fail, and the only way to make it work was to:

    1. merge Main into your working branch (I think you might have to unprotect to do this)s, but keep all the branch tabs geometry (merge, but don't merge any actual tabs)
    2. then try to Merge your branch back into Main

    Often this would fail, or I would make a mistake, or the merge wouldn't take, or something…so I would typically have 2 -3 merges back and forth between Main and my Branch…just to get the conditions to be just right to Merge back into the protected workspace.

    Generally, it was far too much work, and we've stopped trying for now.

    I really liked the minor barrier to working in Main (you could just Unprotect it to get around it) because it helped us remember to work in the correct branch. But the major hassle also meant that we could: a) Release from the Branch (which we didn't want to do) or b): turn off Protected Workspaces…thereby making the whole thing ineffective.

    I've submitted feedback and (I think) a support ticket or two on this.

    Basically, they need the Onshape version updates in the background to be ignored by the Protected Workspace - so that the tiny, behind-the-scenes differences don't gum up the works. I haven't tried it for several months, but also haven't noticed anything about updates or new functionality - so I don't know if this issue persists today.

  • S1monS1mon Member Posts: 3,354 PRO
    edited July 4

    Wow. Ouch. That's super useful information which basically makes the feature too painful to recommend unless you're always making changes and merging back within a shorter time window.

Sign In or Register to comment.