Skip to content

fix: guard update-data-connect job until consumer scripts ship#73

Closed
tnunamak wants to merge 1 commit into
mainfrom
fix/guard-data-connect-consumer-update
Closed

fix: guard update-data-connect job until consumer scripts ship#73
tnunamak wants to merge 1 commit into
mainfrom
fix/guard-data-connect-consumer-update

Conversation

@tnunamak
Copy link
Copy Markdown
Member

Summary

The update-data-connect job in .github/workflows/consumer-update-prs.yml calls scripts/resolve-connectors.js and scripts/generate-platform-registry.js in vana-com/data-connect's main branch. Those scripts are staged in data-connect PR #106 but have not yet merged, so any qualifying push to this repo's main will fail the job.

This PR adds a scripts_check step that probes for both scripts in the checked-out data-connect/main. When either is missing, the step emits a GitHub ::notice:: and all subsequent steps in the job are skipped via if: gating, so the job exits green. The update-context-gateway job is untouched.

Why guard vs. remove the job

Per the connector distribution execution plan, the workflow is expected to light up for real once data-connect #106 merges. Removing and re-adding the job would lose history and require an extra PR to re-enable. Guarding is a one-line-condition add to each step and removes cleanly in one follow-up.

Removal instructions

Once data-connect #106 merges and scripts/resolve-connectors.js + scripts/generate-platform-registry.js are on data-connect main:

  • Delete the Check for required consumer scripts step.
  • Remove the if: steps.scripts_check.outputs.present == 'true' condition from every subsequent step in update-data-connect.

Test plan

  • YAML parses (python3 -c "import yaml; yaml.safe_load(open('.github/workflows/consumer-update-prs.yml'))").
  • Real workflow run on a qualifying path change after merge will emit the notice and exit green. (Cannot be validated pre-merge without triggering the workflow on main.)

Related

  • Execution plan: context-gateway/docs/260421-connector-distribution-execution-plan.md (PR 0)
  • data-connectors PR Add connector release contract tooling #69 (connector release contract tooling)
  • data-connect PR #106 (migrate connector delivery to canonical artifacts)

The update-data-connect job in consumer-update-prs.yml calls
scripts/resolve-connectors.js and scripts/generate-platform-registry.js
in data-connect main, but those scripts are not yet on main — they are
staged in data-connect PR #106.

Add a scripts_check step that gates all subsequent steps in the job.
When either script is missing, the job emits a notice and exits green
instead of failing. Remove this guard after data-connect PR #106 merges.

update-context-gateway is unchanged.
@github-actions
Copy link
Copy Markdown

Schema Health Check — 6 issue(s) found

41/47 scopes consistent | 0 missing schema files | 6 not in Gateway | 0 metadata drift | 0 orphaned

View issues

Not registered in Gateway:

Scope Connector Added in PR?
instagram.following instagram-playwright
steam.profile steam-playwright
steam.games steam-playwright
steam.friends steam-playwright
icloud_notes.notes icloud-notes-playwright
icloud_notes.folders icloud-notes-playwright

These issues should be resolved before connectors can be used by Personal Servers.

@tnunamak
Copy link
Copy Markdown
Member Author

Closing as obsolete. This guard was only needed until data-connect main picked up scripts/resolve-connectors.js and scripts/generate-platform-registry.js via data-connect#106, which is now merged.

@tnunamak tnunamak closed this Apr 21, 2026
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