:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(cdp): add pagerduty destination template (#107520)
Meikel Ratz8db1de59eb9c
diff --git a/nodejs/src/cdp/templates/_destinations/pagerduty/pagerduty.template.test.ts b/nodejs/src/cdp/templates/_destinations/pagerduty/pagerduty.template.test.tsnew file mode 100644index 000000000000..195c960a3565--- /dev/null+++ b/nodejs/src/cdp/templates/_destinations/pagerduty/pagerduty.template.test.ts@@ -0,0 +1,129 @@+import { CyclotronJobInvocationResult } from '~/cdp/types'+import { parseJSON } from '~/common/utils/json-parse'++import { TemplateTester } from '../../test/test-helpers'+import { template } from './pagerduty.template'++const ENQUEUE_URL = 'https://events.pagerduty.com/v2/enqueue'++describe('pagerduty template', () => {+ const tester = new TemplateTester(template)++ beforeEach(async () => {+ await tester.beforeEach()+ })++ const inputs = (overrides: Record<string, unknown> = {}): Record<string, unknown> => ({+ routing_key: 'abcdef0123456789abcdef0123456789',+ event_action: 'trigger',+ dedup_key: 'posthog-alert-1',+ summary: 'Log alert Checkout errors is firing',+ source: 'My project',+ severity: 'critical',+ component: 'logs alert',+ event_class: 'firing',+ custom_details: { threshold: 100 },+ links: [{ href: 'https://example.com/alert', text: 'View alert' }],+ ...overrides,+ })++ const sentBody = (response: CyclotronJobInvocationResult): Record<string, any> => {+ const params = response.invocation.queueParameters as { body: string }+ return parseJSON(params.body)+ }++ it('sends a trigger as an Events API v2 event', async () => {+ const response = await tester.invoke(inputs())++ expect(response.error).toBeUndefined()+ expect(response.invocation.queueParameters).toMatchObject({+ type: 'fetch',+ url: ENQUEUE_URL,+ method: 'POST',+ headers: { 'Content-Type': 'application/json' },+ })+ expect(sentBody(response)).toEqual({+ routing_key: 'abcdef0123456789abcdef0123456789',+ event_action: 'trigger',+ dedup_key: 'posthog-alert-1',+ payload: {+ summary: 'Log alert Checkout errors is firing',+ source: 'My project',+ severity: 'critical',+ component: 'logs alert',+ class: 'firing',+ custom_details: { threshold: 100 },+ },+ client: 'PostHog',+ links: [{ href: 'https://example.com/alert', text: 'View alert' }],+ })++ const fetchResponse = await tester.invokeFetchResponse(response.invocation, {+ status: 202,+ body: { status: 'success', dedup_key: 'posthog-alert-1' },+ })+ expect(fetchResponse.finished).toBe(true)+ expect(fetchResponse.error).toBeUndefined()+ })++ it('leaves out empty optional fields on a trigger', async () => {+ const response = await tester.invoke(+ inputs({ dedup_key: '', component: '', event_class: '', custom_details: {}, links: [] })+ )++ const body = sentBody(response)+ expect(body).not.toHaveProperty('dedup_key')+ expect(body).not.toHaveProperty('links')+ expect(body.payload).toEqual({+ summary: 'Log alert Checkout errors is firing',+ source: 'My project',+ severity: 'critical',+ })+ })++ it.each(['resolve', 'acknowledge'])('sends only the key fields for %s', async (action) => {+ const response = await tester.invoke(inputs({ event_action: action }))++ expect(sentBody(response)).toEqual({+ routing_key: 'abcdef0123456789abcdef0123456789',+ event_action: action,+ dedup_key: 'posthog-alert-1',+ })+ })++ it.each(['resolve', 'acknowledge'])('needs a dedup key to %s an incident', async (action) => {+ const response = await tester.invoke(inputs({ event_action: action, dedup_key: '' }))++ expect(response.error).toContain(`A dedup key is required to ${action} an incident.`)+ expect(response.invocation.queueParameters).toBeFalsy()+ })++ it.each(['high', '', null])('sends the unknown severity %p as error', async (severity) => {+ const response = await tester.invoke(inputs({ severity }))++ expect(sentBody(response).payload.severity).toBe('error')+ })++ it('cuts the summary to the PagerDuty limit', async () => {+ const response = await tester.invoke(inputs({ summary: 'x'.repeat(1100) }))++ expect(sentBody(response).payload.summary).toHaveLength(1024)+ })++ it('rejects an unknown event action', async () => {+ const response = await tester.invoke(inputs({ event_action: 'page' }))++ expect(response.error).toContain('Unsupported event action "page". Use trigger, acknowledge or resolve.')+ })++ it.each([400, 302])('fails when PagerDuty answers with status %p', async (status) => {+ const response = await tester.invoke(inputs())++ const fetchResponse = await tester.invokeFetchResponse(response.invocation, {+ status,+ body: { status: 'invalid event', message: 'Event object is invalid' },+ })++ expect(fetchResponse.error).toContain(`PagerDuty rejected the event: ${status}`)+ })+})diff --git a/nodejs/src/cdp/templates/_destinations/pagerduty/pagerduty.template.ts b/nodejs/src/cdp/templates/_destinations/pagerduty/pagerduty.template.tsnew file mode 100644index 000000000000..d4a084997979--- /dev/null+++ b/nodejs/src/cdp/templates/_destinations/pagerduty/pagerduty.template.ts@@ -0,0 +1,174 @@+import { HogFunctionTemplate } from '~/cdp/types'++export const template: HogFunctionTemplate = {+ free: true,+ status: 'beta',+ type: 'destination',+ id: 'template-pagerduty',+ name: 'PagerDuty',+ description: 'Triggers, acknowledges or resolves a PagerDuty incident',+ icon_url: '/static/services/pagerduty.png',+ category: ['Monitoring & Alerts'],+ code_language: 'hog',+ code: `+let action := inputs.event_action+if (not has(['trigger', 'acknowledge', 'resolve'], action)) {+ throw Error(f'Unsupported event action "{action}". Use trigger, acknowledge or resolve.')+}++let body := {+ 'routing_key': inputs.routing_key,+ 'event_action': action+}++if (notEmpty(inputs.dedup_key)) {+ body['dedup_key'] := inputs.dedup_key+}++if (action == 'trigger') {+ let severity := inputs.severity+ if (not has(['critical', 'error', 'warning', 'info'], severity)) {+ severity := 'error'+ }++ let payload := {+ 'summary': substring(inputs.summary, 1, 1024),+ 'source': inputs.source,+ 'severity': severity+ }+ if (notEmpty(inputs.component)) {+ payload['component'] := inputs.component+ }+ if (notEmpty(inputs.event_class)) {+ payload['class'] := inputs.event_class+ }+ if (notEmpty(inputs.custom_details)) {+ payload['custom_details'] := inputs.custom_details+ }++ body['payload'] := payload+ body['client'] := 'PostHog'+ if (notEmpty(inputs.links)) {+ body['links'] := inputs.links+ }+} else if (empty(inputs.dedup_key)) {+ throw Error(f'A dedup key is required to {action} an incident.')+}++let res := fetch('https://events.pagerduty.com/v2/enqueue', {+ 'method': 'POST',+ 'headers': {+ 'Content-Type': 'application/json'+ },+ 'body': body+})++if (res.status < 200 or res.status >= 300) {+ throw Error(f'PagerDuty rejected the event: {res.status}: {res.body}')+}+`,+ inputs_schema: [+ {+ key: 'routing_key',+ type: 'string',+ label: 'Routing key',+ description: 'The Events API v2 integration key from your PagerDuty service.',+ secret: true,+ required: true,+ },+ {+ key: 'event_action',+ type: 'choice',+ label: 'Event action',+ description:+ 'Trigger opens an incident. Acknowledge and resolve update the incident with the same dedup key.',+ choices: [+ { label: 'Trigger', value: 'trigger' },+ { label: 'Acknowledge', value: 'acknowledge' },+ { label: 'Resolve', value: 'resolve' },+ ],+ default: 'trigger',+ secret: false,+ required: true,+ },+ {+ key: 'dedup_key',+ type: 'string',+ label: 'Dedup key',+ description:+ 'Events with the same key update one incident. Acknowledge and resolve need it. If you leave it empty, PagerDuty opens a new incident for each trigger.',+ default: '',+ secret: false,+ required: false,+ },+ {+ key: 'summary',+ type: 'string',+ label: 'Summary',+ description: 'The incident title. PagerDuty keeps the first 1024 characters.',+ default: '{event.event} by {person.name}',+ secret: false,+ required: true,+ },+ {+ key: 'source',+ type: 'string',+ label: 'Source',+ description: 'The system that has the problem.',+ default: '{project.name}',+ secret: false,+ required: true,+ },+ {+ key: 'severity',+ type: 'choice',+ label: 'Severity',+ description: 'Any other value is sent as error.',+ choices: [+ { label: 'Critical', value: 'critical' },+ { label: 'Error', value: 'error' },+ { label: 'Warning', value: 'warning' },+ { label: 'Info', value: 'info' },+ ],+ default: 'error',+ secret: false,+ required: true,+ },+ {+ key: 'component',+ type: 'string',+ label: 'Component',+ description: 'The part of the source system that has the problem.',+ default: '',+ secret: false,+ required: false,+ },+ {+ key: 'event_class',+ type: 'string',+ label: 'Class',+ description: 'The type of the event, for example firing.',+ default: '',+ secret: false,+ required: false,+ },+ {+ key: 'custom_details',+ type: 'json',+ label: 'Custom details',+ description: 'Extra data that PagerDuty shows on the incident and can use in event rules.',+ default: { event: '{event}', person: '{person}' },+ secret: false,+ required: false,+ },+ {+ key: 'links',+ type: 'json',+ label: 'Links',+ description: 'A list of links with href and text that PagerDuty shows on the incident.',+ default: [{ href: '{event.url}', text: 'View event in PostHog' }],+ secret: false,+ required: false,+ },+ ],+}diff --git a/nodejs/src/cdp/templates/index.ts b/nodejs/src/cdp/templates/index.tsindex 8799346e970b..0c09192a5101 100644--- a/nodejs/src/cdp/templates/index.ts+++ b/nodejs/src/cdp/templates/index.ts@@ -21,6 +21,7 @@ import { template as metaAdsTemplate } from './_destinations/meta_ads/meta.templimport { template as microsoftAdsTemplate } from './_destinations/microsoft_ads/microsoft.template'import { template as nativeWebhookTemplate } from './_destinations/native_webhook/webhook.template'import { template as openaiAdsTemplate } from './_destinations/openai_ads/openai.template'+import { template as pagerdutyTemplate } from './_destinations/pagerduty/pagerduty.template'import { template as posthogCaptureTemplate } from './_destinations/posthog_capture/posthog-capture.template'import { template as posthogGroupIdentifyTemplate } from './_destinations/posthog_capture/posthog-group-identify.template'import { template as posthogUpdatePersonPropertiesTemplate } from './_destinations/posthog_capture/posthog-update-person-properties.template'@@ -79,6 +80,7 @@ export const HOG_FUNCTION_TEMPLATES_COMING_SOON: HogFunctionTemplate[] = allComiexport const HOG_FUNCTION_TEMPLATES_DESTINATIONS: HogFunctionTemplate[] = [slackTemplate,webhookTemplate,+ pagerdutyTemplate,tiktokAdsTemplate,snapchatAdsTemplate,linearTemplate,diff --git a/nodejs/tests/fixtures/hog-bytecode/0ca8f3a836dc8dba4242d657979dec4231c84780d16213ccfa24ee89a4c17df7.json b/nodejs/tests/fixtures/hog-bytecode/0ca8f3a836dc8dba4242d657979dec4231c84780d16213ccfa24ee89a4c17df7.jsonnew file mode 100644index 000000000000..17371b3b5002--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/0ca8f3a836dc8dba4242d657979dec4231c84780d16213ccfa24ee89a4c17df7.json@@ -0,0 +1 @@+["_H",1,32,"Log alert Checkout errors is firing",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/27e1a2a5eac0250780f5ea3fe551802361388292be8819e26110b76c77ec0289.json b/nodejs/tests/fixtures/hog-bytecode/27e1a2a5eac0250780f5ea3fe551802361388292be8819e26110b76c77ec0289.jsonnew file mode 100644index 000000000000..e0dcc5e68ad0--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/27e1a2a5eac0250780f5ea3fe551802361388292be8819e26110b76c77ec0289.json@@ -0,0 +1 @@+["_H",1,32,"firing",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/29410978eaecb68b79f905e35f389b1985addec1cfeb47ec33eb2269603ff710.json b/nodejs/tests/fixtures/hog-bytecode/29410978eaecb68b79f905e35f389b1985addec1cfeb47ec33eb2269603ff710.jsonnew file mode 100644index 000000000000..2e8204edde8c--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/29410978eaecb68b79f905e35f389b1985addec1cfeb47ec33eb2269603ff710.json@@ -0,0 +1 @@+["_H",1,32,"abcdef0123456789abcdef0123456789",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/50f30a238769730577b78ddc99bab38adaf3a63934d0ba0a2c1bfb1251fc7174.json b/nodejs/tests/fixtures/hog-bytecode/50f30a238769730577b78ddc99bab38adaf3a63934d0ba0a2c1bfb1251fc7174.jsonnew file mode 100644index 000000000000..2f94ca2b2087--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/50f30a238769730577b78ddc99bab38adaf3a63934d0ba0a2c1bfb1251fc7174.json@@ -0,0 +1 @@+["_H",1,32,"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/5e64e5e71c933ffd8a73e72ae0b98a0b6262362a25c6706102fb5b28e529f832.json b/nodejs/tests/fixtures/hog-bytecode/5e64e5e71c933ffd8a73e72ae0b98a0b6262362a25c6706102fb5b28e529f832.jsonnew file mode 100644index 000000000000..65e4fd3a917a--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/5e64e5e71c933ffd8a73e72ae0b98a0b6262362a25c6706102fb5b28e529f832.json@@ -0,0 +1 @@+["_H",1,32,"posthog-alert-1",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/755ee86251a6c49b5e51dab9461527714a4b22798bde6b5145e341dcc4ae934e.json b/nodejs/tests/fixtures/hog-bytecode/755ee86251a6c49b5e51dab9461527714a4b22798bde6b5145e341dcc4ae934e.jsonnew file mode 100644index 000000000000..f11d6cd6a6a5--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/755ee86251a6c49b5e51dab9461527714a4b22798bde6b5145e341dcc4ae934e.json@@ -0,0 +1 @@+["_H",1,32,"acknowledge",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/8345e9b05a6b10077482ec28cc77ac0f43ec7b0e23a2003affc701681b31af8d.json b/nodejs/tests/fixtures/hog-bytecode/8345e9b05a6b10077482ec28cc77ac0f43ec7b0e23a2003affc701681b31af8d.jsonnew file mode 100644index 000000000000..a2a044918e27--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/8345e9b05a6b10077482ec28cc77ac0f43ec7b0e23a2003affc701681b31af8d.json@@ -0,0 +1 @@+["_H",1,32,"https://example.com/alert",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/b6047a7b4bdb4d30abdc117a14aa8b31fc5a932eec5259266f9e82c5fea53d44.json b/nodejs/tests/fixtures/hog-bytecode/b6047a7b4bdb4d30abdc117a14aa8b31fc5a932eec5259266f9e82c5fea53d44.jsonnew file mode 100644index 000000000000..6cc76e453463--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/b6047a7b4bdb4d30abdc117a14aa8b31fc5a932eec5259266f9e82c5fea53d44.json@@ -0,0 +1 @@+["_H",1,32,"trigger",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/b63f3efdb6a1a1b37cfea5b5b79a3b8b4001084ad4072fe5648fe98cfee47ae7.json b/nodejs/tests/fixtures/hog-bytecode/b63f3efdb6a1a1b37cfea5b5b79a3b8b4001084ad4072fe5648fe98cfee47ae7.jsonnew file mode 100644index 000000000000..184abc6a2d42--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/b63f3efdb6a1a1b37cfea5b5b79a3b8b4001084ad4072fe5648fe98cfee47ae7.json@@ -0,0 +1 @@+["_H",1,32,"View alert",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/bf68796e605dd178d1501522d718ba0731d2e424440f4810754691f5bd6dd77b.json b/nodejs/tests/fixtures/hog-bytecode/bf68796e605dd178d1501522d718ba0731d2e424440f4810754691f5bd6dd77b.jsonnew file mode 100644index 000000000000..ba31e27135e7--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/bf68796e605dd178d1501522d718ba0731d2e424440f4810754691f5bd6dd77b.json@@ -0,0 +1 @@+["_H",1,32,"critical",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/c4257f37fe5a7260e52564507a6188811e43696acfe34fca2c4c7364fdeec0aa.json b/nodejs/tests/fixtures/hog-bytecode/c4257f37fe5a7260e52564507a6188811e43696acfe34fca2c4c7364fdeec0aa.jsonnew file mode 100644index 000000000000..cb6db5f94051--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/c4257f37fe5a7260e52564507a6188811e43696acfe34fca2c4c7364fdeec0aa.json@@ -0,0 +1 @@+["_H",1,32,"My project",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/cbd248a422dc2980d0d1f29e41eb1befa83dd4c3835ed7091045496c4734d8ef.json b/nodejs/tests/fixtures/hog-bytecode/cbd248a422dc2980d0d1f29e41eb1befa83dd4c3835ed7091045496c4734d8ef.jsonnew file mode 100644index 000000000000..371a4fc6b3cc--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/cbd248a422dc2980d0d1f29e41eb1befa83dd4c3835ed7091045496c4734d8ef.json@@ -0,0 +1 @@+["_H",1,32,"event_action",32,"inputs",1,2,32,"trigger",32,"acknowledge",32,"resolve",43,3,36,0,2,"has",2,5,40,13,32,"Unsupported event action \"",36,0,32,"\". Use trigger, acknowledge or resolve.",2,"concat",3,2,"Error",1,49,32,"routing_key",32,"routing_key",32,"inputs",1,2,32,"event_action",36,0,42,2,32,"dedup_key",32,"inputs",1,2,2,"notEmpty",1,40,11,36,1,32,"dedup_key",32,"dedup_key",32,"inputs",1,2,46,32,"trigger",36,0,11,40,163,32,"severity",32,"inputs",1,2,32,"critical",32,"error",32,"warning",32,"info",43,4,36,2,2,"has",2,5,40,4,32,"error",37,2,32,"summary",32,"summary",32,"inputs",1,2,33,1,33,1024,2,"substring",3,32,"source",32,"source",32,"inputs",1,2,32,"severity",36,2,42,3,32,"component",32,"inputs",1,2,2,"notEmpty",1,40,11,36,3,32,"component",32,"component",32,"inputs",1,2,46,32,"event_class",32,"inputs",1,2,2,"notEmpty",1,40,11,36,3,32,"class",32,"event_class",32,"inputs",1,2,46,32,"custom_details",32,"inputs",1,2,2,"notEmpty",1,40,11,36,3,32,"custom_details",32,"custom_details",32,"inputs",1,2,46,36,1,32,"payload",36,3,46,36,1,32,"client",32,"PostHog",46,32,"links",32,"inputs",1,2,2,"notEmpty",1,40,11,36,1,32,"links",32,"links",32,"inputs",1,2,46,35,35,39,24,32,"dedup_key",32,"inputs",1,2,2,"empty",1,40,13,32,"A dedup key is required to ",36,0,32," an incident.",2,"concat",3,2,"Error",1,49,32,"https://events.pagerduty.com/v2/enqueue",32,"method",32,"POST",32,"headers",32,"Content-Type",32,"application/json",42,1,32,"body",36,1,42,3,2,"fetch",2,33,200,36,2,32,"status",45,15,33,300,36,2,32,"status",45,14,4,2,40,21,32,"PagerDuty rejected the event: ",36,2,32,"status",45,32,": ",36,2,32,"body",45,2,"concat",4,2,"Error",1,49,35,35,35]diff --git a/nodejs/tests/fixtures/hog-bytecode/d5555e82b76a1a6770ac02d33d78edd50f27a48c559db3495c6dd2a0995bc514.json b/nodejs/tests/fixtures/hog-bytecode/d5555e82b76a1a6770ac02d33d78edd50f27a48c559db3495c6dd2a0995bc514.jsonnew file mode 100644index 000000000000..125c188a209b--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/d5555e82b76a1a6770ac02d33d78edd50f27a48c559db3495c6dd2a0995bc514.json@@ -0,0 +1 @@+["_H",1,32,"page",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/daa7362449dbbc20194417856bbc8d5ced9dac37139097a0a88cc1de20e8dfdb.json b/nodejs/tests/fixtures/hog-bytecode/daa7362449dbbc20194417856bbc8d5ced9dac37139097a0a88cc1de20e8dfdb.jsonnew file mode 100644index 000000000000..596342a498d8--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/daa7362449dbbc20194417856bbc8d5ced9dac37139097a0a88cc1de20e8dfdb.json@@ -0,0 +1 @@+["_H",1,32,"logs alert",38]diff --git a/nodejs/tests/fixtures/hog-bytecode/fbef6758faab2703d19ec2326b6c43ce1fc77b98a27a0fd12fa5391c5addcaba.json b/nodejs/tests/fixtures/hog-bytecode/fbef6758faab2703d19ec2326b6c43ce1fc77b98a27a0fd12fa5391c5addcaba.jsonnew file mode 100644index 000000000000..274486d57220--- /dev/null+++ b/nodejs/tests/fixtures/hog-bytecode/fbef6758faab2703d19ec2326b6c43ce1fc77b98a27a0fd12fa5391c5addcaba.json@@ -0,0 +1 @@+["_H",1,32,"resolve",38]