<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ion Eremia — Practical Workflow Notes]]></title><description><![CDATA[Ion Eremia — Practical Workflow Notes]]></description><link>https://ioneremia-workflows.hashnode.dev</link><generator>RSS for Node</generator><lastBuildDate>Fri, 04 Dec 2026 22:27:48 GMT</lastBuildDate><atom:link href="https://ioneremia-workflows.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[Mark a paginated export complete only after the last page]]></title><description><![CDATA[AI-assisted writing. The request sequence below is synthetic and uses no customer data. An export can fetch page 1 successfully, write its rows, and still…]]></description><link>https://ioneremia-workflows.hashnode.dev/mark-a-paginated-export-complete-only-after-the-last-page</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/mark-a-paginated-export-complete-only-after-the-last-page</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Fri, 27 Nov 2026 06:34:43 GMT</pubDate><content:encoded><![CDATA[<p><em>AI-assisted writing. The request sequence below is synthetic and uses no customer data.</em></p>
<p>An export can fetch page 1 successfully, write its rows, and still fail before page 2. If the job publishes the output after each successful request, the destination can end up with a plausible partial file.</p>
<h2>Track the request and the run separately</h2>
<p>In the <a href="https://docs.github.com/en/rest/using-the-rest-api/using-pagination-in-the-rest-api">GitHub REST API pagination example</a>, a paginated response can carry the URL of the next page in its Link header. Follow the server-provided next link and use the endpoint's documented stopping condition. Other APIs may use an opaque cursor in the body, an offset, or a vendor-specific completion signal.</p>
<p>For an export you intend to retry, give the run its own ID. Keep a record of the last page committed and the next request needed to continue. Stage the rows until the run reaches the terminal page and passes the checks you can actually perform, such as schema validation, unique row IDs, and a source count where the source exposes a comparable snapshot count.</p>
<h2>Walk through one failure</h2>
<p>Suppose page A returns two rows and points to page B. The export commits page A to staging. The request for page B times out. At this point the run stays incomplete and page A's two rows remain staged. A bounded retry of page B can continue the run. Once page B commits and explicitly ends the sequence under that API's rules, validate the staged result before making it visible to the consumer.</p>
<p>A crash after writing a page but before recording its checkpoint can replay that page. Use a transaction or a stable row key so the replay does not duplicate rows. Handle expired cursors by restarting from the source's documented recovery point. If the source can change during pagination, a completed run still describes what was observed during the run. Snapshot consistency needs a separate guarantee.</p>
<h2>Check three outcomes before shipping</h2>
<ul>
<li>The first page is successful and the second request fails. The export stays incomplete.</li>
<li>A committed page is replayed after interruption. The destination contains each intended row once.</li>
<li>A later response closes the page sequence. The export becomes available after validation, with a run ID and a reported row count.</li>
</ul>
]]></content:encoded></item><item><title><![CDATA[Budget Copilot sandbox time alongside CI builds]]></title><description><![CDATA[A team can finish release week with AI credits left and still run out of included GitHub compute. GitHub started billing for Copilot cloud sandboxes on…]]></description><link>https://ioneremia-workflows.hashnode.dev/budget-copilot-sandbox-time-alongside-ci-builds</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/budget-copilot-sandbox-time-alongside-ci-builds</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Fri, 27 Nov 2026 05:38:50 GMT</pubDate><content:encoded><![CDATA[<p>A team can finish release week with AI credits left and still run out of included GitHub compute. GitHub started billing for Copilot cloud sandboxes on November 23, 2026. Sandbox compute and memory can draw from the same included allowance as standard Actions runners in private and internal repositories. Check the bill for both before expanding a cloud agent pilot.</p>
<h2>Give the pilot a separate line item</h2>
<p>Choose a small code change with a clear acceptance test: change a date validator, run its existing unit tests, and inspect the patch. Record the allocated vCPUs and memory, wall-clock duration, and number of CI runs it triggered. Start with a disposable branch and your normal repository permissions. The output of the exercise is a billable usage estimate and a checkable diff.</p>
<p><a href="https://docs.github.com/en/billing/concepts/product-billing/cloud-and-local-sandboxes">GitHub's billing documentation</a> shows rates of $0.000024 per vCPU-second and $0.000003 per allocated GiB-second. At those rates, a 15-minute session with two vCPUs and 4 GiB costs $0.054 in compute and memory. Both inputs matter even if the task only uses part of its allocated memory.</p>
<table>
<thead>
<tr>
<th>Fictional pilot</th>
<th>Calculation</th>
<th>Allowance used</th>
</tr>
</thead>
<tbody><tr>
<td>One 15-minute sandbox</td>
<td>900 × (2 × $0.000024 + 4 × $0.000003)</td>
<td>$0.054</td>
</tr>
<tr>
<td>120 sandbox sessions</td>
<td>120 × $0.054</td>
<td>$6.48</td>
</tr>
<tr>
<td>Release-week allowance remaining</td>
<td>Hypothetical $40 included, with $36 forecast for CI</td>
<td>$4.00</td>
</tr>
<tr>
<td>Projected shortfall</td>
<td>$6.48 − $4.00</td>
<td>$2.48</td>
</tr>
</tbody></table>
<p>The $40 is an illustrative budget, not the allowance for a named GitHub plan. At these assumptions, $4 covers at most 74 complete 15-minute sessions before adding more CI runs or considering storage. Longer tasks lower that limit. If you can’t reduce runtime, invite fewer people to the pilot or reserve more of the allowance. Keep the CI budget and actual CI run count in the worksheet, since a cloud session can lead to a separate build.</p>
<h2>Make stopping and deleting different actions</h2>
<p>Stopping a sandbox ends the runtime meters. A stopped sandbox can retain a snapshot whose storage is metered until it is deleted. Decide whether you need that resumable state and who owns deletion, then validate the result in the account's usage report. Keep AI-credit usage in a separate column. Check the published rate card and account spending controls before moving from a trial to a team-wide rollout.</p>
<p>For a buyer choosing between tools, the <a href="https://tihmlo.com/decisions/github-copilot-vs-cursor/?utm_source=hashnode&amp;utm_medium=editorial&amp;utm_campaign=sandbox_budget#copilot-cloud-budget">TIHMLO Copilot versus Cursor comparison</a> explains how to run the same sample task against both plans without treating their usage units as equivalent. <a href="https://github.blog/changelog/2026-10-28-work-from-anywhere-with-a-new-connected-copilot-cloud-experience/">GitHub's rollout announcement</a> gives the effective billing date.</p>
]]></content:encoded></item><item><title><![CDATA[Check the actual file behind a restored WordPress media URL]]></title><description><![CDATA[AI-assisted technical note. The three fixture outcomes were tested locally with synthetic bytes. Restoring WordPress can bring a download URL back while it…]]></description><link>https://ioneremia-workflows.hashnode.dev/check-the-actual-file-behind-a-restored-wordpress-media-url</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/check-the-actual-file-behind-a-restored-wordpress-media-url</guid><category><![CDATA[WordPress]]></category><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Tue, 24 Nov 2026 19:14:47 GMT</pubDate><content:encoded><![CDATA[<p>AI-assisted technical note. The three fixture outcomes were tested locally with synthetic bytes.</p>
<p>Restoring WordPress can bring a download URL back while it still serves the wrong content. A staging fallback might return an HTML home page at <code>/uploads/manual.pdf</code> with HTTP 200. A stale cache might return a valid PDF from the previous release. Test both the returned content and the file bytes before calling the restore successful.</p>
<h2>Pick three files before the backup</h2>
<p>Record an important PDF, a media image referenced in an existing page, and one download that has caused trouble before. Keep a local copy of each expected file, the intended URL and whether the release should preserve the exact bytes. On the isolated restored site, save the downloaded response for each URL. Record its final URL, HTTP status and content type beside the saved file.</p>
<h2>Check the bytes</h2>
<p>This Python helper is for assets expected to survive a restore unchanged. It compares two local files. The short file signatures catch obvious substitutions. They are too short to validate an entire PDF or PNG.</p>
<pre><code class="language-python">from hashlib import sha256
from pathlib import Path

SIGNATURES = {'.pdf': b'%PDF-', '.png': b'\x89PNG\r\n\x1a\n'}

def compare(source: Path, restored: Path) -&gt; str:
    expected, received = source.read_bytes(), restored.read_bytes()
    signature = SIGNATURES.get(source.suffix.lower())
    if signature and not received.startswith(signature):
        return 'unexpected file signature'
    if sha256(expected).digest() != sha256(received).digest():
        return 'different bytes'
    return 'same bytes'

print(compare(Path('before/manual.pdf'), Path('restored/manual.pdf')))
</code></pre>
<p>My fixture produced <code>same bytes</code> for an unchanged file, <code>unexpected file signature</code> for HTML saved as a PDF, and <code>different bytes</code> for a second PDF-like byte sequence. The last case still needs an explanation before cutover. If the migration intentionally resizes images, record that exception and check the expected dimensions and rendered page instead of comparing checksums.</p>
<p>Finish by opening the real media item from the restored page and testing its download. Keep the output next to the rest of the <a href="https://primegroupone.com/backup-restore-test/">WordPress backup restore checks</a>, including the recovery point, login and any form or store paths in scope.</p>
<p>For a defined-scope WordPress move, Prime Group One’s <a href="https://primegroupone.com/wordpress-migration/">migration + QA service</a> covers one standard site of up to 10 pages on a customer-provided destination, with media, link and form checks. Scope is confirmed before work begins.</p>
]]></content:encoded></item><item><title><![CDATA[A mixed-drive RAID estimate should report TB and TiB]]></title><description><![CDATA[AI-assisted writing with a synthetic example. I work on TIHMLO, which publishes the calculator linked below. A user enters four drive labels into a…]]></description><link>https://ioneremia-workflows.hashnode.dev/a-mixed-drive-raid-estimate-should-report-tb-and-tib</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/a-mixed-drive-raid-estimate-should-report-tb-and-tib</guid><category><![CDATA[storage]]></category><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Tue, 24 Nov 2026 17:55:42 GMT</pubDate><content:encoded><![CDATA[<p><em>AI-assisted writing with a synthetic example. I work on TIHMLO, which publishes the calculator linked below.</em></p>
<p>A user enters four drive labels into a capacity form: 6 TB, 6 TB, 6 TB and 10 TB. The labels add up to 28 TB. On a conventional single RAID group that uses an equal slice from every drive, the smallest drive limits each slice to 6 TB. The planner must account for that limit before reserving parity capacity.</p>
<h2>Keep three numbers visible</h2>
<p>For four drives in a conventional RAID 5 group, the estimate is (4 − 1) × 6 TB, or 18 TB before controller, filesystem, snapshot and other overhead. For RAID 6, reserve the equivalent of two drive slices and the estimate is 12 TB. The 4 TB beyond the equal slice on the largest drive is outside this model. A controller that supports heterogeneous layouts can have different rules.</p>
<p>The operating system may display a binary unit. A tebibyte is 2^40 bytes. Dividing 18 trillion bytes by that value gives about 16.37 TiB. A display near 16.37 TiB can therefore agree with a specification of 18 TB before overhead. Check what unit the display actually uses before comparing them.</p>
<h2>Make the assumption testable</h2>
<p>The function below assumes its inputs are whole drive labels in decimal TB and that the layout reserves one or two equal-size slices. It performs a capacity estimate only. It intentionally has no knowledge of file systems or vendor-specific layouts.</p>
<pre><code class="language-js">function estimateParityArray(drivesTB, paritySlices) {
  const minimumDrives = paritySlices === 1 ? 3 : 4;
  if (![1, 2].includes(paritySlices) || drivesTB.length &lt; minimumDrives) {
    throw new RangeError('Unsupported parity layout');
  }
  if (drivesTB.some(size =&gt; !Number.isSafeInteger(size) || size &lt;= 0)) {
    throw new RangeError('Use positive whole drive ratings in decimal TB');
  }
  const smallestTB = Math.min(...drivesTB);
  const rawTB = drivesTB.reduce((total, size) =&gt; total + size, 0);
  const usableTB = (drivesTB.length - paritySlices) * smallestTB;
  return { rawTB, usableTB, usableTiB: usableTB * 10 ** 12 / 2 ** 40 };
}

console.log(estimateParityArray([6, 6, 6, 10], 1));
// { rawTB: 28, usableTB: 18, usableTiB: approximately 16.37 }
console.log(estimateParityArray([6, 6, 6, 10], 2));
// { rawTB: 28, usableTB: 12, usableTiB: approximately 10.91 }
</code></pre>
<p>When you compare quotes, ask whether spares, reserved capacity, existing drive partitions or a mixed-drive expansion policy change the estimate. If someone expects to restore data after a site or controller failure, scope a separate backup and restore test. The parity calculation does not establish that recovery path.</p>
<p>Try the same four ratings in the <a href="https://tihmlo.com/decision-tools/disk-array-capacity/?utm_source=hashnode&amp;utm_medium=editorial&amp;utm_campaign=distribution_wave2&amp;utm_content=mixed_drive_units">TIHMLO disk-array capacity worksheet</a>. Use the controller documentation for a purchasing decision. References: <a href="https://www.ibm.com/docs/en/storage-scale-system/5147-092?topic=so-estimating-disk-array-capacities-1">IBM on estimating disk array capacity</a> and <a href="https://physics.nist.gov/cuu/Units/binary.html">NIST on binary prefixes</a>.</p>
]]></content:encoded></item><item><title><![CDATA[A test for the date that should never cross midnight]]></title><description><![CDATA[Use a runnable JavaScript fixture to check how a date-only field and an approval timestamp behave in Toronto and Amsterdam.]]></description><link>https://ioneremia-workflows.hashnode.dev/a-test-for-the-date-that-should-never-cross-midnight</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/a-test-for-the-date-that-should-never-cross-midnight</guid><category><![CDATA[JavaScript]]></category><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Mon, 23 Nov 2026 16:22:21 GMT</pubDate><content:encoded><![CDATA[<p><em>Written with AI assistance. The examples are synthetic. The JavaScript fixture was checked locally.</em></p>
<p>A ticket says a quote approved in Toronto moved from January 12 to January 13 in Amsterdam. Before opening the formatter, ask which value moved. An approval timestamp can show a different local date. The quote’s effective date describes a day in a business process and should stay January 12.</p>
<p>Put both values in the same test record. A time-zone test with just a timestamp can pass while the date-only field still changes silently.</p>
<h2>Put the two meanings in the fixture</h2>
<p>Use <code>2027-01-12</code> as the effective date and <code>2027-01-12T23:30:00Z</code> as the recorded approval instant. For these values, Toronto should show the approval at 18:30 on January 12. Amsterdam should show it at 00:30 on January 13. The effective date stays January 12 in both locations.</p>
<p>In a real system, a separate rule can specify which zone defines the effective day. For example, a billing period may start on January 12 according to the organization’s business time zone. Keep that business rule in the schema or contract. Deriving the effective date each time someone renders the approval stamp changes the meaning for some readers.</p>
<h2>Assert fields, not punctuation</h2>
<p>Numeric dates may look different across printers, browsers and locales. In JavaScript, <code>formatToParts</code> lets you assert the intended fields without locking the test to a punctuation sequence. Specify the time zone, calendar and digits the fixture expects.</p>
<pre><code class="language-js">import assert from "node:assert/strict";

const fixture = {
  effectiveDate: "2027-01-12",
  approvedAt: "2027-01-12T23:30:00Z",
};

function localClock(value, timeZone) {
  const formatter = new Intl.DateTimeFormat("en-GB", {
    timeZone,
    calendar: "gregory",
    numberingSystem: "latn",
    day: "2-digit",
    hour: "2-digit",
    minute: "2-digit",
    hourCycle: "h23",
  });
  const parts = Object.fromEntries(
    formatter.formatToParts(new Date(value))
      .filter(part =&gt; part.type !== "literal")
      .map(part =&gt; [part.type, part.value]),
  );
  return [parts.day, parts.hour, parts.minute];
}

assert.deepEqual(localClock(fixture.approvedAt, "America/Toronto"), ["12", "18", "30"]);
assert.deepEqual(localClock(fixture.approvedAt, "Europe/Amsterdam"), ["13", "00", "30"]);
</code></pre>
<p>For your actual acceptance test, submit the fixture to the test environment and read the same record as two different roles. Assert that the stored effective date remains the date-only value. Check the event history separately for the correct instant. Source data that already lost the distinction cannot be repaired by a prettier formatter.</p>
<h2>Walk the record through three surfaces</h2>
<p><strong>The edit form.</strong> Enter the effective date with the visible controls. Try a separate ambiguous input such as 01/12. Does the form clarify which date it means? Check the saved record after a reload. A date picker alone doesn't establish what the keyboard path does.</p>
<p><strong>The notice.</strong> Open the approval email as the receiving user. It may have its own formatter, locale or time-zone fallback. If a time is important, display the zone or enough identifying information for the receiver to confirm the deadline.</p>
<p><strong>The export.</strong> Read the CSV or API response the downstream team actually imports. Keep a date-only value distinct from a date-time field that carries an offset or is normalized to UTC. A spreadsheet may auto-detect a date on open. Inspect the raw value as well as the cell display. Run a round-trip through the actual import mechanism if your team depends on it.</p>
<p>A single screenshot can establish what a reviewer saw. Pair it with the raw input and one assertion on the exported value. When a regression returns, the evidence can tell you whether to inspect input parsing, persistence, formatting or the generated document.</p>
<h2>Decide what blocks release</h2>
<p>A spelling issue can often wait for the next release. A changed effective date can alter when a customer gets access, when a quote expires or which period receives the transaction. Agree on the date’s meaning with the product owner. List the test role, locale, time zone and outputs in the ticket, and make the same fixture part of release acceptance.</p>
<p>The <a href="https://tihmlo.com/software-localization-checklist/?utm_source=hashnode&amp;utm_medium=referral&amp;utm_campaign=wave16_date_fixture#pilot-fixture">TIHMLO software localization checklist and transaction fixture</a> extends the same technique to currency, names, right-to-left text and receipts.</p>
<p>References: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat">MDN DateTimeFormat</a>, <a href="https://learn.microsoft.com/en-us/globalization/testing/how-to-perform-internationalization-testing">Microsoft internationalization testing</a>, <a href="https://www.w3.org/International/quicktips/">W3C internationalization quick tips</a>.</p>
]]></content:encoded></item><item><title><![CDATA[Replay a dozen events before you price an automation]]></title><description><![CDATA[Run 12 sample invoices, replay two events and count what changes before choosing an execution- or operation-priced automation plan.]]></description><link>https://ioneremia-workflows.hashnode.dev/replay-a-dozen-events-before-you-price-an-automation</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/replay-a-dozen-events-before-you-price-an-automation</guid><category><![CDATA[automation]]></category><category><![CDATA[n8n]]></category><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Mon, 23 Nov 2026 12:47:06 GMT</pubDate><content:encoded><![CDATA[<p>A single successful run is a poor basis for a monthly automation quote. Consider a workflow that receives invoices from a test system, looks up the related order, writes each line item, and sends two exceptional invoices to review. The branch and the number of records processed can matter as much as how many invoices arrive.</p>
<p>The worksheet below gives you a small sample you can reproduce with dummy data. The numbers illustrate a workflow design and are not vendor benchmarks or prices.</p>
<h2>Build a sample that exposes the costly branch</h2>
<p>Create 12 test invoices. Give ten of them one line and the other two two lines each. Mark those two multi-line invoices for manual review. Use sample identifiers that make it easy to see which invoice and line were processed, such as INV-011 and INV-011-02. Point the workflow at a staging table or a local file. Send review notices to a test output, rather than to a customer or teammate.</p>
<p>The design has one initial workflow run per invoice. Inside each run, it performs one lookup, one write for each line, and one notice only when review is needed. The same sample has 12 invoice events and 14 line items. If you measure only events, you have already lost two writes from your cost estimate.</p>
<table>
<thead>
<tr>
<th>Step reached in the sample</th>
<th>How to count it</th>
<th align="right">Occurrences</th>
</tr>
</thead>
<tbody><tr>
<td>Receive an invoice</td>
<td>One per invoice</td>
<td align="right">12</td>
</tr>
<tr>
<td>Look up the order</td>
<td>One per invoice</td>
<td align="right">12</td>
</tr>
<tr>
<td>Write line items</td>
<td>Ten single-line invoices and two double-line invoices</td>
<td align="right">14</td>
</tr>
<tr>
<td>Notify a reviewer</td>
<td>Only the two flagged invoices</td>
<td align="right">2</td>
</tr>
</tbody></table>
<p>That is 12 top-level runs and 40 module occurrences in the sample. On an execution-priced offering, begin with the 12 runs. On an operation or credit-priced offering, measure the actual modules and weights. Make documents how the number of operations depends on the bundles a module receives. The 40 is a worksheet estimate for steps that each cost one credit; confirm the charge for the trigger and special modules in the execution history rather than assuming every occurrence bills equally. n8n describes its billable unit as a workflow execution, independent of the number of steps in that run.</p>
<h2>Replay two invoices and check what persists</h2>
<p>Take two of the single-line invoices. Re-deliver each event once as a deliberate test. In the simplest re-entry design, this adds two top-level runs and six module occurrences: two receives, two lookups and two attempted writes. The count would now be 14 runs and 46 occurrences. If the final write uses a unique invoice-and-line key, the test still leaves 14 rows. Track both numbers. The duplicate row is a data defect, while the paid replay can be a cost even when the write is safely idempotent.</p>
<p>Then run the same test with an early duplicate check. Put the check before the per-line work and note whether it costs a module occurrence itself. It may reduce the bill if most repeated deliveries would otherwise fan out into many line items. If there are few replays and each invoice has one line, the check may save little in software cost. Keep it where it is necessary for correctness and test it under concurrent deliveries: two runs that both miss a lookup can still attempt the same write. A destination-enforced unique key or atomic upsert is the part that prevents the duplicate row in that race.</p>
<h2>Budget with two rows, not one average</h2>
<p>In a hypothetical month with 1,200 invoices and the same mix as the sample, multiply the sample by 100. That gives 1,200 initial workflow runs and 4,000 module occurrences. As a stress scenario, 200 additional single-line replays add 200 whole runs and 600 occurrences if each repeats the three listed steps. Put the sample’s measured credit weights into both rows, then check any runs unrelated to invoices, concurrency limits, and charges from external APIs. The row that fits the allowance during an ordinary month may not fit on a large import or retry day.</p>
<p>Keep the sample event IDs and record the time the counts were taken. A second person should be able to replay the test and explain the differences without any access to live invoices. For a different scenario mix, enter your observed run and module counts in the <a href="https://tihmlo.com/decisions/n8n-vs-make/?utm_source=hashnode&amp;utm_medium=referral&amp;utm_campaign=wave13_automation_replay">TIHMLO n8n versus Make worksheet</a>.</p>
<p>Provider references: <a href="https://n8n.io/pricing/">n8n pricing and executions</a> and <a href="https://help.make.com/operations">Make documentation on operations and bundles</a>.</p>
]]></content:encoded></item><item><title><![CDATA[Compare subscription prices at the same seat count]]></title><description><![CDATA[A repeatable five-seat benchmark for per-seat and flat-rate plans, with source dates, quote-required rows, and a six-seat check.]]></description><link>https://ioneremia-workflows.hashnode.dev/compare-subscription-prices-at-the-same-seat-count</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/compare-subscription-prices-at-the-same-seat-count</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Mon, 23 Nov 2026 06:26:49 GMT</pubDate><content:encoded><![CDATA[<p><em>AI-assisted. The vendors and prices below are synthetic. This is an internal benchmarking method, with no vendor recommendation or client results.</em></p>
<p>A competitor table can record every advertised number correctly and still rank the options in the wrong order. First define the buying scenario. Then convert only the price rows that actually cover it.</p>
<h2>Compare one scenario</h2>
<p>Suppose a team needs five named seats for twelve months, with equivalent access to the core product. The figures below exclude tax and assume no separate onboarding or usage charge.</p>
<table>
<thead>
<tr>
<th>Fictional vendor</th>
<th>Public price basis</th>
<th align="right">Five seats for twelve months</th>
<th>Evidence status</th>
</tr>
</thead>
<tbody><tr>
<td>A</td>
<td>$12 per seat per month</td>
<td align="right">$720</td>
<td>Published seat rate</td>
</tr>
<tr>
<td>B</td>
<td>$720 per year for up to five seats</td>
<td align="right">$720</td>
<td>Published organization plan</td>
</tr>
<tr>
<td>C</td>
<td>Contact sales</td>
<td align="right">—</td>
<td>Quote required</td>
</tr>
</tbody></table>
<p>A and B have the same modeled subscription cost in this example. That comparison is only valid if each plan covers the needed features and quantities. C stays unranked until someone obtains a quote on the same terms.</p>
<h2>Keep the vendor's words and your assumptions separate</h2>
<p>For each row, record the plan name, exact price wording, currency, billing frequency, commitment, included seats or usage, applicable region, relevant feature gaps, source link, and date checked. Keep the scenario inputs in a separate cell range. If an annual offer is advertised as a monthly equivalent, record when the buyer actually pays, as well as the annualized figure. Keep one-time setup and recurring costs in separate columns.</p>
<p>Use a distinct price status for each row, such as <strong>published</strong>, <strong>quote required</strong>, or <strong>out of scope</strong>. Treat a missing required charge as unknown and identify the question that would resolve it. A comparison should make a missing price easy to spot, rather than silently treating it as zero.</p>
<h2>Check the number before forwarding it</h2>
<p>Change the scenario from five to six seats as a quick validation. A becomes $864 per year if the same rate applies. B needs a separately verified sixth-seat price or another tier because its published plan stops at five. That is the test I would put beside the comparison before using it to shortlist vendors.</p>
<p>For an example of different billing bases in a provider's actual tooling, see <a href="https://docs.stripe.com/payments/checkout/pricing-table">Stripe's documentation on flat-rate, per-seat and tiered pricing tables</a>. The vendor's own plan and quote still control what the buyer pays.</p>
]]></content:encoded></item><item><title><![CDATA[Keep Shopify payment schedules attached to the invoice export]]></title><description><![CDATA[Retrieve Shopify payment schedules through the Admin GraphQL API and check missing or multiple due dates before exporting invoices.]]></description><link>https://ioneremia-workflows.hashnode.dev/keep-shopify-payment-schedules-attached-to-the-invoice-export</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/keep-shopify-payment-schedules-attached-to-the-invoice-export</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Mon, 23 Nov 2026 04:51:07 GMT</pubDate><content:encoded><![CDATA[<p>AI assisted with drafting. The example is illustrative, and the query has not been run against a customer store.</p>
<p>An order can appear in an automation trigger without all the data an invoice needs. If a Shopify trigger omits the payment terms, fetch the terms separately before populating the invoice due date. A label such as <strong>Net 30</strong> describes the template. The schedule supplies the due timestamp for that specific order.</p>
<h2>Fetch the terms using the order ID</h2>
<p>Pass the Shopify GraphQL order ID to an authenticated Admin API read. Use the API version configured for the integration. Shopify documents access scopes for the <a href="https://shopify.dev/docs/api/admin-graphql/latest/objects/Order">Order</a> and <a href="https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTerms">PaymentTerms</a> objects. Confirm that the store connection can read both orders and payment terms before relying on the result.</p>
<pre><code class="language-graphql">query OrderPaymentTerms($id: ID!) {
  order(id: $id) {
    id
    paymentTerms {
      paymentTermsName
      paymentTermsType
      dueInDays
      paymentSchedules(first: 10) {
        nodes {
          id
          dueAt
        }
        pageInfo {
          hasNextPage
          endCursor
        }
      }
    }
  }
}
</code></pre>
<p>Use the stable order ID from the source payload. A human-readable display number such as <code>#1537</code> is useful in a review screen, but it is not the GraphQL ID. The <a href="https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentSchedule">PaymentSchedule reference</a> describes <code>dueAt</code> as a date and time. Keep that timestamp in the export even when the destination accepts only a date. Convert it using the agreed business timezone and document that rule.</p>
<h2>Decide what gets through to invoice creation</h2>
<ul>
<li><strong>One schedule with a due date.</strong> Export the order ID, schedule ID, term name and the due date derived from the source timestamp.</li>
<li><strong>No terms or no date yet.</strong> Flag the order for review, using a distinct status from an API failure. Confirm whether a due date has actually been set before retrying the export.</li>
<li><strong>More than one schedule.</strong> Preserve the schedules individually. If the destination supports only one invoice due date, obtain an explicit mapping rule before creating it. When <code>hasNextPage</code> is true, fetch the remaining schedules before deciding.</li>
<li><strong>GraphQL errors.</strong> Preserve the source ID and error outcome. Check the response body even when the HTTP status is 200. Leave invoice creation on hold for that run.</li>
</ul>
<p>Test with four fixtures before connecting the invoice step: a fixed date, a net-term order with a scheduled date, an unset schedule and an order with multiple schedules. The expected result is a source-linked due date or a visible review outcome for every row.</p>
]]></content:encoded></item><item><title><![CDATA[Keep the carrier event and the delivery estimate separate]]></title><description><![CDATA[A shipment dashboard can show the latest exception and an old delivery estimate in the same row. If both fields survive the refresh without their own…]]></description><link>https://ioneremia-workflows.hashnode.dev/keep-the-carrier-event-and-the-delivery-estimate-separate</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/keep-the-carrier-event-and-the-delivery-estimate-separate</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Mon, 23 Nov 2026 01:42:23 GMT</pubDate><content:encoded><![CDATA[<p>A shipment dashboard can show the latest exception and an old delivery estimate in the same row. If both fields survive the refresh without their own timestamps, a support team can easily read the old estimate as an updated promise.</p>
<p>Store the carrier status and the delivery estimate separately. For each status event, record the carrier and tracking reference, carrier event time where supplied, time the data reached your system, raw status, and source. For an estimate, keep its value, the time you observed it, and its source. When the source stops supplying an estimate, show it as unavailable or clearly flag the previous value as stale under your operating rules.</p>
<p>Here is a synthetic sequence. A 10:20 exception reaches the dashboard at 10:23. A 09:55 in-transit event arrives later at 10:25. Keep both events for review. Do not let the 09:55 event overwrite the 10:20 status merely because it arrived later. If event time is missing, the events conflict, or the carrier sends a correction, prefer the carrier’s authoritative ordering or current status if available and flag ambiguous cases for review.</p>
<p>Separate tracking state from the next action. An exception can prompt someone to check the tracking details, but it does not establish that the package was lost or that a new ETA exists. UPS’s <a href="https://www.ups.com/ca/en/support/tracking-support/where-is-my-package/understanding-tracking-status">tracking status guide</a> describes an exception as an event that can change the scheduled date and directs readers to the shipment progress detail for the reason. That is a carrier-specific reference, not a rule for interpreting every provider’s statuses.</p>
<p>Test the dashboard with an out-of-order event, a missing timestamp, an exception without a new ETA, and a later carrier correction. For each test, record both the state shown to the operator and which raw events remain available for audit. Use redacted or synthetic shipment identifiers when sharing examples.</p>
<p>This is a synthetic workflow design example. It uses no client or live shipment data. AI drafted the article.</p>
]]></content:encoded></item><item><title><![CDATA[Treat WordPress speed work as a reversible experiment]]></title><description><![CDATA[Performance work becomes risky when diagnosis and remediation are mixed together. Installing several optimization plugins, deleting database rows and…]]></description><link>https://ioneremia-workflows.hashnode.dev/treat-wordpress-speed-work-as-a-reversible-experiment</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/treat-wordpress-speed-work-as-a-reversible-experiment</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Mon, 23 Nov 2026 00:54:05 GMT</pubDate><content:encoded><![CDATA[<p>Performance work becomes risky when diagnosis and remediation are mixed together. Installing several optimization plugins, deleting database rows and changing CDN rules in one session can improve a score while destroying the evidence needed to explain why.</p>
<p>A safer process begins with a baseline. Record TTFB, LCP, INP and CLS on representative product, article and transactional pages while logged out. Compare a minimal page on the same host to help separate application delay from infrastructure delay. Capture the PHP version, database state, object cache, page cache, CDN behavior and scheduled-task configuration.</p>
<p>Do deeper inspection on staging. Rank slow and duplicate queries, outbound HTTP calls and expensive hooks. Measure <code>wp_options</code> autoload size, but do not remove entries until ownership is confirmed. Inspect Action Scheduler and WP-Cron for overdue or repeatedly failing jobs. A large queue is a symptom; deleting it without fixing the owner or runner can hide the problem briefly and make diagnosis harder.</p>
<p>Apply one controlled change at a time. Retest the same URLs, device profile, location and run count. Keep cart, checkout, account pages, forms and authenticated content separate from anonymous cached pages. Every change needs a rollback note.</p>
<p>The final report should distinguish observed evidence, hypotheses, changes made, unchanged areas and remaining risks. That is slower than a one-click promise, but it produces a result that can be reviewed and reversed.</p>
<p>This is a self-built synthetic demonstration, not a claim about a client site. AI assisted with drafting and editing; the technical content was reviewed before publication.</p>
]]></content:encoded></item><item><title><![CDATA[Reject incomplete supplier quotes before calculating landed cost]]></title><description><![CDATA[A small JavaScript validator keeps missing supplier-quote assumptions visible before landed-cost comparison.]]></description><link>https://ioneremia-workflows.hashnode.dev/reject-incomplete-supplier-quotes-before-calculating-landed-cost</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/reject-incomplete-supplier-quotes-before-calculating-landed-cost</guid><category><![CDATA[JavaScript]]></category><category><![CDATA[data validation]]></category><category><![CDATA[supply chain]]></category><category><![CDATA[procurement ]]></category><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Wed, 18 Nov 2026 02:58:33 GMT</pubDate><content:encoded><![CDATA[<p>Supplier quotes often arrive with enough information to look comparable but not enough information to support a reliable decision. A small validator can keep missing commercial assumptions visible before any ranking begins.</p>
<pre><code class="language-javascript">const required = [
  "supplier",
  "currency",
  "quoteDate",
  "unitPrice",
  "quantity",
  "incoterm",
  "namedPlace",
  "leadTimeDays",
  "validUntil"
];

