Skip to content

Release v0.2.1 - #78

Open
roncodes wants to merge 4 commits into
mainfrom
release/v0.2.1
Open

Release v0.2.1#78
roncodes wants to merge 4 commits into
mainfrom
release/v0.2.1

Conversation

@roncodes

Copy link
Copy Markdown
Member

Release branch for v0.2.1. Feature PRs targeting this release are retargeted here and merge into this branch; merging this PR into main triggers the release-tag workflow, which tags v0.2.1 from package.json.

Included

Release prep in this branch

  • package.json bumped 0.2.00.2.1
  • RELEASE.md seeded with the v0.2.1 header and highlights (placeholders removed so the tag job passes)

Update RELEASE.md before merging if the included set changes.

roncodes and others added 3 commits September 10, 2026 16:16
The inspection form and submission models handed out `createdAt` and its
siblings as the raw `Date` from the attribute. A table column bound to
`createdAt` therefore rendered a full datetime instance string instead of
a date, which is what the inspection forms index shows today.

Every other model in this package formats these getters, guarding an
unparseable value with `isValidDate` first, so do the same here.

The form model also carried a `frequency` attribute. Nothing schedules an
inspection from it, and FleetOps has dropped it from the API resource and
the console, so it is removed here too.
The inspection form and submission tests still asserted that the camelCase
date getters return the raw Date, so they failed once the getters began
formatting it, and the null branch of each isValidDate guard was never run,
which held coverage below the 100% gate.

Assert each getter through assertDateGetters, like the other models: the
yyyy-MM-dd HH:mm rendering of a real date, and null for null, undefined and
an unparseable Date. Also assert that the form no longer declares frequency.
Bump package.json to 0.2.1 and seed RELEASE.md so the release-tag workflow
can validate the version once this branch merges to main.
@codecov

codecov Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7831acc) to head (1428e53).

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #78   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2899      2913   +14     
  Branches       687       694    +7     
=========================================
+ Hits          2899      2913   +14     
Flag Coverage Δ
fleetops-data 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
addon/models/inspection-form.js 100.00% <100.00%> (ø)
addon/models/inspection-submission.js 100.00% <100.00%> (ø)

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7831acc...1428e53. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Format the inspection models' display dates
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