fix(flow): remove the apostrophe that broke extract_iid quoting
What broke
A live run labelled nothing. extract_iid exited 2 and wrote no iid.txt, so read_iid hit
ENOENT and the flow stopped after four actions.
The cause is one apostrophe. d55ea81 added this line inside the ruby -e '...' script:
# - Read this project's URL.project's closes the single-quoted shell string, so the shell tries to run the remaining Ruby
as its own syntax and dies with syntax error near unexpected token '('.
Nothing was mislabelled. The flow stopped before fetch_mr, so the fail-safe held.
What this changes
flows/flow.yml: the comment now reads# - Read the URL of this project.tests/offline_test.rb: a guard that names this failure. Without it the symptom is twelveextract_iidcases failing at once, which does not point at the cause.
Verification
ruby tests/offline_test.rbpasses 82/82.- Reintroducing the apostrophe gives
extract_iid: 3 apostrophes in the script, want the 2 that quote ruby -e.
Not in this MR
The suite already caught this on main, it just was not run before merging. A .gitlab-ci.yml
job cannot close that gap from here: the pipeline this project runs is injected from outside and
replaces the project config, so a job added in the repo never runs. I pushed one and watched two
pipelines to confirm it. Making it run needs the catalog pipeline to include the project file,
which is a separate change.
Note for reviewers
The step exited 2 and the flow still took the success route, so execution_result does not
catch a failing command in this environment. read_iid failing on the missing file is what
stopped the run. Worth knowing before anyone collapses that write-then-read pair into a step
that reads the command output directly.