Unstable output in bazel_build_settings.py

Open
#90 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
build-system

Research direction

Start by reading bazel_build_settings.py and the example diff linked in the issue to identify which collection values produce unstable rendering. Ensure the rendered output is deterministic, then compare generated output across repeated runs to confirm unnecessary diffs are gone.

Written by the indexing model from the issue text.

Description

There are certain parts like platform architectures that are not stable and causes noise in PR reviews and unnecessary diffs. We should ensure we sort any collection types before rendering this file

Here is an example:
https://github.com/pinterest/xchammer/pull/84/files#diff-31666cd9f1523b974543b5f819d5665eR137

Dominant language
Swift
Stars
314
Forks
45
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bazel-xcode/xchammer

All issues in bazel-xcode/xchammer

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.