Skip to content

feat!: v1.0.0 - Surface CLI replaces Code Discovery - #15

Merged
Humera-Yameen merged 5 commits into
mainfrom
feat/surface-cutover
Oct 8, 2026
Merged

Humera-Yameen merged 5 commits into
mainfrom
feat/surface-cutover

Conversation

@Humera-Yameen

@Humera-Yameen Humera-Yameen commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Release as v1.0.0 (plus floating v1): the Action now runs the Surface CLI (apisec-surface 1.0.0) instead of Code Discovery.

  • Installs apisec-surface==1.0.0 and runs analyze with the legacy run profile, one APIsec application per GitHub repo (github:<repository_id>).
  • Existing Code Discovery apps are updated in place (no duplicates).
  • No spec PR and no committed files; contents/pull-requests: write are no longer needed.
  • host-url, config-path, pr-title, pr-body are accepted but ignored (with a warning); spec-path, instance-id, pr-url outputs are empty.
  • New outputs filled: endpoints-count, frameworks-detected, application-id, success.
  • A workflow warning is shown when the scan or upload fails (the Action itself never fails the job).
  • README rewritten for customers: quick start, secrets, supported frameworks, changes from v0.1.x. Go (Gin) and Argos repos should stay on @v0.1.9 for now.

Customers pinned to @v0.1.x are unaffected until they move to @v1. Rollback: pin @v0.1.9.

Test plan

  • CI dry run (asserts success=true)
  • Real upload to Hammertime QA, Surface-owned app (cx-spring-petclinic-rest): same app id, 37 endpoints preserved
  • Real upload to Hammertime QA, app created by Code Discovery @v0.1.9 (OPEN_API): same app updated, no duplicate, confirmed in UI
  • Existing tokens work: /v1/applications/oas and Surface endpoints both require app:create

After merge

Tag v1.0.0 and move/create v1 to the merge commit.

Humera-Yameen and others added 5 commits September 30, 2026 01:23
Replace code-discovery with analyze, legacy profile, skip-if-no-routes, and APISEC_REGISTRATION_CODE. Breaking: no spec PR; deprecated outputs empty.
0.1.11 is not published yet. Bump to the release that includes legacy profile after SurfaceCore merge.
Co-authored-by: Cursor <cursoragent@cursor.com>
…EADME

Rollback tag is v0.1.9. Lists Surface frameworks and notes Gin/Argos stay on v0.1.x. CI now asserts success.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Humera-Yameen Humera-Yameen changed the title feat!: v2 — Surface CLI replaces code-discovery feat!: v1.0.0 - Surface CLI replaces Code Discovery Oct 8, 2026
@Humera-Yameen
Humera-Yameen merged commit 3e96353 into main Oct 8, 2026
1 check 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