Skip to content

Make DECK_FORMAT work#2057

Merged
harshadixit12 merged 3 commits into
mainfrom
deck-format-env-var
May 25, 2026
Merged

Make DECK_FORMAT work#2057
harshadixit12 merged 3 commits into
mainfrom
deck-format-env-var

Conversation

@mheap
Copy link
Copy Markdown
Member

@mheap mheap commented May 12, 2026

Enables using the DECK_FORMAT environment variable for --format

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 12, 2026

Codecov Report

❌ Patch coverage is 26.08696% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 32.64%. Comparing base (68267c0) to head (9b71126).

Files with missing lines Patch % Lines
cmd/file_convert.go 0.00% 2 Missing ⚠️
cmd/file_render.go 0.00% 2 Missing ⚠️
cmd/file_addplugins.go 0.00% 1 Missing ⚠️
cmd/file_addtags.go 0.00% 1 Missing ⚠️
cmd/file_kong2kic.go 0.00% 1 Missing ⚠️
cmd/file_lint.go 0.00% 1 Missing ⚠️
cmd/file_listtags.go 0.00% 1 Missing ⚠️
cmd/file_merge.go 0.00% 1 Missing ⚠️
cmd/file_namespace.go 0.00% 1 Missing ⚠️
cmd/file_openapi2kong.go 0.00% 1 Missing ⚠️
... and 5 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2057      +/-   ##
==========================================
+ Coverage   32.59%   32.64%   +0.04%     
==========================================
  Files          77       77              
  Lines        7126     7135       +9     
==========================================
+ Hits         2323     2329       +6     
- Misses       4607     4610       +3     
  Partials      196      196              

☔ View full report in Codecov by Sentry.
📢 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.

@harshadixit12 harshadixit12 force-pushed the deck-format-env-var branch from 53700df to fe73ba6 Compare May 23, 2026 12:10
@harshadixit12 harshadixit12 added the skip-konnect Skip Konnect Integration tests in CI label May 25, 2026
@harshadixit12
Copy link
Copy Markdown
Contributor

Skipping the konnect tests since this PR only covers formatting.

@harshadixit12 harshadixit12 merged commit 6ac11c1 into main May 25, 2026
77 of 78 checks passed
@harshadixit12 harshadixit12 deleted the deck-format-env-var branch May 25, 2026 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-konnect Skip Konnect Integration tests in CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DECK_FORMAT=json environmental variable not being respected when running commands that use the --format flag

4 participants