Shopify / Shopify/shipit-engine

Command overrides should always be treated as string

Open
#346 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug exception
Dominant language
Ruby
Stars
1.5k
Forks
154
Avg merge
2h 26m
Merged PRs (30d)
3

Description

deploy:
  override:
    - true

Will obviously be parsed as true not "true", which breaks shipit.

cc @graemej

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.

Research direction

Start by locating the code that parses deploy command overrides and trace how the YAML value is converted before Shipit uses it. Add a regression test for a boolean-looking override such as true, then verify that the resulting command override remains the string "true".

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
devops
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.