Skip to content

Instantly share code, notes, and snippets.

@cereum
cereum / README.md
Last active October 31, 2026 15:43
Temporal TypeScript SDK as a bun build --compile executable: minimal repro for temporalio/sdk-typescript#2627

Temporal TypeScript SDK as a bun build --compile executable

Minimal repro for temporalio/sdk-typescript#2627. @temporalio/worker 1.25.0, Bun 1.4.4.

main.ts starts a worker, runs an activity-backed workflow, then a workflow that throws, and prints the first stack frame of the failure. run.sh compiles it, copies the executable to an empty directory, hides node_modules and runs it there, so nothing resolves through the build checkout.

bun install
temporal server start-dev            # separate terminal
sh run.sh # SDK as published: fails to compile
@cereum
cereum / AAPL.sol
Created August 24, 2020 14:46
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.6+commit.6c089d02.js&optimize=false&gist=
/** This example code is designed to quickly deploy an example contract using Remix.
* If you have never used Remix, try our example walkthrough: https://docs.chain.link/docs/example-walkthrough
* You will need testnet ETH and LINK.
* - Ropsten ETH faucet: https://faucet.ropsten.be/
* - Ropsten LINK faucet: https://ropsten.chain.link/
*/
pragma solidity ^0.6.0;
import "https://raw.githubusercontent.com/smartcontractkit/chainlink/develop/evm-contracts/src/v0.6/ChainlinkClient.sol";