Skip to content

ci: Fix shard info meta-data and add bin/ci-shards#37866

Draft
def- wants to merge 1 commit into
MaterializeInc:mainfrom
def-:pr-shard-buildkite
Draft

ci: Fix shard info meta-data and add bin/ci-shards#37866
def- wants to merge 1 commit into
MaterializeInc:mainfrom
def-:pr-shard-buildkite

Conversation

@def-

@def- def- commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Sharded jobs record the workflows/files they ran in build meta-data under "Shard for ". Accumulate items across shard_list calls so workflows that shard multiple lists (e.g. sqllogictest's steps) no longer overwrite their own entry. The label alone is a unique key since mkpipeline appends the shard number to parallel steps.

Add bin/ci-shards to show the mapping: pass a Buildkite build URL to list every sharded job with its items, or a job link for that job's items. Document it in the mz-debug-ci skill.

https://materializeinc.slack.com/archives/C01LKF361MZ/p1784895664071619

@def-
def- requested a review from antiguru July 24, 2026 15:36

@antiguru antiguru left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@def- def- changed the title ci: Write shard info to buildkite correctly ci: Fix shard info meta-data and add bin/ci-shards Jul 24, 2026
@def-
def- force-pushed the pr-shard-buildkite branch from cb32100 to 1cb851f Compare July 24, 2026 16:05
@def-
def- requested a review from antiguru July 24, 2026 16:06
@def-

def- commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

Sorry, was in a half-finished state.

@def-
def- marked this pull request as draft July 24, 2026 16:08
Sharded jobs record the workflows/files they ran in build meta-data
under "Shard for <job label>". Accumulate items across shard_list calls
so workflows that shard multiple lists (e.g. sqllogictest's steps) no
longer overwrite their own entry. The label alone is a unique key since
mkpipeline appends the shard number to parallel steps.

Add bin/ci-shards to show the mapping: pass a Buildkite build URL to
list every sharded job with its items, a job link for that job's items,
or additionally a file/scenario/workflow name to find the job(s) that
ran it. Document it in the mz-debug-ci skill.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CeY7DEyG9nLDzbMHFBgt2r
@def-
def- force-pushed the pr-shard-buildkite branch from 1cb851f to 209b272 Compare July 24, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants