@weareikko/code-review 0.9.0 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as createDiagnosticContext, D as traceDiagnosticPhase, E as traceDiagnostic, S as DIAGNOSTIC_CHANNEL_PREFIX, T as diagnosticChannels, a as main, d as startOtelBridge, i as formatUsageLine, n as formatPerModelUsage, o as run, r as formatSkillsFooter, s as withHttpStamping, t as countPostedBySeverity, u as isOtelEnabled, w as createDiagnosticRunId, x as DIAGNOSTIC_CHANNEL_NAMES } from "./cli-
|
|
1
|
+
import { C as createDiagnosticContext, D as traceDiagnosticPhase, E as traceDiagnostic, S as DIAGNOSTIC_CHANNEL_PREFIX, T as diagnosticChannels, a as main, d as startOtelBridge, i as formatUsageLine, n as formatPerModelUsage, o as run, r as formatSkillsFooter, s as withHttpStamping, t as countPostedBySeverity, u as isOtelEnabled, w as createDiagnosticRunId, x as DIAGNOSTIC_CHANNEL_NAMES } from "./cli-D47EQ1qq.js";
|
|
2
2
|
export { DIAGNOSTIC_CHANNEL_NAMES, DIAGNOSTIC_CHANNEL_PREFIX, countPostedBySeverity, createDiagnosticContext, createDiagnosticRunId, diagnosticChannels, formatPerModelUsage, formatSkillsFooter, formatUsageLine, isOtelEnabled, main, run, startOtelBridge, traceDiagnostic, traceDiagnosticPhase, withHttpStamping };
|
package/dist/otel.d.ts
CHANGED
|
@@ -108,4 +108,20 @@ export declare function isOtelEnabled(env?: NodeJS.ProcessEnv): boolean;
|
|
|
108
108
|
*/
|
|
109
109
|
export declare function isContentCaptureEnabled(env?: NodeJS.ProcessEnv): boolean;
|
|
110
110
|
export declare function startOtelBridge(options?: OtelBridgeOptions): Promise<OtelBridge | null>;
|
|
111
|
+
/**
|
|
112
|
+
* Applies our OTLP exporter env defaults, only when the caller hasn't set them
|
|
113
|
+
* (explicit choices, including `none`, always win).
|
|
114
|
+
*
|
|
115
|
+
* Metrics stay on the SDK/backend default **cumulative** temporality. Delta
|
|
116
|
+
* would be the textbook choice for short-lived CI jobs (cumulative series from
|
|
117
|
+
* ephemeral jobs start mid-flight, so range aggregation of totals is operator-
|
|
118
|
+
* dependent), but 0.9.1 defaulted to delta and it was verified to BREAK ingest
|
|
119
|
+
* on Grafana Cloud — the OTLP endpoint silently dropped every delta-temporality
|
|
120
|
+
* metric (a review's metrics never landed), so 0.9.2 reverted it. Do not force
|
|
121
|
+
* delta here unless your backend is confirmed to ingest it (e.g. an OTel
|
|
122
|
+
* Collector / Alloy running `deltatocumulative` in front of the backend). To
|
|
123
|
+
* aggregate a range total from these cumulative ephemeral-job metrics, use
|
|
124
|
+
* per-series `max_over_time`.
|
|
125
|
+
*/
|
|
126
|
+
export declare function applyOtelExporterDefaults(env?: NodeJS.ProcessEnv): void;
|
|
111
127
|
//# sourceMappingURL=otel.d.ts.map
|
package/dist/otel.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"otel.d.ts","sourceRoot":"","sources":["../src/otel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AAEH,OAAO,KAAK,EAMV,aAAa,EAGb,cAAc,EACf,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAU,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAQtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAc,KAAK,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAO/D,MAAM,WAAW,UAAU;IACzB,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC1B;;;;;;OAMG;IACH,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACpF;;;;;OAKG;IACH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AAK,EAAE,MAAM,GAAG,CAAC,CAAC,KAAK,EAAE,SAAS,KAAK,MAAM,IAAI,CAAC,GAAG,SAAS,CAAC;IACpF;;;;;OAKG;IACH,WAAW,CAAC,QAAQ,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CAChE;AAED,MAAM,WAAW,WAAW;IAC1B,cAAc,EAAE,cAAc,CAAC;IAC/B,aAAa,EAAE,aAAa,CAAC;IAC7B,cAAc,EAAE,cAAc,CAAC;IAC/B,QAAQ,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;CAC3B;AAED,MAAM,WAAW,iBAAiB;IAChC;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,UAAU,CAAC;IACxB;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B;AA4DD,wBAAgB,aAAa,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAE3E;AAED;;;;;;;;;GASG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,OAAO,CAIrF;AAED,wBAAsB,eAAe,CAAC,OAAO,GAAE,iBAAsB,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC,CA6VjG;AAmWD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,GAAE,MAAM,CAAC,UAAwB,GAAG,IAAI,CAMpF"}
|
package/dist/review.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as normalizeBody, A as SUMMARY_HISTORY_END, B as buildSummaryHistoryEntries, C as createDiagnosticContext, D as traceDiagnosticPhase, E as traceDiagnostic, F as SUMMARY_MARKER, G as findExistingSummaryNoteId, H as extractSummaryHistoryEntries, I as buildArchivedSummaryEntry, J as upsertSummaryNote, K as stripSummaryHistory, L as buildReviewedCommitFooter, M as SUMMARY_HISTORY_ENTRY_START, N as SUMMARY_HISTORY_LIMIT, O as normalizeSeverity, P as SUMMARY_HISTORY_START, Q as fingerprints, R as buildSizeNoticeBlock, S as DIAGNOSTIC_CHANNEL_PREFIX, T as diagnosticChannels, U as findExistingReviewedCommitSha, V as extractReviewedCommitSha, W as findExistingSummaryNote, X as extractDiffHunkContext, Y as appendFingerprintMarkers, Z as extractExistingFingerprints, _ as resolveNpmSkillDir, b as parseReviewMarkdownWithWarnings, c as buildGeneratedComments, d as startOtelBridge, et as sha256, f as filterDiff, g as parseSkillSpec, h as loadNamedSkill, j as SUMMARY_HISTORY_ENTRY_END, k as toGitLabReviewSeverity, l as buildPayload, m as gitSkillCacheKey, o as run, p as runReview, q as stripSummaryMarker, u as isOtelEnabled, v as resolveSkillCacheDir, w as createDiagnosticRunId, x as DIAGNOSTIC_CHANNEL_NAMES, y as parseReviewMarkdown, z as buildSummaryBody } from "./cli-
|
|
1
|
+
import { $ as normalizeBody, A as SUMMARY_HISTORY_END, B as buildSummaryHistoryEntries, C as createDiagnosticContext, D as traceDiagnosticPhase, E as traceDiagnostic, F as SUMMARY_MARKER, G as findExistingSummaryNoteId, H as extractSummaryHistoryEntries, I as buildArchivedSummaryEntry, J as upsertSummaryNote, K as stripSummaryHistory, L as buildReviewedCommitFooter, M as SUMMARY_HISTORY_ENTRY_START, N as SUMMARY_HISTORY_LIMIT, O as normalizeSeverity, P as SUMMARY_HISTORY_START, Q as fingerprints, R as buildSizeNoticeBlock, S as DIAGNOSTIC_CHANNEL_PREFIX, T as diagnosticChannels, U as findExistingReviewedCommitSha, V as extractReviewedCommitSha, W as findExistingSummaryNote, X as extractDiffHunkContext, Y as appendFingerprintMarkers, Z as extractExistingFingerprints, _ as resolveNpmSkillDir, b as parseReviewMarkdownWithWarnings, c as buildGeneratedComments, d as startOtelBridge, et as sha256, f as filterDiff, g as parseSkillSpec, h as loadNamedSkill, j as SUMMARY_HISTORY_ENTRY_END, k as toGitLabReviewSeverity, l as buildPayload, m as gitSkillCacheKey, o as run, p as runReview, q as stripSummaryMarker, u as isOtelEnabled, v as resolveSkillCacheDir, w as createDiagnosticRunId, x as DIAGNOSTIC_CHANNEL_NAMES, y as parseReviewMarkdown, z as buildSummaryBody } from "./cli-D47EQ1qq.js";
|
|
2
2
|
export { DIAGNOSTIC_CHANNEL_NAMES, DIAGNOSTIC_CHANNEL_PREFIX, SUMMARY_HISTORY_END, SUMMARY_HISTORY_ENTRY_END, SUMMARY_HISTORY_ENTRY_START, SUMMARY_HISTORY_LIMIT, SUMMARY_HISTORY_START, SUMMARY_MARKER, appendFingerprintMarkers, buildArchivedSummaryEntry, buildGeneratedComments, buildPayload, buildReviewedCommitFooter, buildSizeNoticeBlock, buildSummaryBody, buildSummaryHistoryEntries, createDiagnosticContext, createDiagnosticRunId, diagnosticChannels, extractDiffHunkContext, extractExistingFingerprints, extractReviewedCommitSha, extractSummaryHistoryEntries, filterDiff, findExistingReviewedCommitSha, findExistingSummaryNote, findExistingSummaryNoteId, fingerprints, gitSkillCacheKey, isOtelEnabled, loadNamedSkill, normalizeBody, normalizeSeverity, parseReviewMarkdown, parseReviewMarkdownWithWarnings, parseSkillSpec, resolveNpmSkillDir, resolveSkillCacheDir, run, runReview, sha256, startOtelBridge, stripSummaryHistory, stripSummaryMarker, toGitLabReviewSeverity, traceDiagnostic, traceDiagnosticPhase, upsertSummaryNote };
|
package/package.json
CHANGED