Skip to content

Add pipeline step that requires shared code to match #31507

Open

Description

Some libraries -- like Key Vault, Service Bus, and Storage -- use shared code across packages that should always be kept in sync (in KV and Storage, these are _shared folders by convention). We should use automation to ensure this synchronization is actually maintained.

@kashifkhan wrote up a bash script that accepts a list of folders and checks that each folder contains the exact same contents. We should plug this into pipeline(s) where necessary to ensure library owners are 1. aware of misalignment; and 2. blocked from releasing packages that are misaligned.

Since synchronization is usually done by just copy/pasting the code that needs to be shared, misalignments can be quickly resolved. Nightly checks (that also run during release pipelines) therefore seem appropriate for raising the error without being an outsize burden on success metrics.

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

Metadata

Labels

EngSysThis issue is impacting the engineering system.MQThis issue is part of a "milestone of quality" initiative.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions