base_commit stringlengths 40 40 | problem_statement stringlengths 26 4.45k | hints_text stringlengths 0 8.52k | created_at stringlengths 20 20 | instance_id stringlengths 16 18 | repo stringclasses 1
value | version stringclasses 13
values | patch stringlengths 223 160k | pull_number int64 57 2.9k | issue_numbers sequencelengths 1 1 | test_patch stringlengths 365 43.9k | environment_setup_commit stringclasses 13
values |
|---|---|---|---|---|---|---|---|---|---|---|---|
c02196882a336d46c3dd5fcfafeed45ef0a4490e | Implement wasi-keyvalue
An exploratory PR for exploring, apropos of #2447.
| 2024-10-24T23:21:04Z | fermyon__spin-2895 | fermyon/spin | 3.2 | diff --git a/Cargo.lock b/Cargo.lock
index 25d792db42..0e9cf73e06 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7093,6 +7093,7 @@ dependencies = [
"spin-resource-table",
"spin-world",
"tempfile",
+ "thiserror",
"tokio",
"toml 0.8.19",
"tracing",
@@ -7355,6 +7356,7 @@ name = "spin-key-value-azure"
version = ... | 2,895 | [
"2486"
] | diff --git a/crates/factor-key-value/tests/factor_test.rs b/crates/factor-key-value/tests/factor_test.rs
index 83a67700d7..afd62a03f9 100644
--- a/crates/factor-key-value/tests/factor_test.rs
+++ b/crates/factor-key-value/tests/factor_test.rs
@@ -1,6 +1,6 @@
use anyhow::bail;
use spin_core::async_trait;
-use spin_fac... | c02196882a336d46c3dd5fcfafeed45ef0a4490e | |
2a9bf7c57eda9aa42152f016373d3105170b164b | Support wasi-config
WASI is moving wasi-config to phase 3 soon. We should consider moving from the [spin variables](https://github.com/fermyon/spin/blob/main/wit/variables.wit) interface to [WASI config](https://github.com/WebAssembly/wasi-runtime-config).
The main diff is the need to add support for `get-all`
Sp... | 2024-09-27T03:14:37Z | fermyon__spin-2869 | fermyon/spin | 3.2 | diff --git a/Cargo.lock b/Cargo.lock
index dcb490ed1f..7e275d9e29 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7065,6 +7065,7 @@ version = "2.8.0-pre0"
dependencies = [
"anyhow",
"async-trait",
+ "futures",
"spin-locked-app",
"thiserror",
"tokio",
diff --git a/crates/expressions/Cargo.toml b/crates/expressio... | 2,869 | [
"2868"
] | diff --git a/tests/runtime-tests/tests/variables/spin.toml b/tests/runtime-tests/tests/variables/spin.toml
new file mode 100644
index 0000000000..b63cd61ddd
--- /dev/null
+++ b/tests/runtime-tests/tests/variables/spin.toml
@@ -0,0 +1,17 @@
+spin_manifest_version = "1"
+authors = [""]
+description = ""
+name = "variable... | c02196882a336d46c3dd5fcfafeed45ef0a4490e | |
6df7262df11bce1046fb838ed2e7b1126c2966c0 | Enable spinning up only a subset of an application's components
## Summary
Say I have an app with 4 components but only want to run 2, I should be able to do the equivalent of `spin up --component "foo" --component "bar"`
## Background
Spin unifies serverless application development. Developers can define disti... | I am working on a SIP for this | 2024-09-12T17:06:00Z | fermyon__spin-2826 | fermyon/spin | 3.2 | diff --git a/Cargo.lock b/Cargo.lock
index 62cf5ab301..9a64364e80 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7006,6 +7006,7 @@ dependencies = [
"futures",
"glob",
"hex",
+ "http 1.1.0",
"http-body-util",
"hyper 1.4.1",
"hyper-util",
@@ -7032,6 +7033,7 @@ dependencies = [
"spin-common",
"spin-doctor",
... | 2,826 | [
"2820"
] | diff --git a/tests/integration.rs b/tests/integration.rs
index 6cbf43cfc6..4b14a1e8a9 100644
--- a/tests/integration.rs
+++ b/tests/integration.rs
@@ -348,12 +348,7 @@ mod integration_tests {
},
)?;
- let expected = r#"Error: Couldn't find trigger executor for local app "spin.toml"
-
-Cau... | c02196882a336d46c3dd5fcfafeed45ef0a4490e |
09de9c38f6c9ca280020cd9afd5eb655651b8766 | Swift and Grain Templates Tests Not Working
After the Factors work the Swift and Grain templates have stopped working:
## Swift
When the `http_swift_template_smoke_test` test is run, the following error appears:
```
Error: preparing wasm "/tmp/t68d4-a/main.wasm"
Caused by:
This Wasm module appears t... | The Grain issue appears to be a missing newline between the header and the body, which reproduces under `wasmtime run`.
A newer versions of Grain (0.6.6) fixes the newline issue but has an exciting new problem: it emits duplicate imports which are permitted in core wasm modules but forbidden in component model modules.... | 2024-08-29T21:22:47Z | fermyon__spin-2789 | fermyon/spin | 3.2 | diff --git a/crates/templates/src/manager.rs b/crates/templates/src/manager.rs
index 4ddc7271cd..2ef5abfebb 100644
--- a/crates/templates/src/manager.rs
+++ b/crates/templates/src/manager.rs
@@ -566,7 +566,7 @@ mod tests {
}
}
- const TPLS_IN_THIS: usize = 12;
+ const TPLS_IN_THIS: usize = 11;
... | 2,789 | [
"2774"
] | diff --git a/tests/integration.rs b/tests/integration.rs
index c09e241d3f..6cbf43cfc6 100644
--- a/tests/integration.rs
+++ b/tests/integration.rs
@@ -628,7 +628,6 @@ Caused by:
#[test]
#[cfg(target_arch = "x86_64")]
#[cfg(feature = "extern-dependencies-tests")]
- #[ignore = "https://github.com/fermyo... | c02196882a336d46c3dd5fcfafeed45ef0a4490e |
c02b44135364b6aab5f427a2697cfa347042c0af | Format toml in CI
I'd like us to add a toml formatter to CI. It'd be nice to not have to deal with formatting or alphabetical sorting in our `Cargo.toml`'s.
| This is as standard as it gets right now afaict: https://github.com/tamasfe/taplo
cc @rylev | 2024-08-26T21:17:10Z | fermyon__spin-2767 | fermyon/spin | 3.2 | diff --git a/.cargo/config.toml b/.cargo/config.toml
index c390ab08e0..00b96c3e8b 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,11 +1,11 @@
[net]
- git-fetch-with-cli = true
+git-fetch-with-cli = true
[target.aarch64-unknown-linux-gnu]
- rustflags = ["-C", "target-feature=+fp16"]
+rustflags =... | 2,767 | [
"2766"
] | diff --git a/crates/ui-testing/Cargo.toml b/crates/ui-testing/Cargo.toml
index ad0d9021be..ad2a7316ae 100644
--- a/crates/ui-testing/Cargo.toml
+++ b/crates/ui-testing/Cargo.toml
@@ -9,4 +9,4 @@ anyhow = "1.0"
dirs = "4.0"
libtest-mimic = "0.6.1"
snapbox = "0.4.12"
-tokio = { version = "1", features = ["macros", "rt... | c02196882a336d46c3dd5fcfafeed45ef0a4490e |
2d709df2d87ec1efd11a7052df6135e4ea29a7be | Abstract pg client type in factor-outbound-pg
This is followup work to #2632
| 2024-07-15T21:05:43Z | fermyon__spin-2651 | fermyon/spin | 3.2 | diff --git a/Cargo.lock b/Cargo.lock
index 891e4802c9..f2cae7b546 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -7615,7 +7615,6 @@ dependencies = [
"spin-core",
"spin-factor-outbound-networking",
"spin-factor-variables",
- "spin-factor-wasi",
"spin-factors",
"spin-factors-test",
"spin-world",
diff --git a/cra... | 2,651 | [
"2649"
] | diff --git a/crates/factor-outbound-pg/tests/factor_test.rs b/crates/factor-outbound-pg/tests/factor_test.rs
index 4f2f788521..07f47cc0c0 100644
--- a/crates/factor-outbound-pg/tests/factor_test.rs
+++ b/crates/factor-outbound-pg/tests/factor_test.rs
@@ -1,39 +1,48 @@
-use anyhow::bail;
+use anyhow::{bail, Result};
us... | c02196882a336d46c3dd5fcfafeed45ef0a4490e | |
aedc2b8ccc65f41615fa7beb3e427843dd782114 | Support overriding the "Spin data dir" via env var
The Spin "data dir" (e.g. `~/.local/share`) is used as the root for plugin and template state. We have a request (part of #2555) to make this customizable to aid integration with other development tooling.
The data dir is constructed here: https://github.com/fermyon... | 2024-06-17T03:01:45Z | fermyon__spin-2568 | fermyon/spin | 3.2 | diff --git a/crates/common/src/data_dir.rs b/crates/common/src/data_dir.rs
index 1d6fc8a496..e5f1a05349 100644
--- a/crates/common/src/data_dir.rs
+++ b/crates/common/src/data_dir.rs
@@ -4,7 +4,10 @@ use anyhow::{anyhow, Result};
use std::path::{Path, PathBuf};
/// Return the default data directory for Spin
-pub fn... | 2,568 | [
"2563"
] | diff --git a/tests/integration.rs b/tests/integration.rs
index f0841cab35..210a8440ae 100644
--- a/tests/integration.rs
+++ b/tests/integration.rs
@@ -903,7 +903,7 @@ route = "/..."
"--yes",
])
// Ensure that spin installs the plugins into the temporary directory
- ... | c02196882a336d46c3dd5fcfafeed45ef0a4490e | |
4f63686c1ce2432306279b11deb28bb183e2eb50 | "Unknown lint: `clippy::blocks_in_conditions`" warning when clippying Spin source
The `clippy::blocks_in_conditions` lint causes an "unknown lint" warning on Rust 1.75. Looking at the linked issue it was maybe introduced in 1.76? The MSRV of Spin is 1.74. Are we happy to rev that to 1.76, or are we okay to ignore th... | > since the only reason we mention the lint is a bug that will hopefully get fixed soon
@itowlson can you link to the bug? Or not yet tracked? At first take, I'd be inclined to keep Spin at 1.74 and fix the bug.
@vdice https://github.com/rust-lang/rust-clippy/issues/12281 (ref: https://github.com/fermyon/spin/blob/a... | 2024-05-06T22:38:55Z | fermyon__spin-2491 | fermyon/spin | 3.2 | diff --git a/.cargo/config b/.cargo/config.toml
similarity index 100%
rename from .cargo/config
rename to .cargo/config.toml
diff --git a/crates/http/src/wagi/mod.rs b/crates/http/src/wagi/mod.rs
index bbb021dc93..6f93971767 100644
--- a/crates/http/src/wagi/mod.rs
+++ b/crates/http/src/wagi/mod.rs
@@ -184,13 +184,13 @... | 2,491 | [
"2424"
] | diff --git a/tests/testcases/mod.rs b/tests/testcases/mod.rs
index 4ebd2338bb..12eae3c469 100644
--- a/tests/testcases/mod.rs
+++ b/tests/testcases/mod.rs
@@ -345,11 +345,11 @@ pub fn bootstrap_smoke_test(
let mut custom_path = value.to_owned();
if value.starts_with('.') {
let... | c02196882a336d46c3dd5fcfafeed45ef0a4490e |
72cc02514e3506ddda357d03d2d060d8ad08f2b1 | "Allow for more granular route matching in Spin\nCurrently, the route matching in spin can be of two(...TRUNCATED) | "I'm not necessarily opposed to this but just want to note that V2 manifests help with a workaround (...TRUNCATED) | 2024-04-22T03:53:13Z | fermyon__spin-2464 | fermyon/spin | 3.2 | "diff --git a/Cargo.lock b/Cargo.lock\nindex 3242c114aa..d8b01f0cf2 100644\n--- a/Cargo.lock\n+++ b/(...TRUNCATED) | 2,464 | [
"1923"
] | "diff --git a/tests/integration.rs b/tests/integration.rs\nindex 9e30952a35..1a4fe2acbe 100644\n--- (...TRUNCATED) | c02196882a336d46c3dd5fcfafeed45ef0a4490e |
d6b9713c311208a250185f326987f3dcf651517c | "In `component.files`, mapping a single file to `/` gives an unhelpful error\nThe `component.files` (...TRUNCATED) | 2024-04-17T02:05:18Z | fermyon__spin-2460 | fermyon/spin | 3.2 | "diff --git a/crates/loader/src/local.rs b/crates/loader/src/local.rs\nindex f9d019c737..c6e122ab94 (...TRUNCATED) | 2,460 | [
"2361"
] | "diff --git a/crates/loader/tests/file-errors/bad.toml b/crates/loader/tests/file-errors/bad.toml\nn(...TRUNCATED) | c02196882a336d46c3dd5fcfafeed45ef0a4490e |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 6