Skip to content

Add a service.yml file (Services DB manifest) - #4

Merged
DerekStride merged 1 commit into
mainfrom
services-db/service-yml
May 17, 2022
Merged

Add a service.yml file (Services DB manifest)#4
DerekStride merged 1 commit into
mainfrom
services-db/service-yml

Conversation

@services-db

@services-db services-db Bot commented May 17, 2022

Copy link
Copy Markdown

Owners: @Shopify/storefront-foundations
Service: liquid-spec

Welcome to Services DB

This PR adds a Services DB manifest (service.yml) to your project.

A service has been created on Services DB and this manifest will let you declare additional
information about your service.

Links to get you started

Note:
Changes to the manifest will immediately appear on Services DB.
However, checks and metrics are run periodically and will be updated overnight.

@DerekStride
DerekStride merged commit 6fc954a into main May 17, 2022
@DerekStride
DerekStride deleted the services-db/service-yml branch May 17, 2022 18:56
@shopify-shipit
shopify-shipit Bot temporarily deployed to cloudsmith May 17, 2022 20:18 Inactive
tobi added a commit that referenced this pull request Jul 6, 2026
Driven by analysis of /tmp/liquid-spec-results.jsonl (6.2M run lines, 8523 specs):
find specs that consistently fail at low complexity without actionable guidance.

Hints + complexity (#1, #2):
- Add specific spec-level hints to 19 consistently-failing specs: the
  to_liquid-in-conditions/lookups cluster (VariableTest#test_*_calls_to_liquid_value_*,
  19 specs at c=220, ~89% fail), the nil-comparison quirk
  (StatementsTest#test_zero_lq_or_equal_one_involving_nil, c=140, 89% fail), and the
  nested {% liquid %} spec (LiquidTagTest#test_nested_liquid_tag, c=130, 50% fail).
- Raise ForTagTest#test_iterate_with_each_when_no_limit from c=70 to c=200: it uses
  instantiate:LoaderDrop (drop iteration) and was misplaced in the near-beginner band.

Spec-quality gate (#3):
- New test_specs_through_220_have_spec_level_hints: requires a spec-LEVEL hint
  (spec.hint, not suite/file effective_hint) for c<=220, with a frozen per-spec
  baseline (test/spec_hint_baseline.txt). Bidirectional: fails on new no-hint specs
  (regressions) AND stale baseline entries (hints added or specs removed), so the
  grandfather list shrinks instead of accreting dead weight. Threshold stays at 220
  per the stated policy; generated/bulk specs are exempted exactly, not by file.
- scripts/generate_spec_hint_baseline.rb regenerates the baseline.

Filter-matrix hints (#4):
- docs/filter_matrix_quirks.md: category-level guide for the 716 c=160 generated
  filter specs (date rendering, float formatting, type coercion, nil/empty, drops).
- tasks/helpers.rb#format_and_write_specs accepts metadata: and writes the
  _metadata wrapper, so rake generate:standard_filters preserves the file-level
  hint instead of erasing it. standard_filters.yml metadata hint now references
  the doc and lists the five failure categories.

Runner output (user request):
- Default plain-mode output is now a single summary line then the lowest-complexity
  failures: "Complexity bar cleared: NN, NNNN passes, NNN failures. Next best specs
  to work on:" + N failure rows (default 5, --max-failures). Each failure row shows
  [c=N] complexity. Preamble, per-suite progress, and skipped-suite output are
  verbose-only (-v); --json is unchanged. --add-specs output also gated to verbose.
- Updated test/runner_diagnostics_test.rb: new test_plain_output_starts_with_...
  asserts stdout starts with the summary and omits preamble; prioritized test
  asserts no "Prioritized Specs" before the header.
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.

1 participant