an atomdrift project

Evidence

Text contains curl piped to sh Dockerfile · lines 1–15
1# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.241.1/containers/go/.devcontainer/base.Dockerfile
2
3# [Choice] Go version (use -bullseye variants on local arm64/Apple Silicon): 1, 1.18, 1.17, 1-bullseye, 1.18-bullseye, 1.17-bullseye, 1-buster, 1.18-buster, 1.17-buster
4ARG VARIANT="1.18-bullseye"
5FROM mcr.microsoft.com/vscode/devcontainers/go:0-${VARIANT}
6
7# Additional OS packages
8RUN echo 'deb [trusted=yes] https://repo.goreleaser.com/apt/ /' | sudo tee /etc/apt/sources.list.d/goreleaser.list \
9 && apt-get update && export DEBIAN_FRONTEND=noninteractive \
10 && apt-get -y install --no-install-recommends curl build-essential goreleaser
11
12# Non-apt installs for user (go, Node, etc)
13USER vscode
14RUN go install cuelang.org/go/cmd/cue@latest
15RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v2.1.2
Dev Container lifecycle command present devcontainer.json · lines 1–48
⋯11 lines
12 }
13 },
14 "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
15
16 // Configure tool-specific properties.
⋯22 lines
39 // "forwardPorts": [],
40
41 // Use 'postCreateCommand' to run commands after the container is created.
42 // "postCreateCommand": "go version",
43
44 // Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
⋯4 lines
At least four Markdown-style heading lines copilot-instructions.md · lines 1–8
1# Copilot Instructions for Inngest
2
3This document provides guidance for GitHub Copilot when working with the Inngest codebase.
4
5## Project Overview
6
7Inngest is a durable functions platform that replaces queues, state management, and scheduling. The repository contains:
8- **Go Backend**: The core Inngest server, CLI, and execut …
Security guidance section heading copilot-instructions.md · lines 212–220
212:14… c Go test
213go test ./pkg/execution -run TestFunctionName -v
214```
215
216## Security Considerations
217
218- Never commit secrets or credentials
219- Use environment variables for sensitive configuration
220- UI uses pnpm with `minimum-releas …
imports adm-zip postinstall.ts · lines 1–42
1#!/usr/bin/env node
2import AdmZip from "adm-zip";
3import Debug from "debug";
4import fetch, { Response } from "node-fetch";
5import path from "path";
6import * as tar from "tar";
7import { URL } from "url";
8import packageJson from "./package.json";
9
10const rootDebug = Debug("inngest:cli");
11
12/**
13 * A map of Node's `process.arch` to Golang's `$GOARCH` equivalent.
14 */
15const archMap: Partial<Record<typeof process.arch, string>> = {
16 arm64: "arm64",
17 x64: "amd64",
18};
19
20/**
21 * Known extensions that we package our binaries with.
22 *
23 * In an enum so that we can be type-safe with Record<> and ensure we're always
24 * handling any extensions we add here.
25 */
26enum KnownExtension {
27 Tar = ".tar.gz",
28 Zip = ".zip",
29}
30
31/**
32 * A map of Node's `process.platform` to Golang's `$GOOS` equivalent and the
33 * extension of the packaged binary we provide.
34 */
35const platformMap: Partial<
36 Record<
37 typeof process.platform,
38 { platform: string; extension: KnownExtension }
39 >
40> = {
41 linux: { platform: "linux", extension: KnownExtension.Tar },
42 darwin: { platform: "d …

Showing the top 5 files — 5 more files (60 regions) not shown.

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.