Skip to content

Add hosted API integration test - #2

Merged
gtokman merged 4 commits into
mainfrom
codex/hosted-api-integration-smoke
May 26, 2026
Merged

gtokman merged 4 commits into
mainfrom
codex/hosted-api-integration-smoke

Conversation

@gtokman

@gtokman gtokman commented May 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds a hosted API smoke test that runs the docs quickstart with MTA_API_KEY.
  • Adds a PR/workflow_dispatch GitHub Actions workflow so the smoke can run in CI when MTA_API_KEY is configured as a repo secret.

Verification

  • Fresh project with npm install github:HumanInterfaceDesign/mta-js and the provided key returned arrays for subway arrivals, route-aware nearby stops, and M23 vehicles.
  • MTA_API_KEY=*** bun test hosted-api.integration.test.ts
  • bun test
  • bunx tsc --noEmit

Note: the currently published mta-js@1.0.0 on npm is stale and fails this smoke on stops.near; current main passes. After this merges, publish a new npm version so npm i mta-js consumers get the hosted stops fix.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c243f27319

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread hosted-api.integration.test.ts Outdated

gtokman commented May 26, 2026

Copy link
Copy Markdown
Contributor Author

Added the multi-agency roadmap to the README on this PR branch. It calls out future normalized SDK support for MBTA, WMATA, CTA, BART, and adapter-style support for SEPTA, LA Metro, MARTA, and smaller GTFS/realtime-only agencies.

@gtokman gtokman changed the title Add hosted API integration smoke test Add hosted API integration test May 26, 2026
@gtokman
gtokman merged commit bdcdff5 into main May 26, 2026
2 checks passed
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