Skip to content

test: add some tests for http.post#950

Merged
thesayyn merged 1 commit intomainfrom
axel-f-axl-tests
Feb 28, 2026
Merged

test: add some tests for http.post#950
thesayyn merged 1 commit intomainfrom
axel-f-axl-tests

Conversation

@thesayyn
Copy link
Member

Add some tests for http.post

Changes are visible to end-users: no

Test plan

  • New test cases added

@thesayyn thesayyn changed the title Axel f axl tests test: add some tests for http.post Feb 28, 2026
Tests for the ctx.http().get() API introduced in the axel-f branch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@thesayyn thesayyn merged commit 5330c7b into main Feb 28, 2026
2 checks passed
@thesayyn thesayyn deleted the axel-f-axl-tests branch February 28, 2026 00:19
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7d9c4ac0e6

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -261,11 +263,11 @@ impl DiskStore {
let dep_path = self.dep_path(dep.name());

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Stabilize module ordering before collecting use_config roots

expand_store iterates all.values() directly, but that order is later used to build module_configs and apply use_config functions in sequence (main.rs loops module_configs and appends to scoped_configs). Because HashMap iteration order is process-randomized, two dependencies that both write the same fragment/task settings can win in different orders across runs, producing nondeterministic command behavior and flaky CI outcomes. Sort deps (for example by module name) before pushing into module_roots.

Useful? React with 👍 / 👎.

Comment on lines +181 to +183
"list" => {
let items: Vec<Value<'v>> = value.iterate(heap)?.collect();
Ok(heap.alloc(AllocList(items)))

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Recursively clone mutable fragment default values

This helper only copies the outer list/dict container, so nested mutable defaults are still shared across fragment instances. For example, attr(list[list[str]], [[]]) produces a new outer list but reuses the same inner list object, so mutating one instance leaks into others. That contradicts the documented deep-copy behavior and can cause cross-task configuration bleed.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant