Skip to content

ci: add a sandbox workflow to test Artifactory resolution on any branch#1387

Open
abueide wants to merge 2 commits into
masterfrom
add-artifactory-sandbox-workflow
Open

ci: add a sandbox workflow to test Artifactory resolution on any branch#1387
abueide wants to merge 2 commits into
masterfrom
add-artifactory-sandbox-workflow

Conversation

@abueide

@abueide abueide commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Testing whether a dependency change resolves cleanly through curated Artifactory (catching curation-policy 403s like the ones fixed in #1385/#1386) has meant triggering release.yml itself via workflow_dispatch on a scratch branch. That works, but it also arms the publish job - harmless since it needs the production environment's manual approval and never gets it, but not clean, and easy to lose track of.

Change

A standalone workflow instead: manual-only, no should-release gate, no publish job, nothing else it can accidentally trigger. Push any candidate resolutions/yarn.lock change to a branch and run:

gh workflow run test-artifactory-install.yml --ref <branch>

Deliberately doesn't cache yarn's dependency cache the way release.yml's test job does - a warm cache can serve packages from GitHub's own cache without ever making a real request to Artifactory, masking exactly the kind of curation failure this exists to catch.

Testing whether a dependency change resolves cleanly through curated
Artifactory (catching curation-policy 403s like the ones fixed in
#1385/#1386) has meant triggering release.yml itself via
workflow_dispatch on a scratch branch - which works, but also arms the
publish job (harmless since it needs the production environment's
approval and never gets it, but not clean, and it's easy to forget
that job is sitting there).

This is a standalone workflow instead: manual-only, no should-release
gate, no publish job, nothing else it can accidentally trigger. Push
any candidate resolutions/yarn.lock change to a branch and run:

  gh workflow run test-artifactory-install.yml --ref <branch>

Deliberately doesn't cache yarn's dependency cache the way release.yml's
test job does - a warm cache can serve packages from GitHub's own cache
without ever making a real request to Artifactory, masking exactly the
kind of curation failure this exists to catch.
@changeset-bot

changeset-bot Bot commented Jul 17, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: b9183ce

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tvs-twilio-segment

tvs-twilio-segment Bot commented Jul 17, 2026

Copy link
Copy Markdown

✅ TVS Validation Passed

View full report

Show details

All validation checks have successfully completed.

release.yml's test job (Node 20) and publish job (Node 24) can resolve
different dependency trees - confirmed twice now, is-email and axios
each showed up curation-blocked under one Node version's install but
not the other's. Matrix this across both versions so the sandbox
actually covers what a real release run would hit.
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.74%. Comparing base (f19b9be) to head (95b349a).
⚠️ Report is 1 commits behind head on master.

⚠️ Current head 95b349a differs from pull request most recent head b9183ce

Please upload reports for the commit b9183ce to get more accurate results.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1387   +/-   ##
=======================================
  Coverage   89.74%   89.74%           
=======================================
  Files          46       46           
  Lines        1375     1375           
  Branches      322      322           
=======================================
  Hits         1234     1234           
  Misses        141      141           
Flag Coverage Δ
core 90.07% <ø> (ø)
node 89.43% <ø> (ø)

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 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.

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