function validateQuote(quote) {
  const missing = required.filter((field) =&gt; {
    const value = quote[field];
    return value === undefined || value === null || value === "";
  });

  if (!Number.isFinite(quote.unitPrice) || quote.unitPrice &lt; 0) {
    missing.push("valid unitPrice");
  }

  if (!Number.isInteger(quote.quantity) || quote.quantity &lt;= 0) {
    missing.push("positive whole quantity");
  }

  return {
    comparable: missing.length === 0,
    missing: [...new Set(missing)]
  };
}
</code></pre>
<p>The function does not estimate freight, duty or tax. It only answers a narrower question: does the quote contain the minimum source data required for the next comparison step?</p>
<p>Keep scenario assumptions in a separate object. Exchange rates need a date. Freight needs a route and service basis. Duties need a classification and jurisdiction. Unknown values should remain unknown instead of being silently replaced with zero.</p>
<p>A practical output can show three things together: the original supplier facts, the scenario assumptions, and the questions that could change the ranking. That makes the calculation reviewable without pretending it is a customs ruling or guaranteed logistics quote.</p>
<p>Disclosure: this educational example was prepared with AI assistance and reviewed for scope. It uses synthetic data, is not a client case study, and is not legal, customs, tax or freight advice.</p>
]]></content:encoded></item><item><title><![CDATA[A menu that opens still needs keyboard and state tests]]></title><description><![CDATA[AI disclosure: this article was prepared with Codex assistance. It documents a self-built standalone HTML/CSS/JavaScript lab, not a WordPress client…]]></description><link>https://ioneremia-workflows.hashnode.dev/a-menu-that-opens-still-needs-keyboard-and-state-tests</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/a-menu-that-opens-still-needs-keyboard-and-state-tests</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Tue, 17 Nov 2026 09:31:43 GMT</pubDate><content:encoded><![CDATA[<p>AI disclosure: this article was prepared with Codex assistance. It documents a self-built standalone HTML/CSS/JavaScript lab, not a WordPress client repair.</p>
<h2>Visible is not the same as operable</h2>
<p>A panel can open on screen while its button still reports <code>aria-expanded=false</code>. A mouse check misses that failure. Our navigation lab deliberately provides a faulty path so that the difference is observable rather than hidden behind a claimed before-and-after result.</p>
<p>Working lab: <a href="https://prime-technical-demos-2026.apexfactory.chatgpt.site/menu-qa-demo">https://prime-technical-demos-2026.apexfactory.chatgpt.site/menu-qa-demo</a></p>
<p>The faulty mode opens the panel without synchronising its accessible state and ignores Escape. The corrected path updates state, handles Escape, moves focus deliberately and resets when the viewport crosses the responsive breakpoint.</p>
<h2>Seven targeted checks</h2>
<ol>
<li>Initial state: the panel is closed and the button reports the matching state.</li>
<li>Keyboard opening: activate the button without a pointer and inspect the resulting focus and state.</li>
<li>Escape: close the panel and verify focus recovery.</li>
<li>Fault reproduction: enable the deliberately broken path and show the mismatch.</li>
<li>Destination selection: select a navigation link and check closure and destination focus.</li>
<li>Breakpoint reset: move between the mobile and desktop layouts and confirm stale open state does not survive incorrectly.</li>
<li>Outside pointer: check that an external click closes the panel according to the component design.</li>
</ol>
<p>The recorded browser checks used390×844 and1280×900 viewports. These are targeted checks on this component; they are not a complete accessibility conformance audit.</p>
<p>Verification record: <a href="https://prime-technical-demos-2026.apexfactory.chatgpt.site/assets/menu-qa-verification.txt">https://prime-technical-demos-2026.apexfactory.chatgpt.site/assets/menu-qa-verification.txt</a></p>
<p>Actual component screenshots and method: <a href="https://www.behance.net/gallery/258592171/Responsive-navigation-QA-standalone-demonstration">https://www.behance.net/gallery/258592171/Responsive-navigation-QA-standalone-demonstration</a></p>
<h2>What changes in WordPress</h2>
<p>The lab does not run WordPress. A real theme can introduce a second menu script, delayed execution, cached markup or plugin interactions. Reproduce the actual issue on authorised staging, identify the responsible component and repeat the affected-path checks after the agreed change. Preserve a rollback point and document the exact change. Do not infer that this standalone result proves a repair on a customer site.</p>
<h2>A useful handover</h2>
<p>Provide the reproduction steps, expected behaviour, tested viewports, keyboard checks, exact file/change and remaining limitations. Keep screenshots tied to the actual build they show. A successful visual toggle is one observation, not the entire acceptance test.</p>
<p>Ion Eremia / PRIME Group One technical demonstrations. No client outcomes, paid-project history or universal guarantees are claimed.</p>
]]></content:encoded></item><item><title><![CDATA[Design the failure path before you connect a form to a CRM]]></title><description><![CDATA[AI disclosure: this walkthrough was prepared with AI assistance. It describes a demonstration design, not a completed customer engagement. A form-to-CRM…]]></description><link>https://ioneremia-workflows.hashnode.dev/design-the-failure-path-before-you-connect-a-form-to-a-crm</link><guid isPermaLink="true">https://ioneremia-workflows.hashnode.dev/design-the-failure-path-before-you-connect-a-form-to-a-crm</guid><dc:creator><![CDATA[Ion Eremia]]></dc:creator><pubDate>Sun, 15 Nov 2026 20:54:12 GMT</pubDate><enclosure url="https://cdn.hashnode.com/uploads/covers/6afa1b9046f49b5a6ac4112d/00f1086f-eca4-4e0d-abe2-0a7fddd4a925.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>AI disclosure: this walkthrough was prepared with AI assistance. It describes a demonstration design, not a completed customer engagement.</p>
<p>A form-to-CRM integration looks simple until a request is retried, the CRM times out or a required field is missing. Define those cases before choosing the connector.</p>
<h2>Write the input contract</h2>
<p>List the required fields, accepted formats, maximum lengths and source identifier. Preserve the original input separately from normalized values. Reject or quarantine an invalid record with a reason. Never put access tokens or raw customer data in public logs.</p>
<h2>Make repeated delivery safe</h2>
<p>Use a stable event ID from the source when one exists. Store the relationship between that event and the destination record. When the same event arrives again, return the existing result or update only the explicitly permitted fields. A generated timestamp on every retry is not a stable key.</p>
<p>There is a difficult boundary when a CRM accepts a request but the response is lost. Before blindly creating the record again, query by the source key or use the destination API's supported idempotency feature. If neither is possible, route the ambiguous result to review.</p>
<h2>Classify failures</h2>
<p>Validation errors need a corrected input. Expired credentials need an authorized refresh or owner action. Rate limits need a bounded delay that respects the provider response. Transient server failures may be retried within a fixed attempt limit. Permanent permission failures should stop and alert the owner.</p>
<h2>Test the unhappy path</h2>
<p>Use synthetic records to test a missing email, repeated event, unexpected field type, rate limit, timeout before acceptance and timeout after acceptance. Record the expected CRM state and observed state for each test. Check the review queue as carefully as the successful output.</p>
<h2>Handover</h2>
<p>Document the trigger, mapping, source-key rule, overwrite policy, retry limits, error owner and recovery steps. Include how to pause the workflow and replay a reviewed record. A successful demo run is only one test.</p>
<p>PRIME Group One scopes workflow work around the systems, inputs and expected destination state. The accompanying technical portfolio uses demonstrations and synthetic data: <a href="https://prime-technical-demos-2026.apexfactory.chatgpt.site/">https://prime-technical-demos-2026.apexfactory.chatgpt.site/</a></p>
]]></content:encoded></item></channel></rss>